Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token ' on line 3 #32

Closed
rekire opened this issue Apr 13, 2016 · 2 comments
Closed

Unexpected token ' on line 3 #32

rekire opened this issue Apr 13, 2016 · 2 comments
Assignees

Comments

@rekire
Copy link

rekire commented Apr 13, 2016

I get this crash:

Unexpected token ' on line 3
Traceback (most recent call last):
  File "/usr/local/bin/redex", line 779, in <module>
    run_redex(args)
  File "/usr/local/bin/redex", line 735, in run_redex
    dexen)
  File "/usr/local/bin/redex", line 110, in run_pass
    subprocess.check_call(args, shell=True)
  File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 584, in check_call
    raise CalledProcessError(retcode, cmd)

When I run this command line:

redex playground/release.apk -m playground/mapping.txt -P playground/proguard-project.txt -o playground/out.apk

Line 3 of the proguard-project.txt is:

-repackageclasses ''

When I comment that line out it works.

@rekire
Copy link
Author

rekire commented Apr 20, 2016

@bertmaher any progress or ETA here?

@bertmaher
Copy link
Contributor

Hi @rekire, the -P flag is a work-in-progress feature. It's not hooked up to the optimization passes, so if it's causing problems just don't use it. I'm going to suppress the flag in the help text since it's misleading right now.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants