Using the latest version 4.0.0-rc.1 of the Maven Android Plugin, some classes seem to be missing in the build. I get one of those exceptions when I start the app (two possible ways to start the app):
- java.lang.NoClassDefFoundError: android.support.v4.app.TaskStackBuilderHoneycomb
- java.lang.NoClassDefFoundError: android.support.v4.widget.EdgeEffectCompatIcs
Both missing classes are inside support-v4-21.0.0.aar/libs/internal_impl-21.0.0.jar.
My dependency definition:
<dependency>
<groupId>com.android.support</groupId>
<artifactId>support-v4</artifactId>
<version>21.0.0</version>
<type>aar</type>
</dependency>
Is this some configuration error? A bug in the Android Maven plugin?