본문 바로가기

Android/Build Error23

[안드로이드] build.gralde dependencies implementation 사용 에러 Android Gradle 플러그인 3.0.0부터 지원 중단된 compile 옵션을 -> implementation 변경 후 GradleScriptException 빌드 에러 발생 build.gralde(app) dependencies { implementation "com.android.support:support-v4:26.1.0" implementation "com.android.support:gridlayout-v7:26.1.0" implementation "com.android.support:cardview-v7:26.1.0" implementation "com.android.support:appcompat-v7:26.1.0" } Build file 'D:\04.Git\sample\SampleC.. 2021. 9. 3.
[안드로이드] uses-sdk:minSdkVersion declared in library 에러 해결 방법 원인 : Android SDK 11 버전에서 지원하지 않은 library 사용 수정 방법 : build.gradle minSdkVersion 변경 (appcompat-v7:26.1.0 경우 min SDK 14로 변경 필요) build.gradle 기존 설정 상태 minSdkVersion 11 에러 로그 Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.android.support:appcompat-v7:26.1.0] C:\Users\sonxx\.gradle\caches\transforms-2\files-2.1\adc235cebbaadf71513bc351b105.. 2021. 9. 3.
[Android] CMake clean 오류 (CreateProcess error=2 지정된 파일을 찾을 수 없습니다) 현상 : CMake사용하는 프로젝트 Android Studio Clean 실행 할 경우 에러 발생 원인 : CMake 경로가 잘못 지정되어 있음. 수정 : .externalNativeBuild 폴더 삭제 1. 에러 메시지 - 아래와 같이 이전에 사용했던 Android SDK 경로를 참조 하고 있음. > C:\Users\json\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe Executing tasks: [clean] in project D:\Works\JsonProject > Task :clean UP-TO-DATE > Task :app:externalNativeBuildCleanDebug FAILED Clean opensl, ffmpeg Clea.. 2021. 6. 29.
[Android] You may need to adjust the proxy settings in Gradle. 빌드 에러 원인 : 안드로이드 프로젝트 최초 생성 후 빌드 할 경우 인터넷에서 다운 받을 라이브러리를 다운받지 못해 에러 발생 수정 : 컴퓨터에 인터넷 연결 후 재빌드 Unknown host 'dl.google.com'. You may need to adjust the proxy settings in Gradle. Learn about configuring HTTP proxies in Gradle Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'. > Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. > Could not.. 2021. 5. 27.