From e441fbf99413d5ae8395bfcd8dc5b7fc337fce90 Mon Sep 17 00:00:00 2001
From: Ricardo Cervera
Also note that due to the update to Android Gradle Plugin 0.6, you will encounter errors when opening -existing projects. See the Troubleshooting notes below for -information about how to resolve them.
- -Android Studio requires JDK 6 or greater (JRE alone is not sufficient). To check if you
have JDK installed (and which version), open a terminal and type javac -version
.
@@ -491,8 +486,7 @@ style="vertical-align:bottom;margin:0;height:19px" /> in the toolbar.
Caution: This new version is not backwards compatible. When opening a project that uses an older version of the plug-in, Studio will show an error - stating Gradle <project_name> project refresh failed. See Troubleshooting below for details.
+ stating Gradle <project_name> project refresh failed.The updated Gradle plug-in includes the following changes:
Android Studio 0.2.0 has updated the Gradle plug-in to 0.5.0, which is not backwards compatible. -When opening a project that uses an older version of the plug-in, Studio will display the error -shown in figure 1 in the upper right corner of the IDE. -To resolve the error, you must change the version of the Android Gradle plug-in to 0.5.0.
- -build.gradle
file.classpath
to change the gradle version to 0.5.+
.
- For example:
- -dependencies { - classpath 'com.android.tools.build:gradle:0.5.+' -} --
If, after updating to Android Studio 0.2.x and creating or opening a project, you receive an -error stating "Could not find any version that matches -com.android.support:support-v4:13.0.+", then you must install the Android Support -Repository. This was likely caused because you're pointing Android Studio to an external -Android SDK location that does not have the new Maven repository included with Android Studio -0.2.x. This new Maven repository is used by the new build system for the Support Library, instead -of using the Support Library JAR files, so must be present in the SDK.
- - -If you've encountered other problems in Android Studio, look at the following page +
If you encounter problems in Android Studio, look at the following page for possible resolutions to known issues: http://tools.android.com/knownissues.
-- cgit v1.1