Build app fail during Simulink Android Support Package setup
Mostra commenti meno recenti
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 Commenti
Jiangnan
il 23 Apr 2023
Jiangnan
il 23 Apr 2023
Jiangnan
il 23 Apr 2023
Jiangnan
il 23 Apr 2023
Jiangnan
il 23 Apr 2023
Sutanu Maiti
il 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
il 4 Mag 2023
Risposte (0)
Categorie
Scopri di più su Setup and Configuration in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!