移除工程中不用的jar包。
project.properties文件中,如果没有其他手写配置,把多余的前面没有"#"的代码去掉,留下target=android-x(x 是自动根据android库编译的版本号),如下图。然后编译工程。
project.properties文件中,如果没有其他手写配置,把多余的前面没有"#"的代码去掉,留下target=android-x(x 是自动根据android库编译的版本号),如下图。然后编译工程。
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "ant.properties", and override values to adapt the script to your
# project structure.
target=android-4
本文介绍如何在Android项目中移除不必要的jar包,并通过修改project.properties文件来优化target版本配置。通过此过程,可以提升项目的编译效率并确保资源的有效利用。
2949

被折叠的 条评论
为什么被折叠?



