Build app fail during Simulink Android Support Package setup
Ältere Kommentare anzeigen
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 Kommentare
Jiangnan
am 23 Apr. 2023
Jiangnan
am 23 Apr. 2023
Jiangnan
am 23 Apr. 2023
Jiangnan
am 23 Apr. 2023
Jiangnan
am 23 Apr. 2023
Sutanu Maiti
am 28 Apr. 2023
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
am 4 Mai 2023
Antworten (0)
Kategorien
Mehr zu Setup and Configuration finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!