zivlhoo / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Build Issue #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
Build Error

What is the exact smali/baksmali command that you ran?
mvn package

What version of smali/baksmali are you using? What rom are you working
from?
clone from git

What is the airspeed velocity of an unladen swallow?

[INFO] Reactor Summary:
[INFO] 
[INFO] smali-pom ......................................... SUCCESS [0.762s]
[INFO] dexlib ............................................ SUCCESS [2.816s]
[INFO] util .............................................. SUCCESS [0.772s]
[INFO] smali ............................................. FAILURE [12.806s]
[INFO] baksmali .......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.360s
[INFO] Finished at: Sat Sep 15 01:36:36 CST 2012
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.github.wvengen:proguard-maven-plugin:2.0.5:proguard (default) on project 
smali: Obfuscation failed (result=1) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
com.github.wvengen:proguard-maven-plugin:2.0.5:proguard (default) on project 
smali: Obfuscation failed (result=1)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Obfuscation failed 
(result=1)
    at com.github.wvengen.maven.proguard.ProGuardMojo.proguardMain(ProGuardMojo.java:634)
    at com.github.wvengen.maven.proguard.ProGuardMojo.execute(ProGuardMojo.java:486)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :smali

Original issue reported on code.google.com by kel...@gmail.com on 14 Sep 2012 at 5:39

GoogleCodeExporter commented 9 years ago
What is your OS?

Original comment by bgruv@google.com on 14 Sep 2012 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by bgruv@google.com on 14 Sep 2012 at 6:21

GoogleCodeExporter commented 9 years ago
mac osx10.6.8

Original comment by kel...@gmail.com on 15 Sep 2012 at 12:42

GoogleCodeExporter commented 9 years ago
Try it with the new gradle build now

Original comment by jesusfreke@jesusfreke.com on 16 Sep 2012 at 9:46

GoogleCodeExporter commented 9 years ago
Build successfully:)

Original comment by kel...@gmail.com on 17 Sep 2012 at 3:14

GoogleCodeExporter commented 9 years ago

Original comment by jesusfreke@jesusfreke.com on 17 Sep 2012 at 5:25