I've looked for an answer, no luck. Looked a lot. I've downloaded an android example project from a friend, it's all in the correct layout, and the source files are there. Only I wish to open the whole project in eclipse, so that I can run it using the emulator I have installed. However, I cannot seem to be able to do this. I have all versions of android installed, and I have been advised that the files/project are for 2.3 so should be good. Have tried:
File --> New Android Project --> Using the existing file and build path It suggested to do file --> Import instead, so went there and imported an android project from existing workspace.
It gave this error: "Project has no default.properties file! Edit the project properties to set one".
Any help is much appreciated!
-
2possible duplicates stackoverflow.com/q/3857576/776084 and stackoverflow.com/q/3426011/776084RanRag– RanRag2012年01月24日 02:10:36 +00:00Commented Jan 24, 2012 at 2:10
-
you can create this file and input 'target=10'.Frank Cheng– Frank Cheng2012年01月24日 03:15:53 +00:00Commented Jan 24, 2012 at 3:15
3 Answers 3
New version of ADT plugin uses project.properties while older version use default.properties.
Please upgrade ADT plugin. It will work
Comments
I had this problem when trying to open one of my projects on a different computer, you need to update the ADT. In Eclipse go to Help> Install New Software. Type in https://dl-ssl.google.com/android/eclipse/ and install the latest versions of everything. Also make sure everything to do with the SDK is up to date!
Comments
Try creating a new project from existing source.