I am having an issue with my Gradle just this day. It was working fine just recently and I haven't done anything just now and I see this. Please help.
java.lang.RuntimeException: This version of Android Studio cannot open this project, please retry with Android Studio 3.6 or newer. ```
Go to your projects build.gradle file, and change com.android.tools.build:gradle:3.X.X(where X is the current version) to match your current version of android studio
- to check your current version of Android Studio go to "Help - About"
The issue you're having happened most likely because you have activated beta builds in Android Studio, and you have accepted Android Studios suggestion popup where it suggested upgrading your build tools and gradle plugin
You have two options:
1) Update android studio
2) Change gradle file
Related
I'm facing problem with the latest version of Android Studio which is 3.6.1. I have a project which was develop using Android Studio 2.1.2 and now I decide to switch to use the latest version. After I update my project file to latest version follow the instruction of the Android Studio, I cannot sync my gradle. Here is the error I'm facing
Try 'import' rather than 'open' old projects when using any latest version of Android Studio. If it still fails, perhaps create a new project and port the existing codes over. The versions are too far apart from 2.1.2 to now 3.6.1.
Change the jdk Version to 9.0.4
This worked for me.
I downloaded and installed Android Studio 2.3.1 but I am unable to create Project.
I get a plugin exception.
com.intellij.diagnostic.PluginException: com/android/tools/idea/project/messages/AbstractSyncMessages [Plugin: com.android.tools.apk]
Please find a solution to this problem.
Android Studio 2.3.1 is outdated... Please use the latest Android Studio 3.1.4 and check if the problem persists
Download Android Studio Latest
You need to update your Android Studio to the latest version (3.1.4).
On the top menu, select Help -> Check for Update...
Upon the updates dialog below, select Updates link to configure your IDE settings.
Then press Update and Restart.
After updating Android Studio then create project again. It will be solved your problem.
Or
You can download the latest version of Android studio from the developer portal.
I am using latest version of android studio
and i am open a an older project the android studio not open this project
and always fininshing the gradle while downloading or building it
i have attached the screen shot with this for batter understanding
please help me on this issue these project was build with older android studio like 2.2 and now i am using the latest version which is android 2.3.3 but with this version project was not open properely
android gradle problem the screen shot of the problem
This same thing happened to me, when i was into android. Go to android sdk manager and update whatever it says, and you will good to go.
Even android studio is also trying to do the same thing. but it doesn't show you the progress.
My AS is 2.3 official version
and I already open the Instan run on the settings
but it can't use,and the lightning symbol is always not light,just like this
I don't why this is,who has other ideas?
Make sure the Android Gradle plugin is version 2.3.0 and Gradle is version 3.3.
Else it wont work. Android studio should tell you that by default. Normally when you open your project or after a clean build.
I recently upgraded from Android studio 2.2.2 or 2.2.3 can't remember - to Android Studio 2.3.1 . Please can someone point me in the right direction as to how to get older projects running on this newer version of android studio ?
i tried changing the gradle build dependency to 2.3.1 as some suggested but that didn't help
thanks
Your gradle may need some updates. When the android studio starts some update are suggested, they get the proper sdks, or version of the android you may be emulating.