Android Question webviewextras1.42 can't work?(bad class file magic?)

liulifeng77

Active Member
Licensed User
Longtime User
i used (abmaterial) native contoller library (reference to webviewextas1.4).
when compiling,it shows error message:


Compiling generated Java code. (0.95s)
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
at com.android.dx.command.dexer.Main.processClass(Main.java:598)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
at com.android.dx.command.dexer.Main.access$2(Main.java:546)
at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:537)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
at com.android.dx.command.dexer.Main.run(Main.java:206)
at com.android.dx.command.dexer.Main.main(Main.java:179)
at com.android.dx.command.Main.main(Main.java:103)
...while parsing com/ab/abmcontrollerb4a/ABMController.cl




any suggestion will be appreciated.
 

Star-Dust

Expert
Licensed User
Longtime User
Upvote 0

liulifeng77

Active Member
Licensed User
Longtime User
here is the demo.
I asked the abmaterial author,he said:You better ask this question in the B4A forum to the writer of WebViewExtras because this has nothing to do with ABMaterial. It just generates the B4A code.
so I ask for your help!
thanks!
 

Attachments

  • B4A.zip
    53.9 KB · Views: 295
Upvote 0
Top