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

 Réponse acceptée

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.

Plus de réponses (1)

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 commentaires

It still dont work, same error.
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.
I have done all this but it still same error.
Can you provide the output of the following command(type it in MATLAB command prompt)
codertarget.android.AppBuilder
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.

Connectez-vous pour commenter.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by