當前位置:首頁 » 安卓系統 » 沒有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-05-15 11:30:19 瀏覽:836
怎樣增加共享文件夾連接數量 發布:2025-05-15 11:24:50 瀏覽:961
安卓如何關閉單應用音量 發布:2025-05-15 11:22:31 瀏覽:351
抖音電腦後台伺服器中斷 發布:2025-05-15 11:11:59 瀏覽:307
sql2008伺服器 發布:2025-05-15 11:03:27 瀏覽:306
我的世界pe伺服器創造 發布:2025-05-15 10:51:17 瀏覽:608
移動端打吃雞要什麼配置 發布:2025-05-15 10:48:16 瀏覽:756
我的世界哪五個伺服器被炸了 發布:2025-05-15 10:36:16 瀏覽:994
ehcache存儲對象 發布:2025-05-15 10:35:31 瀏覽:528
搭建虛擬電腦的伺服器 發布:2025-05-15 10:29:31 瀏覽:270