My project was working perfectly with those libraries included:
// Support libraries
compile \'com.android.support:support-v4:23.1.0\'
compile \'com.android.
Looks like play-services
already contains support-v4
. Try excluding it from the classpath
compile('com.google.android.gms:play-services:8.1.0') {
exclude group: 'com.android.support', module: 'support-v4'
}
The second error is different. First thing don't use Java8
it's not supported instead use Java7
Also what version of the Android Gradle Plugin
are you using? Try the latest com.android.tools.build:gradle:1.4.0-beta4
Also try not using the latest play-services
I ran into an issue compiling against 8.1.0
but not 7.8.0