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

class name (*) does not match path (*) #6

Closed
YuJunKui1995 opened this Issue Mar 20, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@YuJunKui1995

YuJunKui1995 commented Mar 20, 2017

Error:Error converting bytecode to dex:
Cause: PARSE ERROR:
class name (com/baidu/platform/comapi/map/n) does not match path (com/baidu/platform/comapi/map/N.class)
...while parsing com/baidu/platform/comapi/map/N.class

@typ0520

This comment has been minimized.

Show comment
Hide comment
@typ0520

typ0520 Mar 20, 2017

Owner

@YuJunKui1995 这个是不是你的地图sdk比较旧,网上能搜到同类的错误,http://bbs.lbsyun.baidu.com/forum.php?mod=viewthread&tid=11746

Owner

typ0520 commented Mar 20, 2017

@YuJunKui1995 这个是不是你的地图sdk比较旧,网上能搜到同类的错误,http://bbs.lbsyun.baidu.com/forum.php?mod=viewthread&tid=11746

@typ0520

This comment has been minimized.

Show comment
Hide comment
@typ0520

typ0520 Mar 21, 2017

Owner

@YuJunKui1995 发下你使用的百度sdk的jar包,还有你当前的系统、com.android.tools.build:gradle版本号、studio的版本号都贴一下吧,我的邮箱php12345@163.com

Owner

typ0520 commented Mar 21, 2017

@YuJunKui1995 发下你使用的百度sdk的jar包,还有你当前的系统、com.android.tools.build:gradle版本号、studio的版本号都贴一下吧,我的邮箱php12345@163.com

@typ0520

This comment has been minimized.

Show comment
Hide comment
@typ0520

typ0520 Mar 24, 2017

Owner

@YuJunKui1995 问题已解决,使用0.0.3-beta4这个版本,是因为mac和windows上文件不区分大小写,混淆后的包同一个路径下出现A.class和a.class,这个时候在mac和windows上解压jar包到硬盘上然后在压缩回去就会出问题,把这块的操作全部放在内存完成就可以解决了

Owner

typ0520 commented Mar 24, 2017

@YuJunKui1995 问题已解决,使用0.0.3-beta4这个版本,是因为mac和windows上文件不区分大小写,混淆后的包同一个路径下出现A.class和a.class,这个时候在mac和windows上解压jar包到硬盘上然后在压缩回去就会出问题,把这块的操作全部放在内存完成就可以解决了

@typ0520 typ0520 closed this Mar 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment