MATLAB: How to solve error “Failed to generate all binary output” in android device simulink

simulink

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

Best 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.