Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #165 from tlbollwitt/forked-mods

Forked mods
  • Loading branch information...
commit b109f807b1fb23c5e998d59522de2c7cf66077ba 2 parents bae5758 + 2fa2a48
@mosabua mosabua authored
View
8 src/main/java/com/jayway/maven/plugins/android/phase09package/ApklibMojo.java
@@ -321,8 +321,12 @@ private void generateIntermediateApk() throws MojoExecutionException
{
if ( apkLibraryArtifact.getType().equals( APKLIB ) )
{
- commands.add( "-S" );
- commands.add( getLibraryUnpackDirectory( apkLibraryArtifact ) + "/res" );
+ String apklibResDirectory = getLibraryUnpackDirectory( apkLibraryArtifact ) + "/res";
+ if ( new File( apklibResDirectory ).exists() )
+ {
+ commands.add( "-S" );
+ commands.add( apklibResDirectory );
+ }
}
}
commands.add( "--auto-add-overlay" );
Please sign in to comment.
Something went wrong with that request. Please try again.