Build app fail during Simulink Android Support Package setup
Mostrar comentarios más antiguos
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 comentarios
Jiangnan
el 23 de Abr. de 2023
Jiangnan
el 23 de Abr. de 2023
Jiangnan
el 23 de Abr. de 2023
Jiangnan
el 23 de Abr. de 2023
Jiangnan
el 23 de Abr. de 2023
Sutanu Maiti
el 28 de Abr. de 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
el 4 de Mayo de 2023
Respuestas (0)
Categorías
Más información sobre Setup and Configuration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!