I implemented an Android application using support.v7.app.AppcompatActivity
. This application doesn't compile: when I hold my mouse cursor above the super
key it shows the following error:
Cannot access android.support.v4.app.BaseFragmentActivityHoneycomb
I've a same problem. And my resolution is:
Replace project dependencies:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
}
with
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.0.0'
compile 'com.android.support:support-annotations:24.0.0'
}
It works for me,good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With