Importing Android Listview refresh by pull, project-properties error

463 views Asked by At

I'm fairly new to Android, and using open source material for my needs during Android projects. Currently, for my internship assignment, I'm developing an Android application and want to apply a pull to refresh to the ListView. If found this implementation by Erik, a fellow user on SO.

https://github.com/erikwt/PullToRefresh-ListView

After trying to import the project, however, I get various errors stating that the project-properties haven't been set. Currently, I'm importing the project by downloading the zip and importing it as an existing Android project.

The exact error is: [2013-12-10 09:17:00 - PullToRefresh SampleProject] Project has no project.properties file! Edit the project properties to set one.

I get a whole list of other errors, but I think this is the root cause, since it generates multiple errors within files on the import of root libraries like 'android' in general.

Would anyone know how to fix this issue?

Thanks, Dennis

1

There are 1 answers

2
Dekra On

You should import the project as Android project from existing source code and define the current sdk to compile it. The file project.properties specifies the currrent sdk to compile the project and if the project is android library or not.

Check here for more details Project has no default.properties file! Edit the project properties to set oneLink