App building on Android device fails due to an error: Cannot read file androidObjectDetection\\src\\main\\res\\layout\\AndroidManifest.xml.
Show older comments
Hi heveryone. I have MATLAB R2018b.
- I have the simulink support package for android devices correctly installed
- I followed the guided procedure to install Android Studio and all the tools.
- When i try to build the Simulink model to my device I get the error:
Cannot read file filename C:\Users\User\Desktop\Examples\MotoObjectDetection_ert_rtw\MotoObjectDetection\src\main\AndroidManifest.xml
- Two new folders are created inside my working folder:
- MotoObjectDetection_ert_rtw
- slprj
When I try to re-build again evrething works fine and the app is deployed to the hardware.
How can I work around this problem?
Accepted Answer
More Answers (1)
Alessio Conte
on 20 Nov 2018
Edited: Alessio Conte
on 20 Nov 2018
0 votes
1 Comment
Sruthi Yenugula
on 20 Nov 2018
Thanks for providing the information. Will check, if we can reproduce the issue and provide resolution for the same.
Categories
Find more on Setup and Configuration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!