Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

how to use old android studio project

dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
Comment

how to use old android studio project

File->Project Structure->Project pane->"Android plugin version".

Make sure you don't confuse the Gradle version with the Android plugin version. The former is the build system itself, the latter is the plugin to the build system that knows how to build Android projects

-----------
But when using the gradle plugin 0.7.+, Android Studio needs Gradle 1.8. So, you have to update Gradle from 1.7 to 1.8. This was done by going to Tools -> Android -> Sync Project with Gradle Files It forces Android Studio to give out Error message you see on http://tools.android.com/recent
Comment

how to use old android studio project

Open up this file in your project:

<project>/gradle/wrapper/gradle-wrapper.properties

Edit the distributionUrl line and set it too:

distributionUrl=http://services.gradle.org/distributions/gradle-1.8-all.zip

Rebuild your project.

</project>
Comment

how to use old android studio project

Look in the SDK Manager what is your highest Android SDK Build-tools version, and copy this version number in your project build.gradle file, in the android/buildToolsVersion property (for me, version was "18.1.1").
Comment

PREVIOUS NEXT
Code Example
Java :: Hibernate/JPA criteria query 
Java :: java load config file 
Java :: java see you next happy year 
Java :: JAVA Printing Variables and Literals 
Java :: java overloading 
Java :: calculate values of array 
Java :: public CustomAdapter(Context context, ArrayList<HashMap data, int resource, String[] from, int[] to) 
Java :: Meditation for stress and depression 
Java :: JSP Redirigir a otra página 
Java :: how to check that letter is not a number and is repeating or not in a sentence in java 
Java :: ggt euklidischer algorithmus java 
Java :: android edittext with icon 
Java :: Java create an object of the static class Mammal 
Java :: Java Using Looping Construct to Copy Arrays 
Java :: java get if contains else 0 
Java :: get steps counts using pedometer sensor in android 
Java :: reading data from wsdl in java 
Java :: reset a jTable without deleting rows 
Java :: java method 
Java :: using automapper without dependency injection 
Java :: java pebble replacestart 
Java :: illmatic 
Java :: okhttp Sending and Receiving Network Requests 1 
Java :: java code to compare csv file against a table 
Java :: function compose method java 8 
Java :: save documents on Android 11 site:stackoverflow.com 
Java :: java access enum per index 
Java :: room ktx dependency 
Java :: How to center a print statement text? 
Java :: focus button java swing 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =