Monday, January 9, 2012

"Project has no default.properties file! Edit the project properties to set one."error on adding existing phonegap project into workspace

I was facing the this issue  when i tried to add an existing Phonegap project into another workspace.
Reason:
Android Tools automatically generate the file default.properties which tells about target API level.
But when the project is added into the another workspace this file does not gets created.
Resolution:
Create a properties file default.properties directly under the Phonegap project directory.
Mention the target API level in it.
(ex: If the target API that you want to use is 8,then add the following code in the default.properties file)
 target=android-8

No comments:

Post a Comment

Resolve "Target runtime Apache Tomcat v6.0 is not defined." error

Go to window ->preferences ->Server->Runtime environments . add server Apache Tomcat v6.0 Mention the directory where apache-toma...