Skip to content Skip to sidebar Skip to footer

Android Support Library Actionbar Nullpointerexception On Version 2.2 (level 8) - Conflict With Preferences.xml

I am using the v7 Support Library to show an ActionBar on Android 2.x. When I deploy the app to the device in my IDE (Intellij IDEA) the app works fine. When I build and package th

Solution 1:

Do you abslutely need features of android-maven-plugin version 3.8.2? It seems to be bugy.

A similar problem appeared in our project after updating android-maven-plugin from version 3.8.0 to 3.8.2.

Falling back to version 3.8.0 solved the problem.

Symptoms: Our conclusion is that the problem was in the linking of the apklib, all ressources (layouts, drawables...) referenced seemed to be disaligned. For example a layout or a drawable was displayed instead of another. Application was crashing when accessing to a missing reference/id in a layout (the reference was not present because the wrong layout was loaded).

See issue http://code.google.com/p/maven-android-plugin/issues/detail?id=441

Post a Comment for "Android Support Library Actionbar Nullpointerexception On Version 2.2 (level 8) - Conflict With Preferences.xml"