Getting error while building code
Closed this issue · 8 comments
Hi, I am using the latest version of zoom (1.0.3). While building project I am getting following error:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find :commonlib:.
Searched in the following locations:
- file:/Users/sam/Documents/Office/flutter/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.3/android/libs/commonlib.aar
Required by:
project :app > project :zoom
> Could not find :mobilertc:.
Searched in the following locations:
- file:/Users/sam/Documents/Office/flutter/.pub-cache/hosted/pub.dartlang.org/zoom-1.0.3/android/libs/mobilertc.aar
Required by:
project :app > project :zoom
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Seems like it is not able to locate commonlib
and mobilertc
plugins used by the zoom plugin.
Please guide.
After install the library, must run the follow script to get some sdk stuff for the first time:
flutter pub run zoom:unzip_zoom_sdk
Thanks for the quick response. This solved the problem.
After install the library, must run the follow script to get some sdk stuff for the first time:
flutter pub run zoom:unzip_zoom_sdk
doesn't solve my problem. Still same issue
For using it on a real device and for Simulators on an M1-Chip (ARM) based MacBooks. you need to use flutter pub run zoom:unzip_zoom_sdk
.
For simulators of Intel-based Macs, you need to use flutter pub run zoom:unzip_zoom_sdk dev
According to documentation i run "flutter pub run flutter_zoom_sdk:unzip_zoom_sdk" but still same issue
Could you show me your console log when using “flutter pub run zoom:unzip_zoom_sdk”, Please make sure you run the right command "flutter pub run zoom:unzip_zoom_sdk",not "flutter pub run flutter_zoom_sdk:unzip_zoom_sdk"
According to documentation i run "flutter pub run flutter_zoom_sdk:unzip_zoom_sdk" but still same issue
did you solve the problem? I have the same issue
flutter pub run zoom:unzip_zoom_sdk