android - Proguard Returned With Error Code 1 Without Any Specific Information -


i have problem proguard, have tried many possible solutions still not solve problem.

the information console is

proguard returned error code 1. see console 

nothing more, bad error message ever met.

i have set

proguard.config=proguard-project.txt 

and nothing in proguard-project.txt believe couple of comments.

# enable proguard in project, edit project.properties # define proguard.config property described in file. # # add project specific proguard rules here. # default, flags in file appended flags specified # in ${sdk.dir}/tools/proguard/proguard-android.txt # can edit include path , order changing proguard # include property in project.properties. # # more details, see #   http://developer.android.com/guide/developing/tools/proguard.html  # add project specific keep options here:  # if project uses webview js, uncomment following # , specify qualified class name javascript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { #   public *; #} # configuration file proguard. # http://proguard.sourceforge.net/index.html#manual/usage.html 

after couples of hours finding solution, found solution. moved proguard.jar directory there no space in path, edited proguard.bat in /bin folder directory. eventually, proguard running fine , give me error log expected.

sample script.

@echo off  rem start-up script proguard -- free class file shrinker, optimizer, rem obfuscator, , preverifier java bytecode.  rem change current directory , drive script is, avoid rem issues directories containing whitespaces. cd /d %~dp0  if exist "%proguard_home%" goto home set proguard_home=.. :home  java -jar c:\bin\proguard.jar %* 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -