I don't understand.

This is what you have in aar-consumption-4 right?

        commands.add( "-M" );
        commands.add( androidManifestFile.getAbsolutePath() );
        if ( resourceDirectory.exists() )
        {
            commands.add( "-S" );
            commands.add( getLibraryUnpackDirectory( apklibArtifact ) +
"/res" );
        }

That looks right to me.



On Thu, Dec 19, 2013 at 9:32 PM, Benoit Billington <notifications@github.com
> wrote:

> In
> src/main/java/com/jayway/maven/plugins/android/phase01generatesources/GenerateSourcesMojo.java:
>
> >          }
> > -        for ( Artifact artifact : getAllRelevantDependencyArtifacts() )
> > +        /*
> > +    We might also want to add in any dependencies of the apklib
>
> I have noticed that having the apklib resources and feeding the manifest
> from the apk via line 624:
>
>     commands.add( "-M" );
>     commands.add( androidManifestFile.getAbsolutePath() );
>
> will cause the build to fail because it cannot find the resource of the apk
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jayway/maven-android-plugin/pull/257/files#r8466582>
> .
>