how to solve error "Failed to generate all binary output" in android device simulink?
Show older comments
I want to try an example of Android device simulink on my phone.
But i got this error.

can anyone help?
Accepted Answer
More Answers (1)
Sruthi Yenugula
on 7 May 2019
0 votes
Follow the below steps in the SDK tools page.
In the right corner, there is a checkbox (Show package Details), click that. Now under Android SDK Build-Tools in the same tab, you can uncheck 29.0.0-rc2,29.0.0-rc1 and check 28.0.3, then click apply. Check the attached screenshot for more information
7 Comments
itthipol intaseang
on 7 May 2019
Sruthi Yenugula
on 7 May 2019
After uninstalling the build tools, run Android Hardware setup again(https://www.mathworks.com/help/supportpkg/android/ug/install-support-for-android-devices.html#mw_ce00da2f-bde9-4f39-a69a-a9aaf014dbc0). After that delete the generated project folder and try to build the model.
itthipol intaseang
on 7 May 2019
Sruthi Yenugula
on 8 May 2019
Can you provide the output of the following command(type it in MATLAB command prompt)
codertarget.android.AppBuilder
itthipol intaseang
on 8 May 2019
Sruthi Yenugula
on 8 May 2019
After uninstalling build tools, hardware setup is not done again or the build tools is not uninstalled. I can see still your build tools version is 29.0.0rc2. Please try all the steps or else please contact technical support, they will guide you.
itthipol intaseang
on 8 May 2019
Categories
Find more on Setup and Configuration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!