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 个评论

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!

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Setup and Configuration 的更多信息

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by