1

Using the SDK Manager, we updated all installed SDKs and installed the Android 5.0.1 (API 21) SDK platform. Then, in Eclipse we exchanged the current android-support-v7-appcompat library with the new one (Rev. 21).

The appcompat project would not compile, so we took this this advice. That is, we changed the Android version to Android 5.0 both for the actual project as well as the appcompat project.

Now it does compile. However, when running the app Logcat prints the error:

E/ResourceType(4537): Style contains key with bad entry: 0x01010479

Moreover, it prints a couple of warnings, all similar to this one:

I/dalvikvm(4537): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted

Finally, it ends up with a NullPointerException referring to Activity.findViewById()

We used Androids step-by-step instruction to import appcompat as a project with resources. Our app's Manifest uses

android:minSdkVersion="11"
android:targetSdkVersion="19"

This seems to be related but it does not really provide a solution for our problem...

Community
  • 1
  • 1
Kojo
  • 89
  • 5

0 Answers0