Problem with simulink android devices setup

Hi, I wanted to install the android package for simulink, however I got this error :
Build App
Unexpected error : Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in C:\Users\*****\AppData\Local\Temp\tp239cc7bd_998f_4ec7_be47_343c95b9c3b8\TestApp\src\main/AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information. [armeabi-v7a] Compile thumb : TestApp <= sum.c [armeabi-v7a] SharedLibrary : libTestApp.so Android (7714059, based on r416183c1) clang version 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee) Target: armv7-none-linux-android21 Thread model: posix InstalledDir: C:/Users/******/AppData/Local/Android/Sdk/ndk/23.1.7779620/build//../toolchains/llvm/prebuilt/windows-x86_64/bin Found
Do you know how to solve it?
thanks.

댓글 수: 1

Can you please have the tools as mentioned in below answer and try?
Make sure you have SDK platform as 30 and NDK 22. * as latest

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Android Devices에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2022년 2월 2일

댓글:

2022년 2월 17일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by