Error using Simulink Support Package for Android: Unable to locate build tool "Android Assembler": android

4 views (last 30 days)
Hi all,
I'm trying to run the simple Get started with Android Devices program from Simulink Support Package for Android, however I'm gettint following error when trying to run the program:
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
Does anyone know how can I fix that? Do I have to change the file location due to this folder name error?
Also, the Test App from hwsetup of MATLAB for Android executed with no issues.
Thanks,
Matheus

Accepted Answer

Matheus Fortunato Alves
Matheus Fortunato Alves on 14 Jul 2023
After trying some solutions, I've managed to solve the problem using the suggestion from https://www.mathworks.com/matlabcentral/answers/1590659-code-generation-information-file-does-not-exist
Basically you have to set the path from your Mathworks Workspace the same of your Simulink Model file saved.
So in my case MATLAB workspace path was
And I've saved the Simulink .slx file on the same path C:/Teste
And then it works like charm.
Thanks,

More Answers (0)

Community Treasure Hunt

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

Start Hunting!