版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
于RK3399平臺(tái)開(kāi)發(fā)的產(chǎn)品。SDKA編譯開(kāi)發(fā)環(huán)境搭建。repo .cn:2222/repo-release/tools/repo.git-uss .git-m reporepo .cn:2222/repo-release/tools/repo.git-uss .git-m gitgitclonessh:// 以rk3399_Android_Pie_release_ sudoapt-getinstallopenjdk-8-exportPATH=$JAVA_HOME/bin:$PATHexportexportPATH=$JAVA_HOME/bin:$PATHexportadbpush等操作,其中adbremountdisable-verityadbdisable-verityubootcdu-bootmakecleancdu-bootmakeclean./make.sh 相應(yīng)cdcdmakemakeARCH=arm64相應(yīng)cdcdmakeARCH=arm64$$source$You'rebuildingon enu...pickaAndroidPie正常版本,rk3399-userdebug,輸入對(duì)應(yīng)序號(hào)50。,$make-├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──├──└──update.img。即可進(jìn)行刷機(jī)。對(duì)于已燒過(guò)其它固件的機(jī)器,請(qǐng)選擇低格設(shè)備,擦除idb,然后進(jìn)行刷機(jī)。AInitializingaBuildThissectiondescribeshowtosetupyourlocalworkenvironmenttobuildtheAndroidsourcefiles.YoumustuseLinuxorMacOS;buildingunderWindowsisnotcurrentlyForanoverviewoftheentirecode-reviewandcode-updateprocess,seeLifeofaNote:Allcommandsinthissiteareprecededbyadollarsign($)todifferentiatethemfromoutputorentrieswithinfiles.YoumayusetheClicktocopyfeatureatthetoprightofeachcommandboxtocopyalllineswithoutthedollarsignsortriple-clickeachlocopyitindividuallywithoutthedollarsign.ChoosingaSomerequirementsforthebuildenvironmentaredeterminedbytheversionofthesourcecodeyountocompile.Forafulllistofavailablebranches,seeBuildNumbers.Youcsochoosetodownloadandbuildthelatestsourcecode(calledmaster),inwhichcaseyouwillsimplyomitthebranchspecificationwhenyouinitializetherepository.Afteryouhaveselectedabranch,followtheappropriateinstructionsbelowtosetupyourbuildenvironment.SettingupaLinuxbuildTheseinstructionsapplytoallbranches,ludingandDebiantesting.MostotherdistributionsshouldhavetherequiredbuildtoolsForGingerbread(2.3.x)andnewerversions,ludingthemasterbranch,a64-bitenvironmentisrequired.Olderversionscanbecompiledon32-bitsystems.Note:SeeRequirementsforthecompleistofhardwareandsoftwarerequirements,thenfollowthedetailedinstructionsforUbuntuandMacOSbelow.InstallingtheThemasterbranchofAndroidintheAndroidOpenSourceProject(AOSP)comeswithprebuiltversionsofOpenJDKbelowprebuilts/jdk/sonoadditionalinstallationisOlderversionsofAndroidrequireaseparateinstallationoftheJDK.OnUbuntu,useOpenJDK.SeeJDKRequirementsforpreciseversionsandthesectionsbelowforForUbuntu>=Runthesudoapt-getsudoapt-getinstallopenjdk-8-ForUbuntuLTSTherearenoavailablesupportedOpenJDK8packagesforUbuntu14.04.The15.04OpenJDK8packageshavebeenusedsuccessfullywithUbuntu14.04.Newerpackageversions(e.g.thosefor15.10,16.04)werefoundnottoworkon14.04usingtheinstructionsbelow.Downloadthe.dckagesfor64-bitarchitecturefrom openjdk-8-jre-headless_8u45-b14-1_amd64.debwith openjdk-8-jre_8u45-b14-1_amd64.debwithSHA256 openjdk-8-jdk_8u45-b14-1_amd64.debwithSHA256 Optionally,confirmthechecksumsofthedownloadedfilestheSHA256stringlistedwitheachpackageabove.Forexample,withthesha256sumtool:sha256sum{downloaded.debInstallthesudoapt-getRundpkgforeachofthe.debfilesyoudownloaded.Itmayproduceerrorsduetomissingdependencies:sudodpkg-i{downloaded.debTofixmissingsudoapt-get-fUpdatethedefaultJavaversion-sudoupdate-alternatives--configjavasudoupdate-alternatives--configjavacforlikelycausesandsolutions.Installingrequiredpackages(UbuntuYouwillneeda64-bitversionofUbuntu.Ubuntu14.04 sudosudoapt-getinstallgit-coregnupgflexbisongperfbuild-essentialzip x11proto-core-devlibx11-devlib32z-devccachelibgl1-mesa-devlibxml2-utilsxsltprocNote:TouseSELinuxtoolsforysis,alsoinstallthepythoworkxpackage.Note:IfyouareusingLDAPandwanttorunARThosttests,alsoinstallthelibnss-sss:i386package.ConfiguringUSBUnderGNU/linuxsystems(andspecificallyunderUbuntusystems),regularuserscan'tdirectlyaccessUSBdevicesbydefault.Thesystemneedstobeconfiguredtoallowsuchaccess.Themendedapproachistocreateafile/etc/udev/rules.d/51-android.rules(astherootuser)andtocopythefollowinglinesinit.<username>mustberecedbytheactualusernameoftheuserwhoisauthorizedtoaccessthephonesoverUSB.#adbprotocolonpassion(Rockchip Thosenewrulestakeeffectthenexttimeadeviceispluggedin.Itmightthereforebenecessarytounplugthedeviceandplugitbackintothecomputer.ThisisknowntoworkonbothUbuntuHardyHeron(8.04.xLTS)anddLynx(10.04.xLTS).OtherversionsofUbuntuorothervariantsofGNU/linuxmightrequiredifferentconfigurat
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年口譯員技能提升及認(rèn)證服務(wù)合同3篇
- 增強(qiáng)現(xiàn)實(shí)工程價(jià)款組成詳解
- 家政服務(wù)辦事處招聘協(xié)議
- 民宿建設(shè)施工協(xié)議
- 廣告公司創(chuàng)意人員招聘合同
- 建筑檢測(cè)凈化工程協(xié)議
- 2025版電力設(shè)施安裝與環(huán)保驗(yàn)收服務(wù)協(xié)議3篇
- 高空作業(yè)工具協(xié)議
- 礦山通風(fēng)管涵施工協(xié)議
- 貸款審批與風(fēng)險(xiǎn)管理
- 高速公路改擴(kuò)建中的保通設(shè)計(jì)分析
- 美人蕉銹病病情調(diào)查報(bào)告
- 手工鎢極氬弧焊焊接工藝指導(dǎo)書
- 分級(jí)護(hù)理細(xì)化標(biāo)準(zhǔn)[資料]
- 北師大七年級(jí)上數(shù)學(xué)易錯(cuò)題(共8頁(yè))
- 板式換熱器計(jì)算
- 最新大學(xué)毛概期末考試重點(diǎn)總結(jié)
- 事故隱患排查治理統(tǒng)計(jì)分析制度
- 供應(yīng)商供方履約評(píng)價(jià)表(參考模板)
- 雜物電梯維護(hù)保養(yǎng)施工方案(共37頁(yè))
- 徒步行軍pt課件
評(píng)論
0/150
提交評(píng)論