Hardware Setup Fails During Configuration of Android Device

조회 수: 3 (최근 30일)
Cihan BAYINDIR
Cihan BAYINDIR 2023년 5월 31일
댓글: Sutanu Maiti 2023년 8월 1일
Dear all,
I have MATLAB R2023a installed on my computer, and Android Studio Arctic Fox Patch 4. When I enter the command 'androidhwsetup' on MATLAB command line, I encounter the following error message during Install TestApp.
I have tried many approaches to avoid this problem. When I copy 'settings.gradle' file into test file named as 'tpe9420..' and click on 'gradlew' test application succesfully compiles. But when I click Install TestApp again a new test file with a different name is generated. When I copy 'settings.gradle' file to the main folder it still do not work. I hope to see a solution to this problem. Thanks in advance.
  댓글 수: 10
Matheus Fortunato Alves
Matheus Fortunato Alves 2023년 7월 14일
Hi Cihan,
I'm also having the same issue when trying to test Simulink Support Package for Android with a simple Camera + display image. Test app runs fine on matlab hwsetup: "Unable to locate build tool "Android Assembler": android".
Were you able to solve it?
Error:Invalid folder name in path 'C:\Users\Fortu\OneDrive\Área de Trabalho\OCC\OCC'. Folder name must not contain spaces or any of these characters & ' $ % = # ;
Caused by:
Validation error(s):
### Validating other build tools ...
Unable to locate build tool "Android Assembler": android
Sutanu Maiti
Sutanu Maiti 2023년 8월 1일
The actual error is:
"Error:Invalid folder name in path 'C:\Users\Fortu\OneDrive\Área de Trabalho\OCC\OCC'. Folder name must not contain spaces or any of these characters & ' $ % = # ;"
The folder "Área de Trabalho" contains space and special character that the make file does not understand.
Can you please build the model in a folder that does not have any of those mentioned above?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Setup and Configuration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by