蘋果m1 macOS Big Sur系統 flutter配置java環境 Android Studio軟件 Unable to find bundled Java version 問題解決


Android Studio Preview 軟件如果遇到Unable to find bundled Java version問題

就把/Applications/Android Studio Preview.app/Contents/jre/Contents 文件 復制到

/Applications/Android Studio Preview.app/Contents/jre/jdk/Contents

 

jdk文件夾沒有就新建

 

 

flutter/packages/flutter_tools/lib/src/android/android_studio.dart

join(directory, 'jre', 'Contents', 'Home') instead of

join(directory, 'jre', 'jdk', 'Contents', 'Home')

for newest android studio previews (at least on macos).

Workaround for such people: copy folder

/Applications/Android Studio Preview.app/Contents/jre/Contents to

/Applications/Android Studio Preview.app/Contents/jre/jdk/Contents


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM