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 Comment

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

Sign in to comment.

Answers (0)

Products

Release

R2021a

Asked:

on 2 Feb 2022

Commented:

on 17 Feb 2022

Community Treasure Hunt

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

Start Hunting!