### Build procedure for camera aborted due to an error.
Afficher commentaires plus anciens
Hi, please help me in this problem,
I want to use my android phone's camera as an output for my App (using App Designer MATLAB).
I found that I can use Simulink Android toolbox to realize this goal.
The problem is everytime I clicked deploy to hardware, it always shows this error
### Starting build procedure for: camera Execution failed for task ':libraries:opencv:compileDebugAidl'. > A failure occurred while executing com.android.build.gradle.tasks.AidlCompile$AidlCompileRunnable > com.android.ide.common.process.ProcessException: Error while executing process C:\Users\hp\AppData\Local\Android\Sdk\build-tools\33.0.0\aidl.exe with arguments {-pC:\Users\hp\AppData\Local\Android\Sdk\platforms\android-33\framework.aidl -oC:\Users\hp\Documents\MATLAB\Examples\R2021a\android\GettingStartedWithAndroidExample\camera_ert_rtw\camera\libraries\opencv\build\generated\aidl_source_output_dir\debug\out -IC:\Users\hp\Documents\MATLAB\Examples\R2021a\android\GettingStartedWithAndroidExample\camera_ert_rtw\camera\libraries\opencv\src -IC:\Users\hp\Documents\MATLAB\Examples\R2021a\android\GettingStartedWithAndroidExample\camera_ert_rtw\camera\libraries\opencv\src\debug\aidl -dC:\Users\hp\AppData\Local\Temp\aidl15215273838714677648.d C:\Users\hp\Documents\MATLAB\Examples\R2021a\android\GettingStartedWithAndroidExample\camera_ert_rtw\camera\libraries\opencv\src\org\opencv\engine\OpenCVEngineInterface.aidl} * ### Build procedure for camera aborted due to an error.
Build Summary
1
Elapsed: 0.48 sec
Top model targets built: Model Action Rebuild Reason ================================================================== camera Failed Code generation information file does not exist.
My block diagram is I connected Android Camera with Android Video Display as dummy trial.
I have followed all steps during the installation of the support package and installed all the latest version of Android Studio.
For your information I am using MATLAB R2021a and Simulink version 10.0
Please help, thank you !
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Android Devices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

