chirpradio / chirpradio-android

Android phone app for http://chirpradio.org/

Home Page:http://code.google.com/p/chirpradio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when launching the chirpradio-android project in Eclipse

patelc75 opened this issue · comments

I followed these instructions I wrote for bringing up the IDE and get this error. Please look at steps 5,7, and 8 in particular in the wiki.

Also, which version of JDK do you have installed?

Generally android requires JDK 1.5+. all versions except the latest mimic the 1.5 API, but they should be mostly compatible either way. I can't tell what your issue is since the error trace is folded, but I surmise it's because you don't have the android libraries on your build path. to fix that, you'll probably need to re-add the project to eclipse as an android project if you can.

also, i think you can check in wiki-related images directly into the wiki repository now. i know that in addition to the gollum interface, the wikis themselves are just flat files in a git repo

git@github.com:chirpradio/chirpradio-android.wiki.git

Did you import the project as an Android app or as a Java project? Where you see 'JRE System Library' in your project sidebar, it should show 'Android 2.1-update1'.

When I try to import the project as an Android project, I get this error. It says SDK target does not match min SDK Version. I installed Android 2.2 in Step 5 of the wiki. More ideas?

Try installing the Android 2.1 SDK also (I would just install them all if you have disk space).

jim is correct. the minimum version in the androidmanifest is 7, which requires 2.1

I installed Android 2.1 in Step 5 of the wiki and that did the trick. I also had to update the Java compiler compliance to 1.6 under @project > Properties > Java Compliance@. Thanks guys!