구버전 앱 빌드 시 재설정 필요한 것들
에러 문구
Org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app'.
Could not initialize class com.android.repository.api.RepoManager
> Could not initialize class com.android.repository.api.RepoManager
I am new in Android Studio. After setup, When I am trying to import an application I am getting that error So that gradle not able to build. Error:> Could not initialize class com.android.repos...
stackoverflow.com
compile, runtime, testCompile, testRuntime 은 Gradle 4.10 (2018.8.27) 이후 더이상 사용 안함
Gradle 7.0 (2021.4.9)에서 삭제되었다.
Gradle 7.3.3을 이용시에 그 전 버전 명령어 이용시 오류 반환 아래 표름 참고하여 변경함
Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method compile() for arguments
구 명령어 | 새로운 명령어 |
compile | implementation |
runtime | runtimeOnly |
testCompile | testImplementation, |
testRuntime | testRuntimeOnly |
에러문구
[Android] Manifest merger failed with multiple errors
안드로이드 12 부터는 exported 를 명시적으로 선언해야 한다.
AndroidManifest.xml의 activity와 receiver 항목에 android:exported="true" 속성을 추가해 주었다.
'Android App 개발 > APP 개발 일지' 카테고리의 다른 글
[Android Studio]View Binding (0) | 2022.08.24 |
---|