每當我設置如何在ant.properties中設置Android庫絕對路徑?
android.library.reference.1=G\:Projects\Android\library\core\
在ant.properties
,我得到以下錯誤,而建設:
G\:Projects\Android\library\core\ resolve to a path with no project.properties
file for project G:\Projects\Android\library\test
的路徑是正確的,並且該文件夾不包含project.properties文件。我該如何解決這個問題? Android構建是否只考慮相對路徑?
嘗試G:\而不是G \: – user999717
android.library.reference.1 = G:\\ Projects \\ Android \\ library \\ core \\,這不工作或者我得到android.library.reference .1 = G:\\ Projects \\ Android \\ library \\ core \\ – Azlam