
Referencing a library project.
该引用路径是相对的,因为每个人都可能在不同的文件夹中有ABS,我们在Eclipse的project.propertIEs文件中也有不同的路径为androID.library.reference.1.是否有任何方式在本地覆盖该库路径,以便我们可以在我们的repo中使用project.propertIEs但Eclipse将在本地使用其他路径?目前,由于路径不同,每次从我们的仓库撤出后,我都必须手动修复该路径.
存在other *.properties files但Eclipse忽略它们:
解决方法 让每个人把它放在projectroot / libs中. ADT的较新版本(ADT 17及以上版本,IIRC版本)将自动将其拾取并编译到您的应用程序中.请注意,该文件夹是libs,带有s,而不是lib.使用/ lib不起作用. 总结local.propertIEs
Customizable computer-specific propertIEs for the build system. If you use Ant to build the project,this contains the path to the SDK installation. Because the content of the file is specific to the local installation of the SDK,the local.propertIEs should not be maintained in a source revision control system. If you use Eclipse,this file is not used.
ant.propertIEs
Customizable propertIEs for the build system. You can edit this file to overrIDe default build settings used by Ant and also provIDe the location of your keystore and key alias so that the build tools can sign your application when building in release mode. This file is integral to the project,so maintain it in a source revision control system. If you use Eclipse,this file is not used.
以上是内存溢出为你收集整理的android – Eclipse:覆盖project.properties中定义的库路径全部内容,希望文章能够帮你解决android – Eclipse:覆盖project.properties中定义的库路径所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)