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!