[kotlin]MacOS Big Sur Kotlin could not find the required JDK tools in the Java installation해결방법
assembleRelease 할려고 하는데 ..
안된다??
예전에는 문제가 없었는데. mac 업뎃 이후에 생긴 문제란다..
터미널에서
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencesPanes/JavaControlPanel.prefPane
sudo rm -fr ~/Library/Application\ Support/Oracle/Java
3가지 실행 후, android studio rebuild 하고 다시 assembleRelease하면 재빌드 된다..
Kotlin could not find the required JDK tools in the Java installation
When running ./gradlew clean build I get following message: > Task :compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileKotlin'...
stackoverflow.com
'android,kotlin' 카테고리의 다른 글
[android]Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories (0) | 2022.06.27 |
---|---|
[android]구글플레이 내부 앱 공유 사용 중지됨 issue해결방법 (0) | 2022.05.09 |
[kotlin]fragment data 주고 받는 방법 (0) | 2022.03.24 |
[kotlin]VideoView menu 없애는 하는방법 (0) | 2022.03.18 |
[android]string 요소 콘텐츠는 올바른 형식의 문자 데이터 또는 마크업으로 구성되어야 합니다 '<' 해결방법 (0) | 2022.03.16 |