3
我從這裏 從這裏建築osmand與「蟻調試」給出錯誤
我現在想通過螞蟻用命令螞蟻調試打造APK,但它無法簽出最新Osmand源代碼,並遵循所有的步驟
我執行以下命令:
[email protected]:~/dev/osmand/android/OsmAnd$ ant -f build.xml
which gives output as
BUILD SUCCESSFUL
當我嘗試
[email protected]:~/dev/osmand/android/OsmAnd$ ant debug
後
失敗,並在結束後的日誌:在XML
-crunch:
[crunch] Crunching PNG Files in source dir: /home/moonshooter/dev/osmand/android/OsmAnd/res
[crunch] To destination dir: /home/moonshooter/dev/osmand/android/OsmAnd/bin/res
[crunch] Crunched 0 PNG files to update cache
-package-resources:
BUILD FAILED
/home/myname/dev/osmand/android/OsmAnd/build.xml:27: The following error occurred while executing this line:
/home/myname/dev/osmand/android/OsmAnd/build.xml:28: Missing attribute libraryRFileRefid
Total time: 18 seconds
27日和28日線
<do-only-if-not-library elseText="Library project: do not package resources...">
<aapt executable="${aapt}" command="package" versioncode="${version.code}"versionname="${version.name}" debug="${build.is.packaging.debug}" manifest="${out.manifest.abs.file}"assets="${asset.absolute.dir}" androidjar="${project.target.android.jar}" apkfolder="${out.absolute.dir}"nocrunch="${build.packaging.nocrunch}" resourcefilename="${resource.package.file.name}"resourcefilter="${aapt.resource.filter}" libraryResFolderPathRefid="project.library.res.folder.path"libraryPackagesRefid="project.library.packages" previousBuildType="$`enter code here`{build.last.target}"buildType="${build.target}" ignoreAssets="${aapt.ignore.assets}">
,這裏是整個文件http://pastebin.com/Dv20iT8r
任何一個可以告訴我是什麼問題是什麼?
= 「project.library.bin.r.file.path」 我認爲螞蟻返回的錯誤是非常明確的 - ' '任務需要'libraryRFileRefid'屬性來工作。 –
pepuch
2013-03-15 14:19:32
我不擅長螞蟻,圖書館應該在哪裏?安裝在系統中還是需要一些文件夾? – 2013-03-16 04:23:18
它說「缺少屬性libraryRFileRefid」它應該在哪裏定義和它需要屬性? – 2013-03-16 04:31:06