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!