ActionBarActivity
我试图通过更改来修改应用程序AppCompatActivity
。
我也更改了build.gradle
文件,附上修改后的版本。
现在,当我尝试运行该程序时,我收到一条错误消息:
如何运行程序?
********** build.gradle *********
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "it.giocoparole.trovanagramma"
minSdkVersion 10
targetSdkVersion 23
versionCode 3
versionName "0.9.2"
}
signingConfigs {
release {
storeFile file("C:\\AndroidStudioKeystore\\TrovAnagramma.jks")
storePassword "xxxxx"
keyAlias "Alias_TrovAnagramma"
keyPassword "xxxxx"
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
zipAlignEnabled true
minifyEnabled false
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.google.android.gms:play-services:6.+'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
}