当我想要导入appcompatActivity时,它说它无法解决,但我已经同步了我的gradle并且它已经成功,有什么问题? 版本是:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:21.0.3'
testCompile 'junit:junit:4.12'
}