Android Support Package Hardware Setup Failed

조회 수: 2 (최근 30일)
Hakan KUTLU
Hakan KUTLU 2021년 5월 15일
댓글: Hakan KUTLU 2021년 5월 17일
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
Sutanu Maiti
Sutanu Maiti 2021년 5월 17일
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.
Hakan KUTLU
Hakan KUTLU 2021년 5월 17일
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개)

카테고리

Help CenterFile 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