Android project directory path name exceeds the 119 character
4 views (last 30 days)
Guilherme Franklin on 11 Jan 2022
I'm trying to run the simple Simulink model found in: https://www.mathworks.com/help/supportpkg/android/ref/getting-started-with-android-devices.html
And I'm getting the following error:
How do I solve?
Walter Roberson on 11 Jan 2022
Quit MATLAB (for the moment)
Rename C:\Users\Guilherme\Documents\MATLAB to a shorter name, such as C:\Users\Guilherme\Documents\ML
Now start MATLAB again. Then
or whatever name you used.
However, this particular rename only gets you 4 characters of leeway. You would be better off creating a new directory such as
and copying C:\Users\Guilherme\Documents\MATLAB into it, and then using userpath() to activate it. Or if you have a separate partition, perhaps something like D:\MATLAB