From d5ebe6ca7e44091f9d54811bdd6ad343122711bd Mon Sep 17 00:00:00 2001 From: kevinhappy Date: Wed, 9 Oct 2024 11:30:48 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EB=8F=99=EC=84=B1=EA=B3=B5(=EA=B0=80?= =?UTF-8?q?=EC=83=81Device)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-a-parked-app/end/gradle/libs.versions.toml | 2 +- .../end/gradle/wrapper/gradle-wrapper.properties | 2 +- build-a-parked-app/end/local.properties | 4 ++-- car-app-library-fundamentals/start/app/build.gradle | 7 +++++-- .../app/src/main/java/com/example/places/MainActivity.kt | 9 +++++++++ car-app-library-fundamentals/start/build.gradle | 1 + 6 files changed, 19 insertions(+), 6 deletions(-) diff --git a/build-a-parked-app/end/gradle/libs.versions.toml b/build-a-parked-app/end/gradle/libs.versions.toml index aa553f7..df91298 100644 --- a/build-a-parked-app/end/gradle/libs.versions.toml +++ b/build-a-parked-app/end/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -agp = "8.4.0" +agp = "8.5.1" kotlin = "1.9.0" coreKtx = "1.13.1" junit = "4.13.2" diff --git a/build-a-parked-app/end/gradle/wrapper/gradle-wrapper.properties b/build-a-parked-app/end/gradle/wrapper/gradle-wrapper.properties index dae5430..ca3bad2 100644 --- a/build-a-parked-app/end/gradle/wrapper/gradle-wrapper.properties +++ b/build-a-parked-app/end/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Mon Mar 11 15:18:05 EDT 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/build-a-parked-app/end/local.properties b/build-a-parked-app/end/local.properties index 05bae9e..136248f 100644 --- a/build-a-parked-app/end/local.properties +++ b/build-a-parked-app/end/local.properties @@ -4,5 +4,5 @@ # Location of the SDK. This is only used by Gradle. # For customization when using a Version Control System, please read the # header note. -#Mon Mar 25 12:45:45 EDT 2024 -sdk.dir=/Users/bsagmoe/Library/Android/sdk +#Sun Sep 29 20:38:31 KST 2024 +sdk.dir=C\:\\Users\\kevin\\AppData\\Local\\Android\\Sdk diff --git a/car-app-library-fundamentals/start/app/build.gradle b/car-app-library-fundamentals/start/app/build.gradle index 17994a8..507992b 100644 --- a/car-app-library-fundamentals/start/app/build.gradle +++ b/car-app-library-fundamentals/start/app/build.gradle @@ -76,7 +76,10 @@ dependencies { testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' - androidTestImplementation "androidx.compose.ui:ui-test-junit4" + /* androidTestImplementation "androidx.compose.ui:ui-test-junit4" debugImplementation "androidx.compose.ui:ui-tooling" - debugImplementation "androidx.compose.ui:ui-test-manifest" + debugImplementation "androidx.compose.ui:ui-test-manifest"*/ + androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version" //try05 + debugImplementation "androidx.compose.ui:ui-tooling:$compose_version" + debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version" } \ No newline at end of file diff --git a/car-app-library-fundamentals/start/app/src/main/java/com/example/places/MainActivity.kt b/car-app-library-fundamentals/start/app/src/main/java/com/example/places/MainActivity.kt index a033e80..b754a4a 100644 --- a/car-app-library-fundamentals/start/app/src/main/java/com/example/places/MainActivity.kt +++ b/car-app-library-fundamentals/start/app/src/main/java/com/example/places/MainActivity.kt @@ -16,6 +16,15 @@ package com.example.places +/* +try05 : https://developer.android.com/codelabs/car-app-library-fundamentals 와 https://thinking-face.tistory.com/383 +Could not find androidx.compose.ui:ui-test-junit4:. +Required by: +project :app +처음 구동 한번은 됐음. +에서 제공하는 car-app-library-fundamentals/start 폴더의 Project를 Rebuild하는데 Grale Sync issues에서 계속 위 에러가 발생하고 있는데, 해결 방법을 알려줘 +*/ + import android.content.Intent import android.os.Bundle import androidx.activity.ComponentActivity diff --git a/car-app-library-fundamentals/start/build.gradle b/car-app-library-fundamentals/start/build.gradle index fb3e6d9..14f8203 100644 --- a/car-app-library-fundamentals/start/build.gradle +++ b/car-app-library-fundamentals/start/build.gradle @@ -17,6 +17,7 @@ buildscript { ext { compose_bom = '2023.04.01' + compose_version = '1.4.2' //try05 } }