[英]I am getting this error in android
java.lang.VerifyError: com.MinngApp.Registration$4
at com.MinngApp.Registration.onCreate(Registration.java:237)
I am getting all the nodes values from the webservice and then insert it into the local database. 我从webservice获取所有节点值,然后将其插入本地数据库。 6-7 tables are giving proper response and proper data also.
6-7表也提供了适当的响应和适当的数据。 But after that when I am taking another nodes then I got the error.
但在那之后,当我接收另一个节点时,我得到了错误。
So can anyone help me? 所以有人可以帮助我吗?
Have A Look on LogCat and see what's causing the verifyerror
. 看看LogCat,看看是什么导致了
verifyerror
。 It's probably some method in a java.lang class that is not supported on the android SDK
level you are using (for instance, String.isEmpty()).
它可能是java.lang类中的一些方法,在您正在使用的android
SDK
级别上不受支持(例如, String.isEmpty()).
A VerifyError
means that Android cannot find something your com.MinngApp.Registration
refers to. VerifyError
意味着Android无法找到com.MinngApp.Registration
引用的内容。 It may be related to a wrong build target (some class that exists only in a later version of the Android SDK). 它可能与错误的构建目标有关(某些类仅存在于Android SDK的更高版本中)。 We need more details to know exactly what the error is.
我们需要更多细节才能确切地知道错误是什么。
The cause exception from the LogCat would be a good start. 来自LogCat的原因异常将是一个良好的开端。 Also look at the log above the exception it sometimes help in finding which class can't be found and which one had the bad reference.
还要查看异常上面的日志,它有时有助于找到哪个类无法找到以及哪个类有错误的引用。 It may contain something along the lines of:
它可能包含以下内容:
WARN/dalvikvm(1052): VFY: unable to resolve .......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.