I'm making an android app using react native and this is the error I'm getting :I'm getting the following warnings also :
When trying to build I get this error: Could not find any matches for com.android.tools.build:gradle:2.2.+ as no versions of com.android.tools.build:gradle are available. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml https://jcenter.bintray.com/com/android/tools/build/gradle/ Required by: project :react-native-image-picker
I have set up the environment for compiling a Cordova Android app on my desktop and everything has worked fine. Then I compiled it on my laptop and I can't get it to compile the app.
So I updated my Android Studio to v3.2. When I tried compiling the project, build fails. Below is the error:
I have been struggling with the past 6 hours over this one error, which i am not able to resolve.I imported the project directly from nextgis github. Please identify whats wrong and how to rectify it. here's the screen-shot of the error
I have reinstalled the android studio, and while opening my old project again it shows below error:build.gradle(Porject) file:
Today, Android Studio stopped to sync properly due to configuration issues.Could not resolve all files for configuration ‘:app:providerRepositoryDebugCompileClasspath’. Could not find firebase-analytics-impl.aar (com.google.firebase:firebase-analytics-impl:15.0.2). Searched in the following locations: https://jcenter.bintray.com/com/google/firebase/firebase-analytics-impl/15.0.2/firebase-analytics-impl-15.0.2.aar Could not find play-services-flags.aar (com.google.android.gms:play-services-flags:15.0.1). Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services-flags/15.0.1/play-services-flags-15.0.1.aar
Today after updating the play services in root folder I'm facing the following problem . I'm confused how to fix this.