Skip to content Skip to sidebar Skip to footer

Project Has No Project.properties File

I am developing Android app in Eclipse. Currently, eclipse complains: 'Project has no project.properties file! Edit the project properties to set one.' But I do have project.proper

Solution 1:

Right click on project -->Android Tools-->Fix Project Properties.....

Solution 2:

Sometime the 'Fix Project properties...' is not useful. I suggest that you can open that file and edit+save it, then delete the 'project.properties' file. At last you can create a new 'project.properties' file and paste the content of the old 'project.properties' file's content.

That worked for me.

Solution 3:

The accepted answer may had the problem solved a few years ago but it doesn't work anymore with the more recent tools.

This is a known bug on Eclipse.

The only way to solve this problem is by creating again a project.properties file, which no one posted how it looks inside so I'll be posting this as an answer:

# 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 edit# "ant.properties", and override values to adapt the script to your# project structure.## To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt# Project target.target=android-19

Please note: set the correct target API for your project.

Solution 4:

Generally Android Tools-->Fix Project Properties should work. but it didn't solve my problem. I had just delete project from from workspace and import again second time no problem..

Solution 5:

properties->Android lint preferences -> ignore all ->make a clean and build -> properties->Android lint prefrences -> include all

Post a Comment for "Project Has No Project.properties File"