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.
Related
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
I'm using Android Studio 3.3.2. When I try to update the version of Android Studio, it shows an error. It also mentions that there is no solution to the same error.
Go to your android studio installation folder then search for this file. After this
copy the file to a safe place then remove it from android studio folder, so try to update android studio again. If something goes wrong, the fastest way to solve this problem is by remove your old android studio version then download and install the new Android Studio version from here.
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.
I have just updated Android studio 2.2.2 to 2.3 from the canary channel. After downloading completed and applying path file, the android studio is restarting.
But after restarting android studio I am getting below error with dialog:
Cannot load project:
com.intellij.ide.plugins.PluginManager$StartupAbortedException:
com.intellij.diagnostic.PluginException: Could not initialize class
org.jetbrains.kotlin.android.actions.NewKotlinActivityAction [Plugin:
org.jetbrains.kotlin]
See below screenshot for to get more idea:
After closing dialog by ok and restarting android studio, also I can't able to open my project or creating new project.
Does anyone is facing same issue after updating android studio?
Disable the Kotlin plugin and restart Android Studio. I had the same error even after I updated the plugin. So disabling seems to be the solution for now -- unless you're using Kotlin, I guess.
The Kotlin team confirmed a fix is in the works via twitter: https://twitter.com/kotlin/status/797111726516879360
The issue is fixed in Kotlin plugin version 1.0.5-2.
Issue is fixed in new update of Kotlin, you can update your plugin from
Configuration>Plugin>Install JetBrains Plugin>Select "Kotlin" from List and hit "Update" from right menu
Updating the 'ext.kotlin_version' on root build.gradle to the latest fixed the issue for me. Use this link to find the latest kotlin version.
This happened to me just today after updating my Kotlin's plug-in verison from 1.1.51 to 1.1.60. I had to uninstall this version from Settings > Pluings in Android Studio and install the previous one, which can be downloaded from JetBrains plug-ins repository.
If you're using Android Studio 3.0, you don't need to install the previous version of the plug-in again since version 1.1.51 is built-in in Android Studio.
I am using new android studio .when i download and install it there was no issue. But now when i try to create a new project it's show this error
Your Android SDK is out of date or is missing templates.
Please ensure you are using SDK version 22 or later.
As you know the latest SDK version is already bundled with android studio .I tried re-installing android studio still that error exist.
But it works fine while importing a project or opening an old project. I am facing this only during while trying to create a new project
Somebody help me to resolve this
Note : Im using Mac 10.6.8
EDIT : Screen Shot
I check my SDK manger which is bundled with android studio It's showing i'm using latest version
I've occurred this problem, what I did is.
On Main Menu, Click, Configure
Click Project Defaults
Click Project Structure
In Platform Settings > SDK, Choose the Build Target. Restart the IDE.
I can't comment (Low reputation) but have you tried checking the android sdk manager? See if anything is outdated or missing in tools
Then follow the answer above me, or check module settings > Dependencies > Module SDK and verify that it's android 4.2.2