I am trying to open the project from Codelab but I get this error:
This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.1 or newer.
I have cloned the project from gitHub and I'm already on 4.1 and I still can't open it. Any idea how can I do it?
Related
Well i am having trouble recently while importing the android directory of a react native project to android studio.
It used to work well before but now its throwing This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer.
any way to fix this?
Thanks in advance
In Android view under Gradle Scrips, change two files, then re-sync gradle.
build.grade (Project):
classpath("com.android.tools.build:gradle:4.0.1")
gradle-wrapper.properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-all.zip
I just encountered the same issue and solved it using the above fix. You may find this thread useful as well: Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project
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.
When I attempt to open the Android SDK samples for v19, for example connectivity/BasicNetworking, I get the following error in Android Studio:
The project is using an unsupported version of the Android Gradle plug-in (0.12.2).
The recommended version is 1.1.0
Not only can I not build the project - I can't even open it and browse the source code.
I understand I can alter build.gradle to use v1.1.0 of the plugin but I don't feel that should be my job. Google is providing both the samples and the IDE. Why can't I open their samples in their IDE?
Is there any setting in Android Studio I can set so that it automatially sets the latest gradle plugin version in the build.gradle file when opening old projects?
The "Import an Android code sample" on the Android Studio startup screen, or "File > Import sample" actually takes care of this (although a side effect is that it copies the project to a new folder).
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