关于java.lang.classNotFoundException:Didn‘t find class “********” Activity"on path:/data/app***.apk异常的总结

最近出现了java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{*****Activity}: java.lang.ClassNotFoundException: Didn‘t find class "*****Activity" on path: /data/app/*******.apk的错误。解决问题如下:

1.Manifest文件中注册的类名称,有没有写错,包名是否写正确。

2.有些第三方包,直接将其引入,以前是可以的,但是在最新的adt中不行。必须在程序中新建一个libs文件夹,将第三方jar文件copy到该文件夹下。

3.在java Build path面板下的order and export中,一定要把引入的jar文件勾上,否则跟没引用一样。

时间: 2024-10-12 03:47:18

关于java.lang.classNotFoundException:Didn‘t find class “********” Activity"on path:/data/app***.apk异常的总结的相关文章

java.lang.ClassNotFoundException: Didn't find class "*****Activity" on path: /data/app/*******.apk

http://blog.csdn.net/lovexieyuan520/article/details/9032797/ 很多人出现了java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{*****Activity}: java.lang.ClassNotFoundException: Didn't find class "*****Activity" on path: /data/app/**

Caused by: java.lang.ClassNotFoundException: javax.persistence.Entity

1.错误描写叙述 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-7-12 19:41:17 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.29 usi

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

转自网络 Maven项目下update maven后Eclipse报错:java.lang.ClassNotFoundException: ContextLoaderL 解决方案: 1.右键点击项目--选择Properties 选择Deployment Assembly,在右边点击Add按钮,在弹出的窗口中选择Java Build Path Entries 2.点击Next,选择Maven Dependencies 3.点击Finish,然后可以看到已经把Maven Dependencies添加

java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFil

项目启动时报错:java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2的jar包版本号为2.1.8,所以类名是没有错误的,而jar包确实加入进去了.jar包加入的方式是通过user library. 问题解决的办法是:将jar包拷贝到WEB-INF下lib文件夹目录,重新启动tomcat问题解决. ================

java.lang.ClassNotFoundException: Didn't find class "stu.love.neihan.MainActivity" on path: DexPathL

java.lang.ClassNotFoundException: Didn't find class "stu.love.neihan.MainActivity" on path: DexPathList  解决方案: 今天遇到一个Bug: 具体的bug 显示: 10-06 22:34:43.019: E/AndroidRuntime(10813): Caused by: java.lang.ClassNotFoundException: Didn't find class &quo

java.lang.ClassNotFoundException: org.codehaus.jackson.JsonProcessingException 异常解决方案

问题: 在SpringMVC中使用Jackson实现json输出时配置如下: <!-- 输出对象转JSON支持 --> <bean id="stringConverter" class="org.springframework.http.converter.StringHttpMessageConverter"> <property name="supportedMediaTypes"> <list>

java.lang.ClassNotFoundException:org.springframework.web.context.ContextLoaderListener问题解决

今天搭建SSH项目的时候出现了例如以下错误: 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 网上查了一下.有些人说是没有spring的相关包.可是我检查这个包

java.lang.ClassNotFoundException: org.jaxen.JaxenException

java.lang.ClassNotFoundException: org.jaxen.util.FollowingSiblingAxisIterator 具体错误信息 严重: Servlet.service() for servlet [springmvc] in context with path [/xinghe-platform-web] threw exception [Handler processing failed; nested exception is java.lang.N

Caused by: java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataPro

1.错误描写叙述 信息: MLog clients using java 1.4+ standard logging. 2014-7-12 19:29:20 com.mchange.v2.c3p0.C3P0Registry banner 信息: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10] 2014-7-12 19:29:21 org.springframework.w