google-developer-training / android-basics-kotlin-mars-photos-app

Apache License 2.0
92 stars 193 forks source link

Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! #125

Closed jh115424 closed 10 months ago

jh115424 commented 2 years ago

name: Android Basics Unit 4 issue about: Report problems with the Android Basics Unit 4 codelabs title: 'Android Basics Unit 4 issue:' labels: '' assignees: ''


URL of codelab

In which task and step of the codelab can this issue be found?

Describe the problem CANNOT FIND UPDATED GRADLE LINE. THE ONES IN GOT HUB ARE 4 MONTHS OLD AND NOT CORRECT ANYMORE!

THIS IS THE ONE LINE I COULD NOT UPDATE.

implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

Steps to reproduce?

  1. Go to...
  2. Click on...
  3. See error...

Versions Android Studio version: API version of the emulator:

Additional information Include screenshots if they would be useful in clarifying the problem.

spamshot commented 2 years ago

This should be in your build.gradle (Project:name) all the way at the top maybe about line 17 in buildscript. your looking for kotlin_version = "1.6.20" screenshot0001

jh115424 commented 2 years ago

Ah! Thanks so much!

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:5d71e744-55d7-412e-abca-8ac94779a8a3]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 8:09 AM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

This should be in your build.gradle (Project:name) all the way at the top maybe about line 17 in buildscript. your looking for kotlin_version = "1.5.30" [screenshot0001]https://user-images.githubusercontent.com/3164403/162442115-c7c341d1-458d-46c6-8a32-438fea8d51bc.png

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1092842637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3GG4FX64DU7SZUIXRLVEAVZXANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.

jh115424 commented 2 years ago

ok, I put it in there but I get a red line at the end.

Screen shots below!

Screen Shot 2022-04-08 at 8 26 15 AM Screen Shot 2022-04-02 at 7 21 07 AM
spamshot commented 2 years ago

You have a type-o. you started with " but ended with ' change the end to " Untitled

jh115424 commented 2 years ago

AH! Yes, your right....thanks!

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:3cf4daf7-16d1-4558-a18b-1ca2d8fc8aff]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 9:41 AM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

You have a type-o. you started with " but ended with ' change the end to " [Untitled]https://user-images.githubusercontent.com/3164403/162460337-f0f7b126-cea5-4dd8-9b53-48965886833d.png

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1092934777, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3HNYPEZJUK6EYW2GYDVEBAQTANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.

jh115424 commented 2 years ago

can I see a screenshot of your gradles in the project app?

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:8da1863c-7a07-4ed2-b444-a7a926b9edc1]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 9:41 AM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

You have a type-o. you started with " but ended with ' change the end to " [Untitled]https://user-images.githubusercontent.com/3164403/162460337-f0f7b126-cea5-4dd8-9b53-48965886833d.png

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1092934777, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3HNYPEZJUK6EYW2GYDVEBAQTANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.

jh115424 commented 2 years ago

ok, I did that.

It did not work.

Screen shot in Github

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:2734b6d4-9153-4a96-9d68-ba874a9a5080]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 9:41 AM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

You have a type-o. you started with " but ended with ' change the end to " [Untitled]https://user-images.githubusercontent.com/3164403/162460337-f0f7b126-cea5-4dd8-9b53-48965886833d.png

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1092934777, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3HNYPEZJUK6EYW2GYDVEBAQTANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.

jh115424 commented 2 years ago

ok, when I tried to sync the grades, a different issue came up....

Screen Shot 2022-04-08 at 12 01 29 PM

It says the plugins are not found.

spamshot commented 2 years ago

How far are you in the marsPhotos app. if you just started re-download the mars zip and just update the files. or just try coping my code

plugins {
    id 'com.android.application'
    id 'kotlin-android'
    id 'kotlin-kapt'
}
dependencies {
    implementation 'androidx.appcompat:appcompat:1.4.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
    implementation 'androidx.core:core-ktx:1.7.0'

    //Navigation
    implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
    implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'

    implementation 'com.google.android.material:material:1.5.0'

    // Moshi
    implementation 'com.squareup.moshi:moshi-kotlin:1.9.3'

    // Retrofit with Moshi Converter
    implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'

    // Coil
    implementation "io.coil-kt:coil:1.1.1"

}

Then inside the build.gradle Project

buildscript {
    ext {
        // Versions for all the dependencies we plan to use. It's particularly useful for kotlin
        // where the versions of the plugin needs to be the same as the version of the
        // library defined in the app Gradle file
        kotlin_version = "1.6.20"
    }

Then run the Migrations

jh115424 commented 2 years ago

thanks so much!

I am just starting it.

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:ce0487a2-9ec8-404f-a4c0-064da1e93bba]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 12:45 PM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

How far are you in the marsPhotos app. if you just started re-download the mars zip and just update the files. or just try coping my code

plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' }

dependencies { implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'androidx.constraintlayout:constraintlayout:2.1.3' implementation 'androidx.core:core-ktx:1.7.0'

//Navigation
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2'
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2'

implementation 'com.google.android.material:material:1.5.0'

// Moshi
implementation 'com.squareup.moshi:moshi-kotlin:1.9.3'

// Retrofit with Moshi Converter
implementation 'com.squareup.retrofit2:converter-moshi:2.9.0'

// Coil
implementation "io.coil-kt:coil:1.1.1"

}

Then inside the build.gradle Project

buildscript { ext { // Versions for all the dependencies we plan to use. It's particularly useful for kotlin // where the versions of the plugin needs to be the same as the version of the // library defined in the app Gradle file kotlin_version = "1.6.20" }

Then run the Migrations

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1093129771, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3GJZ73K6ZMPUQOHTV3VEBWERANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.

osuleymanova commented 2 years ago

@jh115424 Are you still facing the errors? Please let us know and provide the screenshots so we could help you with troubleshooting.

jh115424 commented 2 years ago

I sent a comment in Github of an error line

Jennifer Hodge

Internet Sales

414-586-5425

Russ Darrow Honda

[cid:9635361f-3755-41ac-8715-3e86cd9b3a57]https://your.tradeinvalet.com/tdhe0j


From: kylan .H @.> Sent: Friday, April 8, 2022 8:09 AM To: google-developer-training/android-basics-kotlin-mars-photos-app @.> Cc: Jennifer Hodge @.>; Author @.> Subject: Re: [google-developer-training/android-basics-kotlin-mars-photos-app] Android Basics: Get data from the Internet/ CANNOT FIND UPDATE GRADLE LINE! (Issue #125)

CAUTION: External Sender

This should be in your build.gradle (Project:name) all the way at the top maybe about line 17 in buildscript. your looking for kotlin_version = "1.5.30" [screenshot0001]https://user-images.githubusercontent.com/3164403/162442115-c7c341d1-458d-46c6-8a32-438fea8d51bc.png

— Reply to this email directly, view it on GitHubhttps://github.com/google-developer-training/android-basics-kotlin-mars-photos-app/issues/125#issuecomment-1092842637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXNC3GG4FX64DU7SZUIXRLVEAVZXANCNFSM5SBTLCTA. You are receiving this because you authored the thread.Message ID: @.***>

CONFIDENTIALITY NOTICE: This electronic mail transmission and any attachments are confidential and may be privileged. They should be read or retained only by the intended recipient. If you have received this transmission in error, please notify the sender immediately and delete the transmission from your system.