rovellipaolo/NinjaDroid

Update dex2jar

fdellwing opened this issue · 0 comments

Getting the following error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.googlecode.dex2jar.reader.ZipInputStreamHack (file:/home/fade/git/NinjaDroid/ninjadroid/dex2jar/lib/dex-reader-1.15.jar) to field java.util.zip.ZipInputStream.flag
WARNING: Please consider reporting this to the maintainers of com.googlecode.dex2jar.reader.ZipInputStreamHack
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
com.googlecode.dex2jar.DexException: while accept method:[Landroid/support/v4/app/ActionBarDrawerToggle$Delegate;.setActionBarUpIndicator(Landroid/graphics/drawable/Drawable;I)V]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:694)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptClass(DexFileReader.java:441)
        at com.googlecode.dex2jar.reader.DexFileReader.accept(DexFileReader.java:323)
        at com.googlecode.dex2jar.v3.Dex2jar.doTranslate(Dex2jar.java:85)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:261)
        at com.googlecode.dex2jar.v3.Dex2jar.to(Dex2jar.java:252)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:110)
        at com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:174)
        at com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:34)
Caused by: com.googlecode.dex2jar.DexException: while accept parameter annotation in method:[Landroid/support/v4/app/ActionBarDrawerToggle$Delegate;.setActionBarUpIndicator(Landroid/graphics/drawable/Drawable;I)V], parameter:[0]
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:663)
        ... 8 more
Caused by: java.lang.RuntimeException: EOF
        at com.googlecode.dex2jar.reader.io.ArrayDataIn.readUByte(ArrayDataIn.java:131)
        at com.googlecode.dex2jar.reader.DexAnnotationReader.accept(DexAnnotationReader.java:49)
        at com.googlecode.dex2jar.reader.DexFileReader.acceptMethod(DexFileReader.java:660)
        ... 8 more

Updating dex2jar to 2.0 solved the error.