반응형 Android62 [Android] MAC NDK ANDROID_NDK_HOME build error 원인 : NDK 경로 설정 오류 수정 : local.properties 파일 ndk.dir 경로 수정. sh-3.2# ./gradlew assembleswcodecRelease Location specified by ndk.dir (/Users/json/Library/Android/sdk/ndk) did not contain a valid NDK and and couldn't be used Location specified by ndk.dir (/Users/json/Library/Android/sdk/ndk) did not contain a valid NDK and and couldn't be used FAILURE: Build failed with an exception. * What went wron.. 2021. 4. 9. [Android] ConcurrentModificationException hashmap 해결 방법 원인 : mHashMap 객체를 for문 읽고 있는중 mHashMap 객체가 삭제되는 경우 발생 HashMap mHashMap = new HashMap(); for (Map.Entry map : mHashMap.entrySet()) { delete(map.getKey(), DeleteReason.CLOSE); } 에러 메시지 *** Uncaught remote exception! (Exceptions are not yet supported across processes.) java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:757) at java.ut.. 2021. 4. 8. [Android][Gradle] Could not initialize class org.codehaus.groovy.runtime.InvokerHelper 현재 Android gradle build error 발생 ./gradlew tasks 원인 현재 사용하고 있는 gradle 버전이 jdk를 미지원 자바 버전 확인 할 경우 아래와 같이 15.0.1 설치 되어 있습니다. java -version 해결 Gradle 버전 업데이트 gradlegradle-wrapper.properties 버전 편집 vi gradle/wrapper/gradle-wrapper.properties 5.3 -> 6.3으로 업데이트 #Thu Jan 02 13:51:33 KST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapp.. 2021. 1. 11. [Android][Gradle] Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation. ./gradlew assembleMinApi21Release json@JSonui-MacPro UIMiddleware % ./gradlew assembleMinApi21Release > Task :app:compileMinApi21ReleaseJavaWithJavac FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileMinApi21ReleaseJavaWithJavac'. > Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home .. 2021. 1. 10. 이전 1 ··· 5 6 7 8 9 10 11 ··· 16 다음 반응형