I cannot build my project after updating the tools. I get this error in Android Studio.
/build/exploded-aar/com.android.support/support-v4/21.0.0-rc1/And
Did you update your build.gradle file to reflect these changes?
compileSdkVersion is set to 'android-L'
minSdkVersion is set to 'L'
targetSdkVersion is set to 'L'
Source: http://developer.android.com/preview/setup-sdk.html
This solved the issue for me and I was able to build the app.
compile('com.android.support:support-v4:19.1.0'){
force = true
}
In your app/build.gradle file, change
compile 'com.android.support:support-v4:+'
to
compile 'com.android.support:support-v4:19.1.0'
The '+' means that it will look for the newest version of the dependency. If you download the L preview, the latest version will be the support library for L - which isn't going to work for a project whose target is API 19.