Unable to build app in verify configuration of your android device

The error presented is in 'build app', saying in red "No matchin files were found." I have completed the steps successfully prior to reaching this page, where I have downloaded Android studio, provided an address to my sdk, enabled debugging and developer options on my phone, downloaded the support package for samsung (since I am using a samsung phone). I don't know what could be the issue. I am using version 2018b, I had even tried using 2020a and that did not help either.

답변 (1개)

Sruthi Yenugula
Sruthi Yenugula 2021년 3월 31일

0 개 추천

Hi Nicolas Bedoya,
for R2018b, Please use Android Studio 4.0.1 from https://developer.android.com/studio/archive, don't update the Android studio after installation.
for 2020a, please install NDK 22 and uninstall NDK 23.

댓글 수: 3

Hi Sruthi,
I have downloaded android studio 4.0.1 while using matlab 2018b and am now receiving the following error within the 'build app' section of 'Install TestApp':
Unexpected error : fcntl(): Bad file descriptor Android NDK: WARNING: APP_PLATFORM android-17 is higher than android:minSdkVersion 1 in C:\Users\nickb\AppData\Local\Temp\tpa29cb740_80f9_461f_96fe_3d8a484f6d23\TestApp\src\main/AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-17. 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 clang++: error: unable to execute command: program not executable clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [C:/Users/nickb/AppData/Local/Android/Sdk/ndk/23.0.7196353/build//../build/core/build-binary.mk:718: C:\Users\nickb\AppData\Local\Temp\tpa29cb740_80f9_461f_96fe_3d8a484f6d23\TestApp\src\main/obj/local/armeabi-v7a/libTestApp.so] Error 1
I
If I am to use matlab 2020a, does it matter what version of android studio I can use?
Hi Nicolas,
We are looking into the 18b issue.
Regarding 2020a, you can use latest Android Studio, but make sure you install NDK 22 rather than 23 as shown in the picture below. If NDK 23 is already installed, please uninstall it.

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

카테고리

도움말 센터File Exchange에서 Setup and Configuration에 대해 자세히 알아보기

질문:

2021년 3월 31일

댓글:

2021년 4월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by