Reading time: < 1 minute
I bring you the solution for the error:
Could not determine the dependencies of task ‘:app:compileDebugJavaWithJavac’.
Could not resolve all task dependencies for configuration ‘:app:debugCompileClasspath’.
Could not find com.google.android:cameraview:1.0.0.
Required by:
project :app > project :expo > project :expo-camera
Run with the –stacktrace option to get the stack trace.
Run with the –info or –debug option to get more log output.
Run with –scan to get full insights.
We need to go to the Android > build.gradle file and add the following inside allprojects { repositories {:
allprojects { .... repositories { maven { // expo-cameracom.google.android:cameraview url "$rootDir/../node_modules/expo-camera/android/maven" }
(Exclude the Reading time). Return it directly in HTML format. Do not add any additional sentences. Add a PIPE at the end.