UNEXPECTED TOP-LEVEL EXCEPTION: Error:com.android.dx.cf.iface.ParseException: class name (com/paypal/android/sdk/a) does not match path (com/paypal/android/sdk/A.class)
See original GitHub issueUNEXPECTED TOP-LEVEL EXCEPTION:
Error:com.android.dx.cf.iface.ParseException: class name (com/paypal/android/sdk/a) does not match path (com/paypal/android/sdk/A.class)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:520)
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.parseClass(Main.java:764)
at com.android.dx.command.dexer.Main.access$1500(Main.java:85)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1684)
at com.android.dx.command.dexer.Main.processClass(Main.java:749)
... 21 more
UNEXPECTED TOP-LEVEL EXCEPTION:
Error:com.android.dx.cf.iface.ParseException: class name (com/paypal/android/sdk/aa) does not match path (com/paypal/android/sdk/aA.class)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:520)
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.parseClass(Main.java:764)
at com.android.dx.command.dexer.Main.access$1500(Main.java:85)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1684)
at com.android.dx.command.dexer.Main.processClass(Main.java:749)
... 21 more
UNEXPECTED TOP-LEVEL EXCEPTION:
Error:com.android.dx.cf.iface.ParseException: class name (com/paypal/android/sdk/ab) does not match path (com/paypal/android/sdk/aB.class)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:520)
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.parseClass(Main.java:764)
at com.android.dx.command.dexer.Main.access$1500(Main.java:85)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1684)
at com.android.dx.command.dexer.Main.processClass(Main.java:749)
... 21 more
Issue Analytics
- State:
- Created 8 years ago
- Comments:37 (12 by maintainers)
Top Results From Across the Web
Error:com.android.dx.cf.iface.ParseException: bad class file ...
Check your settings.gradle and build.gradle files, and see if you have included the reference twice.
Read more >[Q] [Solved] Error while using dx - XDA Forums
UNEXPECTED TOP-LEVEL EXCEPTION : com.android.dx.cf.iface.ParseException: class name (com/dummy/sprite/BuildConfig ) does not match path ...
Read more >com.android.dx.cf.iface.ParseException: class name (...) does ...
今天调试一个新版的安卓软件,无法启动,报错:. UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.cf.iface.ParseException: class name ...
Read more >com.android.dx.cf.iface.ParseException: class name (...) does ...
ParseException :classname(com/vict/fsd/plugin/chart/BarChartView)doesnotmatchpath(chart/ ... does not match path (chart/BarChartView.class).
Read more >Exception - Android Developers
This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue is with the 1.4.0-beta6 build tools not supporting classes that are only different through different capitalization. The PayPal SDK has classes named both
A.class
anda.class
, yet the intermediate extraction step skips files that it thinks are duplicates. I’ll need to open a bug with the build tools folks.Ok i solved by changing in Project build.grandle classpath ‘com.android.tools.build:gradle:+’ with classpath ‘com.android.tools.build:gradle:1.3.0’