Build app fail during Simulink Android Support Package setup
古いコメントを表示
matlab R2021a


Build App
A problem occurred evaluating root project 'TestApp'. > Failed to apply plugin 'com.android.internal.application'. > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME environment variable. - changing `org.gradle.java.home` in `gradle.properties`. *
I have tried changing Gradle JDK settings in Android Studio, but it has not worked.
7 件のコメント
Jiangnan
2023 年 4 月 23 日
Jiangnan
2023 年 4 月 23 日
Jiangnan
2023 年 4 月 23 日
Jiangnan
2023 年 4 月 23 日
Jiangnan
2023 年 4 月 23 日
Sutanu Maiti
2023 年 4 月 28 日
The jre you have downloaded here: https://in.mathworks.com/matlabcentral/answers/1950308-when-i-install-the-simulink-support-package-for-android-devices-the-software-prompts-unable-to-fin#answer_1221293
is java 1.8. If you can download java 11 that would solve your problem.
Jiangnan
2023 年 5 月 4 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Setup and Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!