android: Project.Properties - do not edit, your changes will be erased?

∥☆過路亽.° 提交于 2019-12-04 04:28:36

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!