Run CLI with -verbose flag for more details.Įrror: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081Īt makeError (C:\MyAssignments\camera2\node_modules\execa\index.js:174:9)Īt C:\MyAssignments\camera2\node_modules\execa\index.js:278:16Īt processTicksAndRejections (internal/process/task_queues.js:93:5) Make sure you have the Android development environment set up. Run with -scan to get full insights.Įrror Failed to install the app. Run with -info or -debug option to get more log output. Run with -stacktrace option to get the stack trace. Found react-native-camera 'mlkit' but wasn't required. Found .attributes.VariantAttr 'mlkitDebug' but wasn't required. Variant 'mlkitDebugRuntimeElements' capability camera2:react-native-camera:unspecified: Required 'java-runtime' and found compatible value 'java-runtime'. Required. 'Aar' and found compatible value Required .attributes.BuildTypeAttr 'debug' and found compatible value 'debug'. Found react-native-camera 'general' but wasn't required. Found .attributes.VariantAttr 'generalDebug' but wasn't required. Variant 'generalDebugRuntimeElements' capability camera2:react-native-camera:unspecified: > Cannot choose between the following variants of project :react-native-camera:Īll of them match the consumer attributes: > Could not resolve project :react-native-camera. ![]() > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Use '-warning-mode all' to show the individual deprecation warnings.Ĭould not determine the dependencies of task ':app:mergeDebugAssets'. Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. My current react-native version:0.62.0, React-cli version : 2.0.1. ![]() I am trying to build a camera application. I am facing this error when I am trying to run a react-native application react-native run-android, I am unable to install the application.
0 Comments
Leave a Reply. |