java - error after updating gradle in android studio -


i have hello world basic project in android studio . after updating gradle-wrapper , build.gradle files , can compile project without problem don't know what's error :

noclassdeffounderror: update failed anaction id=mirrorasplugin.startorstopmirroraction: com/android/tools/idea/gradle/invoker/gradleinvoker$aftergradleinvocationtask.

how can fix ?

my 2 gradle file edited :

gradle-wrapper:

#sat apr 15 00:03:53 irdt 2017 distributionbase=gradle_user_home distributionpath=wrapper/dists zipstorebase=gradle_user_home zipstorepath=wrapper/dists distributionurl=https\://services.gradle.org/distributions/gradle-3.3-all.zip 

======================================================== build.gradle (project):

// top-level build file can add configuration options common sub-projects/modules.  buildscript {     repositories {         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:2.3.1'          // note: not place application dependencies here; belong         // in individual module build.gradle files     } }  allprojects {     repositories {         jcenter()     } }  task clean(type: delete) {     delete rootproject.builddir } 

probably old file old gradle version.

to clean project, in android studio go build -> rebuild project.


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -