Hardware Setup Fails During Configuration of Android Device

14 views (last 30 days)
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 Comments
Matheus Fortunato Alves
Matheus Fortunato Alves on 14 Jul 2023
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 on 1 Aug 2023
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!