Due to 65K
error in my project I need it to migrate to Android Studio . While running
./gradlew assembleDebug
I am
Check build.gradle
(Module: Android) fixed problem for me.
Modify it to workable version.
android {
buildToolsVersion '23.0.1'
}
Try to move:
apply plugin: 'com.google.gms.google-services'
just below:
apply plugin: 'com.android.application'
In your module Gradle file, then make sure all Google service's have the version 9.0.0
.
Make sure that only this build tools is used:
classpath 'com.android.tools.build:gradle:2.1.0'
Make sure in gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
After all above is correct, then make menu File -> Invalidate caches and restart.
for me it was just a little compile error and sadly Android Studio doesn't show it . please search manually . trying to enable work offline and clean&rebuild may help you more
Its Just Simple the Compiler Did not accept the last changes you've made so go to the last file that you've made a change It will show the error just change it and recompile.
Apply in ProGuard-rules
-ignorewarnings
For me the only thing that works is to add to repositories
maven {
url "https://maven.google.com"
}
It should look like this:
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}