当前位置:首页 » 安卓系统 » 没有androidsupport

没有androidsupport

发布时间: 2022-08-16 12:55:41

❶ eclipse中没有android-support-v4.jar

android-support-v4.jar在SDK里,把路径改到SDK目录下extras\android\support\v4
X:\android-sdk\extras\android\support\v4

❷ sdk里没有Android Support Library怎么办

点击"Packages" > "Show Obsolete Packages"然后library就出来了

❸ 找不到android.support.v7,怎么办

导入包

❹ android support repository 没有

Android Support Library
在SDK Manager中下载Extras -> Android Support Library,Android Support Repository(用Android Studio开发),下载的文件 在<sdk>\extras\android\compatibility (或support)中
在工程根目录创建libs文件夹,拷贝需要的support jar包,right click JAR file,select Build Path -> Add To Build Path
工程类型
Android Projects, Test Projects, Library Projects(共享的代码和资源)
Android Projects
src/.java .aidl文件
bin/.apk output directory
jni/ native code
gen/ R.java generated by ADT
assets/raw asset files
res/anim color drawable layout menu raw values xml
libs/
project.propertiescontains project settings,such as the build target,maintain it in a source revision control system(放在版本控制中)
local.propertiescomputer-specific properties,not maintain it in a source revision control system(不放在版本控制中)
ant.propertiesproperties for the build system
build.xmlAnt build file
Library Projects
When you build an application that depends on a library project, the SDK tools compile the library into a temporary JAR file and uses it in the main project, then uses the result to generate the .apk. In cases where a resource ID is defined in both the application and the library, the tools ensure that the resource declared in the application gets priority and that the resource in the library project is not compiled into the application .apk.

android-support-v4.jar关联源码

在android-support-v4.jar相同的路径下新建一个“.properties”文件, 文件名与需要关联的jar包相同, 这里是“android-support-v4 .jar .properties”
文件内容是“src=D:/adt-bundle-windows-x86_64-20131030/sdk/extras/android/support/v4/src”。“src=”之后是源码的路径。

Close and re-open your android project

❺ 缺少android.support.v7.app

删除import后面的文件路径,重新导入

❻ 找不到android-support-v4.jar,android-support-v7.jar怎么办

可以使用下面的方法进行添加:Project->properties->JavaBuildPath->Libraries->AddExternalJars中加入sdk目录下的extras/android/support/v4/android-support-v4.jar(如果找不到,则需要用sdkmanager下载androidsupportpackage)

热点内容
我们一家访问人大陆 发布:2025-07-02 18:37:20 浏览:247
linuxgcc源码安装 发布:2025-07-02 18:34:51 浏览:868
离线缓存视频打不开 发布:2025-07-02 18:32:16 浏览:189
如果忘了旧密码如何更换密码 发布:2025-07-02 18:30:50 浏览:562
c语言布尔 发布:2025-07-02 18:20:28 浏览:488
软件acl怎么配置 发布:2025-07-02 18:16:46 浏览:668
python传递变量 发布:2025-07-02 18:16:07 浏览:845
服务器ip地址满 发布:2025-07-02 18:14:34 浏览:307
解压的球 发布:2025-07-02 18:14:30 浏览:614
2008文件服务器搭建教程 发布:2025-07-02 18:03:14 浏览:52