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

默認(rèn)情況下,android 創(chuàng)建新項(xiàng)目為 ActionBarActivit

By default android creating new project as ActionBarActivity(默認(rèn)情況下,android 創(chuàng)建新項(xiàng)目為 ActionBarActivity)
本文介紹了默認(rèn)情況下,android 創(chuàng)建新項(xiàng)目為 ActionBarActivity的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

我最近更新了eclipse,SDK和我的問題是

I recently updated eclipse, SDK and my problems are

  1. 默認(rèn)采用 fragment_main.xml
  2. 將默認(rèn)活動(dòng)擴(kuò)展到 ActionBarActivity
  3. 默認(rèn)添加庫 appcompat 7

我在添加庫時(shí)沒有任何問題,但是當(dāng)我嘗試運(yùn)行時(shí),它并沒有在設(shè)備中執(zhí)行(2.3 android).我注意到它并更改為 Activity.

I dont have any issues with adding the library, but when i am trying to run then it is not executing in the device(2.3 android). I noticed it and changed to Activity.

如果我將它擴(kuò)展到 Activity 并再次運(yùn)行它,下次在創(chuàng)建新的 Activity 時(shí)會出現(xiàn)同樣的問題......

If i extends it to Activity and run it and again for the next time the same problem arises while creating new Activity like...

創(chuàng)建 2 個(gè)擴(kuò)展 ActionBarActiity 的 xml 文件.

Creating 2 xml files with extending ActionBarActiity.

我只希望新類擴(kuò)展 Activity 而不是 ActionBarActivity 我的目標(biāo)設(shè)備是 2.3 及以上而不降級它

I just want the new class to extend Activity but not ActionBarActivity where my target device is 2.3 and above without downgrading it

推薦答案

SDK v4.4 自帶.這對開發(fā)人員來說是一個(gè)加分項(xiàng),因?yàn)殚_發(fā)人員不需要手動(dòng)將 ActionBarActivity 添加到他們的項(xiàng)目中.您的問題有兩種解決方案.

It comes in SDK v4.4 . It is a plus point for developers because developers don't need to manually add the ActionBarActivity into their project. There are two solutions for your problem.

  1. 將您的 SDK 降級到 4.3 或更低版本.
  2. 刪除 ActionBarActivity 并在您的 java 文件中擴(kuò)展 Activity.

兩者都適合你.

這篇關(guān)于默認(rèn)情況下,android 創(chuàng)建新項(xiàng)目為 ActionBarActivity的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

Why does the android emulator camera stop unexpectedly?(為什么android模擬器相機(jī)會意外停止?)
Android camera , onPictureTaken(byte[] imgData, Camera camera) method amp; PictureCallback never called(Android camera , onPictureTaken(byte[] imgData, Camera camera) 方法 amp;PictureCallback 從未調(diào)用過) - IT屋-程序員軟件開發(fā)技
Understanding the libGDX Projection Matrix(了解 libGDX 投影矩陣)
QR code reading with camera - Android(使用相機(jī)讀取二維碼 - Android)
Android mock Camera(Android 模擬相機(jī))
Multiple cameras in libgdx ( probably similar in other frameworks )(libgdx 中的多個(gè)攝像頭(在其他框架中可能類似))
主站蜘蛛池模板: 久久综合九色综合欧美狠狠 | 亚洲综合大片69999 | 欧美一级片在线看 | 男女羞羞视频免费看 | 91精品国产91久久久久青草 | 天天曰天天曰 | 大吊一区二区 | 日本三级网站在线观看 | 精品国产91 | 日韩欧美网 | 亚洲欧美日韩久久久 | 操操操av| 中文字幕在线网 | 国产精品国产自产拍高清 | 久久6视频 | 综合九九 | 欧美8一10sex性hd | 成人免费视频网站在线看 | 久久久久亚洲精品 | 欧美一区二区精品 | 欧美一级免费看 | 亚洲精品中文在线 | 国产精品一级在线观看 | 综合色站导航 | 中文字幕专区 | 午夜a√ | 蜜桃av一区二区三区 | 99久久精品免费视频 | 成人国产综合 | 久久久久成人精品免费播放动漫 | 日韩1区| 午夜成人免费视频 | 精品视频久久久 | 国产欧美精品一区二区三区 | 精品一区二区在线视频 | 综合久久久久久久 | 精品在线观看一区 | 高清免费在线 | 久久久性色精品国产免费观看 | 日日操夜夜操天天操 | 免费av观看 |