I get the following error:
C:\Users\amandeeg\AndroidStudioProjects\ImageFeeds\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\values-v11\values.xml
Error:(50, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
and many more like this...
Following is the build.gradle (module) file:
apply plugin: 'com.android.application'
android {
compileSdkVersion "Amazon.com:Amazon Fire Phone SDK Addon:17"
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.example.amandeeg.imagefeeds"
minSdkVersion 17
targetSdkVersion 17
versionCode 1
versionName "1.0"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
}
and build.gradle(project):
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.amazon.device.tools.build:gradle:1.0.+'
}
}
allprojects {
repositories {
jcenter()
}
}
This gradle file is set up as suggested in setting up dev env for fire phone plugin
I am new to android and not sure how to get around this problem. I cannot take the advice suggested in this answer as firefly has a hard dependency on API 17.
Thanks for help in advance.