Hello,
If you don't use or intend to use any of the plugins mentioned in the subject line you can stop reading now.
In https://github.com/flutter/plugins/pull/141 we released 0.1.0 versions of the following plugins:
The update does not provide any new functionality, but it causes these plugins to depend on the latest Android support libraries. If you are using any of these plugins and want to update them, in addition to modifying your pubspec.yaml to point to the latest version, you should also update your app to include the following lines (printed in bold) in your android/build.gradle:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
New flutter apps created with flutter create after https://github.com/flutter/flutter/pull/10842 has been submitted will have this change automatically applied and no further action is required.
In addition to that, you should also make sure that you have the latest "Google Repository" installed on your System. For that, open the SDK Manager from Android Studio, switch to the "SDK Tools" tab, and make sure that you've "Google Repository" v54 or newer installed.
Thanks!
Michael
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not resolve com.android.support:appcompat-v7:25.4.0.
Required by:
project :app > project :image_picker
> Could not resolve com.android.support:appcompat-v7:25.4.0.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/appcompat-v7/25.4.0/appcompat-v7-25.4.0.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/android/support/appcompat-v7/25.4.0/appcompat-v7-25.4.0.pom'.
> jcenter.bintray.com
> Could not resolve com.android.support:appcompat-v7:25.4.0.
> Could not get resource 'https://jitpack.io/com/android/support/appcompat-v7/25.4.0/appcompat-v7-25.4.0.pom'.
> Could not HEAD 'https://jitpack.io/com/android/support/appcompat-v7/25.4.0/appcompat-v7-25.4.0.pom'.
> jitpack.io
> Could not resolve com.android.support:recyclerview-v7:25.4.0.
Required by:
project :app > project :image_picker
> Could not resolve com.android.support:recyclerview-v7:25.4.0.
> Could not get resource 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/25.4.0/recyclerview-v7-25.4.0.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/android/support/recyclerview-v7/25.4.0/recyclerview-v7-25.4.0.pom'.
> jcenter.bintray.com
> Could not resolve com.android.support:recyclerview-v7:25.4.0.
> Could not get resource 'https://jitpack.io/com/android/support/recyclerview-v7/25.4.0/recyclerview-v7-25.4.0.pom'.
> Could not HEAD 'https://jitpack.io/com/android/support/recyclerview-v7/25.4.0/recyclerview-v7-25.4.0.pom'.
> jitpack.io
> Could not get unknown property 'compileDebugJavaWithJavac' for project ':app' of type org.gradle.api.Project.