• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps K9 Mail Mods

griffinmt

Newbie
About 4 months ago I loaded up the tools to my pc for making android apps. I built a real simple 'hello world' app and got it to work. After a pat on the back :D I promptly went about doing other unrelated stuff :mad: .

Now I am buying a couple of tablets for my young grandkids, and want them to 'safely' use email. Could not find an app that did what I wanted, so I downloaded K9Mail (via svn) and pulled it into eclipse. Figured that the first step should be to just build it without changes.

But when I try, it gives me about 1000 errors, including the first one "com.fsck.k9.R cannot be resolved to a variable".

Can anyone help me figure what a did wrong to get started???

TIA
 
Hello griffenmt,
I have moved you thread to Application Development so hopefully more folks familiar with compiling open source projects can help.
 
Thanks Chris. Appologies for not taking the time to find the right forum.:o

No apology needed. I just wanted to make sure your thread was getting the right eyeballs on it. Don't be afraid to ask questions, we strive to keep Android Forums friendly and inviting.:)
 
Did the clean but no change.

Could not find anything in a search, but perhaps using wrong search parms. Suggestions???

Martyn
:confused:
 
Ok, I completely uninstalled android sdk, ant, jdk and eclipse.

Then I installed jdk 6u24, updated the system path.
Installed eclipse and android sdk, update path, ran android sdk to load up all the api levels etc.
Installed Ant and updated the path.

Downloaded k9mail using svn on a fedora system then copied it over to the Windows system.

Now I am ready to 'import' it into eclipse, but before I start, what else must I do??

Martyn
 
Dont "import" it per se. Instead, go to file > new > Android project and select the "from existing source" check box and select the root folder of the k9 project.
 
Had to add the adt tools first, but when I tried, it gives the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group

Martyn
 
Did some more searches and found the answer. When doing this with eclipse, it must be "Run as Administrator"

Thanks,
Martyn
 
After loading in the k9mail project, got the following warning, among many others:
Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties. k9mail line 1 Android ADT Problem

So what have I done wrong now!!
Doing the fix properties ends up with the same error.

Trying to work with all this Java gobledy goop is a royal pain.

Martyn
 
Back
Top Bottom