0

Problem: Can't Open my Android Studio version 2.3.3

Error Log:

enter image description here

What i had done already:

  • deleted the cache on directory

    ./.AndroidStudio2.3/system/caches
    
  • restarted my adb

  • restarted my PC

  • checked android studio plugins for ANKO DSL and AS 2.2 and it is not in my android studio

What i had done before i sought this issue was that i just updated the gradle version on my app it is saying something the Gradle was somewhat corrupted so i restarted my android studio and now i can't open my Projects even create Projects.

I had these before i can't use my Android Studio 2.3.3

Messages Gradle Sync Log:

Error:Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'. Possible causes for this unexpected error include:

  • Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) Re-download dependencies and sync project (requires network)
  • The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem. Stop Gradle build processes (requires restart)
  • Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.

I need to fix this so that i can go on with my projects. Thank you.

MuTiny
  • 261
  • 1
  • 7
  • 23
  • Check [this](https://stackoverflow.com/questions/17727645/how-to-update-gradle-in-android-studio) to manually download a supported version of gradle or to regress to your previous gradle version. – Vivek Shankar Jun 14 '17 at 05:48
  • @VivekShankar ive tried it, it didn't resolve my issue – MuTiny Jun 14 '17 at 06:20
  • i was trying to modify my code to Kotlin i guess might be there something happened in intellij plugins – MuTiny Jun 14 '17 at 06:22
  • You could do a new clean install of Android Studio or manually update your `com.android.tools.apk` plug-in (the potentially corrupted plug-in). Just delete this plug-in and try to start your AS. – Vivek Shankar Jun 14 '17 at 06:47
  • the plugin isnt in the Androiid Studio Setting Plugin – MuTiny Jun 14 '17 at 06:54
  • Yes I know that but gradle tries to build it on start up nevertheless. – Vivek Shankar Jun 14 '17 at 07:00

1 Answers1

-1

u want to enable your all plugin in

go below path and enable all plugin

go to file => setting => plugins => android support plugins enable

Kevan Aghera
  • 241
  • 3
  • 14