MATLAB Answers

0

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

I want to try an example of Android device simulink on my phone.
But i got this error.
erro.png
can anyone help?

  0 Comments

Sign in to comment.

Tags

2 Answers

Answer by Sruthi Yenugula on 7 May 2019
 Accepted Answer

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.

  1 Comment

Where can I find and uninstall build tool 29.0.0-rc2?

Sign in to comment.


Answer by 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

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.
Thank you sir, after all these day you help me solve my error.
Finally it completed, thank you very much.

Sign in to comment.