简体   繁体   English

Android开发人员(未知类)上的崩溃和ANR

[英]Crashes and ANR on android developer, unknown classes

Today i've checked my crashes and ANR on my google play developer account, The thing is for every crash, The location of the error doesn't exist in my project. 今天,我已经在我的Google Play开发者帐户中检查了崩溃和ANR,这是每次崩溃的原因,该错误的位置在我的项目中不存在。 I'm getting something like: 我得到类似的东西:

nameofpackage.ui.activities.ak.a nameofpackage.ui.activities.ak.a

My package called activities doesn't have any class called ak, neither a ! 我的名为activity的程序包没有任何称为ak的类,也没有!

also: 也:

nameofpackage.ui.chants.a.onClick nameofpackage.ui.chants.a.onClick

Chants also doesn't have a class called a ! 赞也没有叫做!的课程。 is this normal? 这正常吗?

Those names probably generated by proguard . 这些名称可能是由proguard生成的。 if you have the line: 如果您有一行:

-printmapping out.map

Inside the rules file of proguard then you have file called: proguard的rules文件中,然后有一个名为:

out.map

In your project tree, there you can see what was the origin class of this Exception . 在项目树中,可以看到此Exception的原始类是什么。

resolved, there is proguardgui which retrace the pile. 解决后,有proguardgui可以回撤桩。 You can fin it in: sdk\\tools\\proguard\\bin 您可以在以下位置查找它:sdk \\ tools \\ proguard \\ bin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM