无法加载未知错误的AppCompatActionBar
。
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
}
Build.gradle(Module:app)
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-beta01'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-
core:3.0.2'
}
答案 0 :(得分:0)
尝试一下
implementation 'com.android.support:appcompat-v7:26.0.0'
具有:
buildToolsVersion '26.0.0'
和
classpath 'com.android.tools.build:gradle:3.1.3'