问题
I seem to have an issue.
I wanted to add some additional config info into project.properties in an android project but i notice when i open it there are comments telling me not to edit it
Is it safe to edit
Would it get regenerated at some point so i would lose my changes?
Is there an alternative?
EDIT
Somebody suggested looking here https://developer.android.com/tools/projects/index.html
which states
project.properties This file contains project settings, such as the build target. This file is integral to the project, so maintain it in a source revision control system. To edit project properties in Eclipse, right-click the project folder and select Properties.
but i found no reference at all about editing properties in eclipse
Any ideas?
it seems google thinks you should be able to do it
回答1:
Please see this info. The project.properties file should be edited using eclipse. Select project -> properties -> Android.
回答2:
You can Go on to Save the content of the project.properties
as it is somewhere on your PC and go on to play with it as you Like.
If you find problem after Editing it,You can Always go on to re-place it with the Saved file and clean the project once.
It will always fix your problem.
来源:https://stackoverflow.com/questions/11626545/android-project-properties-do-not-edit-your-changes-will-be-erased