posts - 33, comments - 0, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          Android make sdk 錯(cuò)誤解決方案

          Posted on 2011-08-20 10:09 馬航 閱讀(1103) 評論(0)  編輯  收藏

          在編譯過程中出現(xiàn)錯(cuò)誤信息包含以下內(nèi)容:

          usr/share/pc-bios/bios.bin   …………      tools/lib/pc-bios/bios.bin

          usr/share/pc-bios/vgabios-cirrus.bin   …………     tools/lib/pc-bios/vgabios-cirrus.bin

          說明在路徑:~/Android_Src/out/host/linux-x86/usr/share下找不到pc-bios文件夾,并不是在本機(jī)系統(tǒng)目錄/usr/share……下找不到該文件夾,本機(jī)系統(tǒng)這個(gè)目錄下的確沒有的。

          解決方法為:

          復(fù)制:~/Android_Src/prebuilt/common下的pc-bios文件夾到以下目錄:~/Android_Src/out/host/linux-x86/usr/share即可解決,命令行輸入:

          $cp ~/Android_Src/prebuilt/common/pc-bios   ~/Android_Src/out/host/linux-x86/usr/share  (測試未通過)

          $cp ~/Android_Src/prebuilt/common/pc-bios   ~/Android_Src/usr/share  (測試OK)

          在編譯的過程中又出現(xiàn)如下提示:

          ……………………

          Docs droiddoc: out/target/common/docs/online-sdk

          htmlDir not a directory: out/target/common/docs/gen

          DroidDoc took 105 sec. to write docs to out/target/common/docs/online-sdk

          Package SDK: out/host/linux-x86/sdk/android-sdk_eng.neo_linux-x86.zip

          sdk/build/tools.atree:134: couldn't locate source file: framework/ddmlib-tests.jar

          sdk/build/tools.atree:135: couldn't locate source file: framework/ninepatch-tests.jar

          sdk/build/tools.atree:136: couldn't locate source file: framework/common-tests.jar

          sdk/build/tools.atree:138: couldn't locate source file: framework/sdkuilib-tests.jar

          make: *** [out/host/linux-x86/sdk/android-sdk_eng.root_linux-x86.zip] Error 44

          大概的意思在framework目錄下找不到ddmlib-tests.jar     ninepath-tests.jar     common-tests.jar     sdkuilib-tests.jar這幾個(gè)文件,有一點(diǎn)要說明的是這里的framework目錄指的是:~/Android_Src/out/host/linux-x86/framework   個(gè)目錄,你可以在這里找到以下幾個(gè)文件common.jar     ddmlib.jar     ninepatch.jar     sdkuilib.jar,然后將它們分別復(fù)制一份,并重命名,命名的原則很簡單,就是在原有的名字后面跟上-tests即可。

          接下來繼續(xù)編譯,沒有其他錯(cuò)誤的話,命令行會(huì)出現(xiàn)以下提示:

          Docs droiddoc: out/target/common/docs/online-sdk

          htmlDir not a directory: out/target/common/docs/gen

          DroidDoc took 90 sec. to write docs to out/target/common/docs/online-sdk

          Package SDK: out/host/linux-x86/sdk/android-sdk_eng.neo_linux-x86.zip

          xxx@xxx:~/Android_Src$ 

          這說明sdk編譯也已經(jīng)完成。


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 盐亭县| 临夏市| 新郑市| 揭东县| 永川市| 永善县| 肥乡县| 巫溪县| 汉寿县| 喀喇沁旗| 玛多县| 凌源市| 海林市| 壤塘县| 南郑县| 康马县| 阿克陶县| 汪清县| 缙云县| 四会市| 蒲江县| 万安县| 襄樊市| 金坛市| 北安市| 金平| 伊宁市| 同德县| 雅江县| 桃江县| 汾西县| 荣昌县| 海城市| 左贡县| 连云港市| 梁河县| 文化| 漳浦县| 松潘县| 金川县| 游戏|