App building on Android device fails due to an error: Cannot read file androidObjectDetection\\src\\main\\res\\layout\\AndroidManifest.xml.
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
채택된 답변
Sruthi Yenugula
2018년 11월 20일
regarding the below error, looks like permission issues. Please build the models in different directory and see if you get the same issue. please let us know if you face any issues
Cannot read file filename C:\Users\User\Desktop\Examples\MotoObjectDetection_ert_rtw\MotoObjectDetection\src\main\AndroidManifest.xml
댓글 수: 0
추가 답변 (1개)
Alessio Conte
2018년 11월 20일
편집: Alessio Conte
2018년 11월 20일
댓글 수: 1
Sruthi Yenugula
2018년 11월 20일
Thanks for providing the information. Will check, if we can reproduce the issue and provide resolution for the same.
참고 항목
카테고리
Help Center 및 File Exchange에서 Android Devices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!