Discussion Forums  >  Uncategorized

Replies: 8    Views: 377

Olly101
Android Fan
Profile
Posts: 10
Reg: Jul 25, 2011
location unknow...
100
07/25/11 03:39 PM (14 years ago)

Where is the Source Code? (Android)

Downloaded source code for Android, and i'm trying to add it into Eclipse when I make a new project It asks me to link to a folder, but there are many folders - which one is the source code folder that I need to use?? Many thanks in advance
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/25/11 03:51 PM (14 years ago)
Download the zip folder from buzztouch, extract it to a folder and just point to that folder, it'll load up everything in it.
 
Olly101
Android Fan
Profile
Posts: 10
Reg: Jul 25, 2011
location unknow...
100
like
07/25/11 03:52 PM (14 years ago)
Thanks raveyd :)
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/25/11 03:55 PM (14 years ago)
No worries. I enjoyed writing 'folder' 3 times in one sentence!
 
Olly101
Android Fan
Profile
Posts: 10
Reg: Jul 25, 2011
location unknow...
100
like
07/25/11 04:04 PM (14 years ago)
Doesn't seem to have worked :( I'm now getting An SDK target must be specified?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
07/25/11 04:58 PM (14 years ago)
ok, in eclipse, Select: File > New > Project. Select: Android > Android Project in the box that pops up. Next Name the Project. Select: 'Create project from existing source'. Browse to your extracted folder and hit ok. Android 1.6 should be automatically ticked in the 'build target' section, if it isn't, tick it. Hit 'Finish' and that should be it.
 
Olly101
Android Fan
Profile
Posts: 10
Reg: Jul 25, 2011
location unknow...
100
like
07/26/11 02:47 AM (14 years ago)
It won't give me an option to tick the build target box - it is greyed out?
 
Olly101
Android Fan
Profile
Posts: 10
Reg: Jul 25, 2011
location unknow...
100
like
07/26/11 10:13 AM (14 years ago)
Can anyone point me to a possible solution for this? Much appreciated :)
 
steveh6883
buzztouch Evangelist
Profile
Posts: 383
Reg: May 15, 2011
Gosport, UK
3,830
like
07/27/11 04:45 AM (14 years ago)
You haven't finished correctly settng up an configuring eclipse yet by the sound of it. You need to be in eclipse, select: window > preferences > android then browse you PC for the location of the android sdk (if you did a default install it will be in program files > Android > android-sdk Also make sure you downloaded and installed the relevant packages using the Android SDK and AVD Manager Any other problems give me a shout, see one of my earlier posts 'Android -Stuck?' Regards Steve
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.