how to solve error "Failed to generate all binary output" in android device simulink?

1 view (last 30 days)
I want to try an example of Android device simulink on my phone.
But i got this error.
erro.png
can anyone help?

Accepted Answer

Sruthi Yenugula
Sruthi Yenugula on 7 May 2019
Please note, the Camera block works fine with Android SDK Build Tools 28.0.3. However, if build tool version 29.0.0-rc2 is present then the above issue comes up.
To resolve the issue, you can uninstall build tool 29.0.0-rc2 and install version 28.0.3. After uninstalling, please run Android Hardware setup again. Then try deploying the model to the Android Device.

More Answers (1)

Sruthi Yenugula
Sruthi Yenugula on 7 May 2019
Use this link , to open sdk tools page.
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
Sruthi Yenugula
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
itthipol intaseang on 8 May 2019
Thank you sir, after all these day you help me solve my error.
Finally it completed, thank you very much.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!