Android Support Package Hardware Setup Failed

Hi,
I am trying to build hardware setup, however, I couldn't verify the Android SDK Tools. I tried both the latest version of the ndk and previously suggested one the version 22. I also installed both build tools version 30 and the latest version. I get the same error in both situations. " Unrecognized method, property, or field 'Ndk_path' for class 'codertarget.android.internal.AndroidStudioWorkflowValidator". Also, running the code "codertarget.android.internal.AndroidStudioWorkflowValidator.getInstance" gives this output:
>> codertarget.android.internal.AndroidStudioWorkflowValidator.getInstance
ans =
AndroidStudioWorkflowValidator with properties:
AndroidStudioPath: 'C:\Program Files\Android\Android Studio'
AndroidSDKPath: 'C:\Users\HAKAN\AppData\Local\Android\sdk'
GradlePath: []
JavaJDKPath: 'C:\Program Files\Android\Android Studio\jre'
NDKPath: []
GradleVersion: '4.4'
GradlePluginVersion: '3.1.0'
CompileSdkVersion: '30'
BuildToolsVersion: '30.0.3'
SupportV4Version: []
AppcompatV7Version: []
DesignVersion: []
Can anyone help me with this problem?

2 Kommentare

Hi Hakan,
May I know which MATLAB version you are using?
You may execute ver command in MATLAB and paste the output here.
You may try uninstalling and installing Android support package from add-on manager once.
Hi Sutanu,
I am using MATLAB 2020b. I tried uninstalling and installing Android support package and it worked! I still don't get how I didn't tried it before. Thank you so much!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2020b

Gefragt:

am 15 Mai 2021

Kommentiert:

am 17 Mai 2021

Community Treasure Hunt

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

Start Hunting!

Translated by