I am new to android studio. I am using android studio version 2.1.1. I have to run an application from Github. The problem I am facing is that whenever I run the application , I get this error,
Error:The project is using an unsupported version of Gradle.
I have even installed android support repository after following some tutorial. This did not help. I have also tried to find the versions of gradle that are compatible with Android studio 2.1.1. I dont know how to solve this issue
Related
I have installed Android studio with the latest Jdk version and flutter SDK and configured it to my studio by installing flutter and dart plugin but when I run the sample code it doesn't run properly and shows some errors.
I am a newbie to programming so plz tell me solution how to fix that error and I also attached a screenshot of that error here
I am new to android studio. I have installed android studio 2.1 and imported an eClipse project into it as my first project. After finishing import job, an error occurred with this title:
Gradle 'TestApp' project refresh failed
â–ºError:A problem occurred configuring project ':app'.
I notice that in Tools > Android > SDK manager > System Settings > Android SDK > SDK Update Sites there are errors with Android Repository and Legacy Android Repository.
Android Repository https://dl.google.com/android/repository/repository2-1.xml
Legacy Android Repository https://dl.google.com/android/repository/repository-12.xml
I have reinstalled Android studio and then installed and updated all extra fields in SDK manager. I have Android 4.4.2 and 5.0.1 SDK platforms. I Have all tools items installed in SDK manager.
There are no errors in Standalone SDK Manager.
I tried creating a new project. But same error appears.
How can I resolve the issue and run this app?
I restarted the Android SDK Manager and at this time I noticed that I got Android SDK Platform-tools (upgrade) and Android SDK Build-tools (new).
After installing those, I was finally able to fully compile my project.
Note: The latest ADT (Version 23) should be installed.
In Android Studio 1.5.1, I'm trying to run the plugin SequencePluginReload 1.0.6. The installation works fine, but after restarting Android studio I get the following error message:
Problems found loading plugins: Plugin "SequencePluginReload" was not loaded: required plugin "com.intellij.diagram" not installed.
So I figured, I need to install the com.intellij.diagram plugin. However, I wasn't able to find it in the android studio repository or elsewhere. Any ideas where I could find it?
The issue appears to be resolved in the latest version.
For me, that is Android Studio 2.1.1 with SequenceDiagram 1.1. (They renamed the project)
I'm doing a bit of Android dev on the side, so I'm no gradle expert. Just trying to create a project for Android 4.0.3+. This used to work before upgrading to Studio 1.5. Any ideas how to get this setup so can make projects again? I have no idea what appcompat-v7.15+ is or what to install so it can find it.
I had to reinstall Android Studio and now when I try to build my projects I get this error:
org.gradle.tooling.GradleConnectionException: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.9-all.zip'.: Could not create an instance of Tooling API implementation using the specified Gradle distribution 'http://services.gradle.org/distributions/gradle-1.9-all.zip'.
I tried editing system variables and Android Studio settings but nothing has seemed to work.
Andrew
This is a problem with the Android plugin v0.7.2 and will be fixed in 0.7.3. In the meantime you can force it back to 0.7.1 following the answer here:
Android Studio fails - unsupport unsupported major minor version 51.0