franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
07/17/14 06:43 PM (10 years ago)

importing project into eclipse

having lots of trouble figuring this out. find out everything on the help video is pretty much too old to help me now. keeps going under Android 4.0. but theres a tiny red cross next to the project name. all my sdks are downloaded, eclipse is fully downloaded. tried going by the instructions and still nothings happening for me. and really want to see the AVDM but nothing! and advice or anyone wanna give me a quick tutorial?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 06:56 PM (10 years ago)
Usually these documents are also included in the download package as well. http://www.smugwimp.com/btMods/instructions-v3-android.pdf Don't forget to add your Google Play Services; it's a biggie. https://www.buzztouch.com/files/howtos/GPSRefBT.pdf Ignore any mention of 'google-play-services-remove.jar', it no longer seems to be used. Cheers! -- Smug
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 07:27 PM (10 years ago)
thanks heaps SmugWimp. its looking ok but how do i view it in the AVDM? it says i have to create an AVD. how do i do that?
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 07:37 PM (10 years ago)
Oh, that's a 'virtual device'. Basically it's an Android Device Emulator, rather than a device. I suggest using a device rather than the emulator; much faster. However, there are many cases (like, I have only one android device, yet I create stuff for several different types) when you 'must' use it. For those times, you'll use your 'AVD Manager', which is under the "Window" menu, between 'run' and 'help' of your ADT/Eclipse menu. At least, it is on the Mac. Some long winded but good info is here: http://developer.android.com/tools/devices/managing-avds.html There is a half decent tutorial here: http://theopentutorials.com/tutorials/android/how-to-create-android-avd-emulator-in-eclipse/ but you can kind of 'ignore' step 4; just use Android APIs, and add the Google Play Services Library to your project as outlined by the tutorial above. This *should* get you going, but if you get stuck, stop back to the forum and let us know. Cheers! -- Smug
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 07:40 PM (10 years ago)
thanks its all up and running just have to put in my code from Buzztouch now... how do i do that?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/17/14 08:14 PM (10 years ago)
The project you added to eclipse is the code from buzztouch.Or do you mean how to run it on the simulator(avd)?
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 08:18 PM (10 years ago)
how to run it in the avd? i cant find it
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 08:57 PM (10 years ago)
"ususally" you just press run (either from the menu, or from the GUI). It will ask you 'which' device you want to run it as... and you select your desired virtual device. If not, then you 'might' need to go to your project properties, look for "Run/Debug" settings, and in there, you'll edit the config; look for 'target settngs' and change it to 'always prompt to pick device'. That should allow you to choose the device; sometimes that setting gets stuck on something else... Cheers! -- Smug
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 09:13 PM (10 years ago)
done that smug and still nothing... cant find it on the avd
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 09:16 PM (10 years ago)
Is the API on the virtual device the same or higher than the API of the project? Cheers! -- Smug
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 09:17 PM (10 years ago)
When you say 'cant find it on the AVD', does the AVD show up on the screen? If so, wait a bit, and keep an eye on your logcat... it's a bit slower than you'd think. Cheers! -- Smug
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 09:39 PM (10 years ago)
avd screen is visible. can go into the menu and everything. the vd is exactly the same API as the project. have rewatched the Buzztouch U video i dont know how many time. still no app on the avd. everything seems in perfect order. but my avd screen is a lot different looking to the one on the Buzztuch U video but he said that'd probably be the case anyway so im really confused.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/17/14 09:49 PM (10 years ago)
I run it the way smug was explaining.right by the run button there an arrow.when you click on it a drop down appears.click "run configurations" and this screen pops up: https://www.dropbox.com/s/j160tixflpd04gw/Screen%20Shot%202014-07-17%20at%2011.38.24%20PM.png click the browse button to select your project. you can then click run or click the target tab and choose which device you want to use. Smug I get an error about google play not being added to simulator, have you ever experienced that.well sometimes it doesnt give that error and sometimes it does. I use my devices to test anyway but Im just curious
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
07/17/14 09:52 PM (10 years ago)
Chris: haven't noticed that, but I rarely use the emulator. The only time I've had issues with my GPServices was when I did an update to Google Play Services, I ended up having to update darn near everything. But otherwise, it's been pretty stable for me. Cheers! -- Smug
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
07/17/14 09:55 PM (10 years ago)
Oh ok thanks! yes it was around the time I updated everything.
 
franz818
Aspiring developer
Profile
Posts: 30
Reg: Jun 12, 2014
Melbourne
2,600
like
07/17/14 10:49 PM (10 years ago)
keeps saying GC overhead limit exceeded. what do i do now? says there are errors in my application but there's nothing red
 

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.