Dave's Brain

Browse - Programming Tips - What changes do I need to make to my projects for Android Studio 3.1?

Date: 2018mar27
OS: Android
Language: gradle

Q.  What changes do I need to make to my projects for Android Studio 3.1?

A.

android { // buildToolsVersion "25.0.2" // Comment out ... }
repositories { jcenter() google() // Add this }
Rename these:
compile -> implementation
testCompile -> testImplementation
androidTestCompile -> androidTestImplementation
testApi -> testApi
androidTestApi -> androidTestImplmentation
You're still getting an error about 'compile' upgrade google-services to 3.2
classpath 'com.google.gms:google-services:3.2.0'

Add a comment

Sign in to add a comment
Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.