原文链接:http://blog.csdn.net/wangjiangah/article/details/19039881
在编写安卓程序时,当我import android.support.v4.app.FragmentActivity;出现题目中的错误,主要是缺少android.support的库,解决方法为下述链接:
http://www.qbmob.com/?p=854
在ADT中需要按照以下步骤:
1、右击当前工程,查找Properties
2、选择Java Build Path
3、选择Libraries tab,点击右边面板的Add External JARs按钮
4、选择android-support-v4.jar文件,这一文件的常见路径为:YOUR_DRIVE\android-sdks\extras\android\support\v4\android-support-v4.jar
5、完成添加后,选择Order and Export标签,确认即可。
分享到:
相关推荐
cocos The import com.loopj cannot be resolved 是缺失了jar包。导入lib文件夹,或者刷新eclipse就好了。
jce.jar/jsse.jar解决The import javax.crypto cannot be resolved的问题
导入工程的“The import android cannot be resolved”错误解决方法
解决The type org.springframework.dao.support.DaoSupport cannot be resolved.bao报错
rsslib4j-0.2.jar jar包,解决java报错找不到资源包问题 The import org.gnu cannot be resolved。 报错 import org.gnu.stealthp.rsslib.*; RSSChannel、RSSException、RSSHandler、RSSItem、RSSParser
org.apache.commons.lang.exception.NestableRuntimeException cannot be resolved 解决 替换JAR包即可
org.apache.poi JAR包,解决个人的 import org.apache.commons.beanutils.PropertyUtilsBean; import org.apache.commons.lang.StringUtils;..."The import org.apache.poi cannot be resolved"的问题
出错一:The import android.support cannot be resolved类型解决 如图,如果报The import android.support cannot be resolved或者android.support.v7.app.ActionBarActivity类似的错误。 解决方案一 :缺少相关...
org.apache.http的相关类,android高版本SDK需要用到,解决'The import org.apache.http.HttpEntity cannot be resolved'>等问题: > ★org.apache.http.NameValuePair. Fix the build path then try building this ...
The type org.apache.tools.ant.Task cannot be resolved. It is indirectly referenced from required .class files错误....., 解决办法:在工程中加入此jar包
org.apache.poi JAR包,解决个人的 import org.apache.commons.beanutils.PropertyUtilsBean; import org.apache.commons.lang.StringUtils;..."The import org.apache.poi cannot be resolved"的问题
解决经常遇到的The import org.apache.commons.codec cannot be resolved问题,只需导入文件中的commons-codec-1.11.jar就可以,如和导入包就不赘述了。
commons-lang3-3.1.jar缺失会引起The import org.apache.commons.lang3 cannot be resolved错误
Eclipse Jee Oxygen 安装 activiti-5.18 1.在jee-oxygen\eclipse\configuration\org.eclipse.update 中找到platform.xml,在里面添加 <feature id="org.activiti.designer.feature" version="5.18.0.201508100929" ...
Improving existing Java Code with a UML modeling environment
该文章讲述了一种关于云计算的新的评估体系。里面原文及翻译大概有三十几页,不过图比较多,还有一些参考的文献。
JSONObject所必须要用到的6个包,他们分别是commons-beanutils-1.7.0.jar、commons-collections-3.1.jar、commons-lang-2.5.jar、commons-logging.jar、ezmorph-1.0.3.jar、json-lib-2.1-jdk15.jar
下地址https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/3.1.0/ 各个版本都有 javax.servlet-api-3.1.0-sources.jar
ITextRenderer cannot be resolved to a type 错误就是因为缺少这个jar包