久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android:導(dǎo)入DrawerLayout無法解決

Android: Import DrawerLayout cannot be resolved(Android:導(dǎo)入DrawerLayout無法解決)
本文介紹了Android:導(dǎo)入DrawerLayout無法解決的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我正在嘗試從 Android 導(dǎo)入使用新的導(dǎo)航抽屜"所需的類http://developer.android.com/design/patterns/navigation-drawer.html#ImpactOnNav

I'm trying to import the classes required to use the new "Navigation Drawer" from Android http://developer.android.com/design/patterns/navigation-drawer.html#ImpactOnNav

抽屜布局:http://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html

ActionBarDrawerToggle:http://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html

ActionBarDrawerToggle: http://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html

無法解析導(dǎo)入android.support.v4.widget.DrawerLayout無法解析導(dǎo)入android.support.v4.app.ActionBarDrawerToggle

The import android.support.v4.widget.DrawerLayout cannot be resolved The import android.support.v4.app.ActionBarDrawerToggle cannot be resolved

我已將庫更新到最新版本,但仍然無法識(shí)別這些類.

I have updated the libraries to the latest version but still these classes are not recognized.

推薦答案

如何更新庫中的 JAR?

How do I update the JARs in libs?

我通常通過復(fù)制文件來做到這一點(diǎn).您將在 $ANDROID_SDK/extras/android/support 中找到 JAR,其中 $ANDROID_SDK 是安裝 Android SDK 的位置.

I usually do it by copying the file. You will find the JARs inside $ANDROID_SDK/extras/android/support, where $ANDROID_SDK is wherever your Android SDK is installed.

如果您使用 Eclipse,如果您在文件系統(tǒng)級(jí)別復(fù)制此文件,并且 Eclipse 已打開,請(qǐng)按 <F5> 并在包管理器中突出顯示項(xiàng)目,以便 Eclipse 獲取更改.更簡單的方法是將它拖出 SDK 并將 JAR 放入 Eclipse 中的 libs/ 中,這將更新文件系統(tǒng)并讓 Eclipse 知道更改.

If you use Eclipse, if you copy this at the filesystem level, and Eclipse is open, press <F5> with the project highlighted in Package Manager so Eclipse picks up the changes. Easier is to drag it out of the SDK and drop the JAR into libs/ right in Eclipse, which will both update the filesystem and let Eclipse know about the change.

添加 JAR 的 Eclipse 選項(xiàng)(右鍵單擊項(xiàng)目,然后從上下文菜單中選擇 Android Tools > Add Support Library...)也可能會(huì)執(zhí)行此操作.由于我的開發(fā)環(huán)境的一些特殊性,這種特殊方法對(duì)我不起作用.

It's possible that the Eclipse option to add the JARs (right-click over the project, then choose Android Tools > Add Support Library... from the context menu) will also do this. That particular approach doesn't work for me due to some peculiarities with my development environment.

這篇關(guān)于Android:導(dǎo)入DrawerLayout無法解決的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Java Remove Duplicates from an Array?(Java從數(shù)組中刪除重復(fù)項(xiàng)?)
How to fix Invocation failed Unexpected Response from Server: Unauthorized in Android studio(如何修復(fù)調(diào)用失敗來自服務(wù)器的意外響應(yīng):在 Android 工作室中未經(jīng)授權(quán))
AES encryption, got extra trash characters in decrypted file(AES 加密,解密文件中有多余的垃圾字符)
AES Error: Given final block not properly padded(AES 錯(cuò)誤:給定的最終塊未正確填充)
Detecting incorrect key using AES/GCM in JAVA(在 JAVA 中使用 AES/GCM 檢測(cè)不正確的密鑰)
AES-256-CBC in Java(Java 中的 AES-256-CBC)
主站蜘蛛池模板: 一区二区三区精品视频 | 国产成人艳妇aa视频在线 | 亚洲一区二区三区在线视频 | 一道本一区二区 | 欧美一级黄色免费 | 中文字幕日韩在线 | 国产一区精品在线 | 成年人网站免费视频 | 久久久久久国产精品免费免费狐狸 | 91精品福利 | 中文字幕乱码一区二区三区 | 国产精品无 | 伊人超碰在线 | 久久久久久黄 | com.色.www在线观看 | 久久国产福利 | 日韩中字幕 | 在线看av的网址 | 欧美亚洲成人网 | 久久精品国产免费 | 国产重口老太伦 | 女同久久另类99精品国产 | 宅女噜噜66国产精品观看免费 | 久久亚洲春色中文字幕久久久 | 日韩在线免费 | 亚洲精品中文字幕 | 在线精品国产 | 国产精品日韩欧美一区二区 | 中文字幕在线观看精品 | 粉色午夜视频 | 91精品国产乱码久久久久久久久 | 国产精品国产a | 91精品国产综合久久婷婷香蕉 | 人妖av| 久久综合激情 | 一区二区三区四区五区在线视频 | 国产成人精品综合 | 中文字幕高清av | 午夜视频大全 | 国产欧美一区二区精品忘忧草 | 国产91 在线播放 |