文稿android開發(fā)指南_第1頁
文稿android開發(fā)指南_第2頁
文稿android開發(fā)指南_第3頁
文稿android開發(fā)指南_第4頁
文稿android開發(fā)指南_第5頁
已閱讀5頁,還剩33頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1.1.前Ubuntu安 請根據(jù)自己的機器情況進(jìn)行選擇安裝類型。如果希望自定義分區(qū)請選擇“Somethingelse”。如果上一步中選擇了“Somethingelse”,請自己進(jìn)行分區(qū)設(shè)置。Ubuntu工具安$sudoapt-getinstallgit-coregnupgflexbisongperflibsdl1.2-dev\libesd0-devlibwxgtk2.8-devsquashfs-toolsbuild-essentialzipcurl\libncurses5-dev$sudoapt-getinstallgit-coregnupgflexbisongperflibsdl1.2-dev\libesd0-devlibwxgtk2.8-devsquashfs-toolsbuild-essentialzipcurl\libncurses5-devzlib1g-devpngcrushschedtoollibxml2libxml2-utils\JDK安裝 $$sudotarzxvf./jdk-8u92-linux-在 下新建 ,拷貝解壓文件到 exportJAVA_HOME=/usr/java/jdk1.6.0_10exportJAVA_HOME=/usr/java/jdk1.6.0_10(JDK文件夾名字一致)exportPATH=$PATH:$JAVA_HOME/bin$$sourcerepo安$mkdir$mkdirrepo到~/bin$$ oda+x oda+x $$exportrepohelp$$repo-initinit->安裝helpJDK安裝 “我的電腦”->->系統(tǒng)變量->新建,新建JAVA_HOME變量,變量值為JDK安裝 ->Eclipse安裝配置與系統(tǒng)版本配套的Eclipse安裝包,Eclipse官網(wǎng)地址: 進(jìn)行解壓縮.zip文件,雙擊eclipse.exe即可打開Eclipse。2)Eclipse環(huán)境配置ADT的安裝有安裝和離線安裝兩種方法。EclipseHelpInstallNewSoftwareAddRepositoryArchive,選中準(zhǔn)備好的ADT壓縮包。添加Name后,點擊OK返回到install框,在Name一欄中勾選DeveloperTools即可,然后按照提示進(jìn)行安裝,同意條款直到安裝完成,重啟Eclipse。選擇好的ADT壓縮包。 并解壓縮AndroidSDKEclipseWindow->Preferences->Android->SDKLocation->BrowseAndroidSDK ,然后點擊Apply和OKAndroid$source$sourcefull_XXXX-engforengversionfull_XXXX-userdebug$$make–j$(processes編譯$$makepl–j$(processes編譯$$makelk–j$(processes$make$makekernel–j$(processes制作$$makebootimage–j$(processesandroidsystem$makesystemimage–j$(processesAndroid必要條件xflash.exe(win)/Normalload(IncludeimagefilesandscatterfileSpecialimagesandscatterfastbootcommandscriptXflash工具獲取路徑如何構(gòu)建鏡像執(zhí)行如下命令后,系統(tǒng)會自動創(chuàng)建FES文件夾并生成lk.bin,F(xiàn)ES文件夾了在進(jìn)$source 路徑燒準(zhǔn)備Normalload(IncludeimagefilesandscatterfileSpecialimagesandscatter請參考“Howtobuildspecialimages”。fastbootcommandscript如:fastboot命令文件名為xflash.bat。fastbootfastbootflashrecoveryfastbootflashuserdatauserdata.imgfastbootreboot燒寫使用USB步驟2.運行fastboot命令文件如:xflash.batfastbootdevicesfastbootflashgptPGPTfastbootflashpreloaderpreloader_amt6797_64_open.binfastbootflashrecoveryrecovery.imgfastbootflashscp1tinysys-scp.binfastbootflashscp2tinysys-scp.binfastbootflashlklk.binfastbootflashlk2lk.binfastbootflashbootboot.imgfastbootflashlogologo.binfastbootflashtee1trustzone.binfastbootflashtee2fastbootflashsystemsystem.imgfastbootflashcachecache.imgfastbootflashuserdatauserdata.imgfastbootreboot準(zhǔn)備Normalload(IncludeimagefilesandscatterfileSpecialimagesandscatter請參考“Howtobuildspecialimages”。fastbootcommandscript燒寫1.fastboot使用USB步驟2.運行fastboot命令文件fastbootdevicesfastbootflashpreloaderpreloader_amt6797_64_open.binfastbootflashrecoveryrecovery.imgfastbootflashscp1tinysys-scp.binfastbootflashscp2tinysys-scp.binfastbootflashlklk.binfastbootflashlk2lk.binfastbootflashbootboot.imgfastbootflashlogologo.binfastbootflashtee1trustzone.binfastbootflashtee2fastbootflashsystemsystem.imgfastbootflashcachecache.imgfastbootflashuserdatauserdata.imgfastbootrebootAndroid應(yīng)用程序創(chuàng)建一個Android2.ApplicationName、ProjectName、PackageNameSDK版本、UI樣式,單擊Next按鈕。3.Next

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論