Discussion Forums  >  Uncategorized

Replies: 11    Views: 187

Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
01/21/12 07:48 PM (12 years ago)

AVD Emulator Help!

Hi everyone. I'm a newbie. I was so proud of myself because I was able to create an app with buzztouch, download Eclipse Indigo, add the SDK and AVD Manager, download my app to Eclipse, and create an AVD emulator. YES! Now, the problem comes in...I run the AVD emulator, the emulator appears, then Android appears on the emulator screen. It seems to be loading (Android is moving on the screen). However, it never loads my app. I know that it can take a while for an app to appear in the emulator, but I left it for several hours and my app never appears. Please help???? Thanks...
 
Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
like
01/21/12 08:39 PM (12 years ago)
OK. So it FINALLY loaded! YES! However, my app is not in the AVD Emulator. I looked throughout the emulator and can't seem to locate it. Please help...thanks.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/21/12 09:45 PM (12 years ago)
Sometimes after the emulator starts up you have to Run the project again. Did you look for the available apps on the emulator? Worth reading: http://wp.me/p1ZRa7-8I https://myskylla.wordpress.com/2011/12/09/how-to-export-your-apk/ https://myskylla.wordpress.com/2012/01/04/got-milk-is-eclipse-setup-correctly-got-sdk-adt-platform-tools/
 
Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
like
01/21/12 09:54 PM (12 years ago)
Hi. Thanks so much for your input. I realized that I was launching the emulator versus running it. Of course, now I have a new problem. If I load my app using the Import function, I have the following error: Unable to resolve target 'Google Inc.:Google APIs:4'. If I load my app using the New > Android Project, etc., function, I get several errors. Any idea about the Unable to resolve target 'Google Inc.:Google APIs:4' error? Thanks again, I appreciate your help.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/21/12 10:24 PM (12 years ago)
Try right-click on project Android tools Build project properties
 
Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
like
01/21/12 10:58 PM (12 years ago)
Thanks. I needed to download the Google API 4. That corrected the error. Now, yet another problem. I RUN the app, the emulator launches, but the app still does not appear. These are the messages I get: [2012-01-22 00:43:19 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] Failed to install buzztouch_v14_AndroidBC881687B3A46E738D463D9A.apk on device 'emulator-5554! [2012-01-22 00:43:19 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] (null) [2012-01-22 00:43:20 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] Launch canceled! Any help would be great! Again, thanks so much!
 
Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
like
01/21/12 11:33 PM (12 years ago)
The emulator is just not working so I connected my Droid via the USB port on my computer and it opened without a problem. Is there anything wrong with just using my Droid as an emulator versus the AVD Emulator? Thanks again for all of your help...
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/21/12 11:42 PM (12 years ago)
Nothing wrong, probably better. Eventually you'll need the VD to test different screen sizes.
 
Bethany
Code is Art
Profile
Posts: 9
Reg: Jan 20, 2012
Cleveland
190
like
01/22/12 12:10 AM (12 years ago)
Oh...duh! Bummer! I guess I need to fix the problem then. Any idea what the errors below mean? I RUN the app, the emulator launches, but the app still does not appear. These are the messages I get: [2012-01-22 00:43:19 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] Failed to install buzztouch_v14_AndroidBC881687B3A46E738D463D9A.apk on device 'emulator-5554! [2012-01-22 00:43:19 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] (null) [2012-01-22 00:43:20 - buzztouch_v14_AndroidBC881687B3A46E738D463D9A] Launch canceled Again, I am running Eclipse Indigo (Windows Vista). Thanks...
 
dkeds66
Aspiring developer
Profile
Posts: 91
Reg: Jan 18, 2012
Swindon
910
like
01/22/12 07:14 AM (12 years ago)
>>>>> Fred - I have added android:installLocation=”preferExternal”> into the manifest as per your post above but rather than showing in purple its still showing on black font - which to me suggests it does not like that. Do I need to save / compile manifest? If so how is this done Hi all well I have been having the exact same problem, all previous steps followed ok but failing at the very last hurdle i.e. Project is not showing on my AVD and I am seeing this .... [2012-01-22 13:51:16 - ProfitnDrive] ------------------------------ [2012-01-22 13:51:16 - ProfitnDrive] Android Launch! [2012-01-22 13:51:16 - ProfitnDrive] adb is running normally. [2012-01-22 13:51:16 - ProfitnDrive] Performing com.profitndrive.BT_activity_root activity launch [2012-01-22 13:51:16 - ProfitnDrive] Automatic Target Mode: launching new emulator with compatible AVD 'DavesAVD' [2012-01-22 13:51:16 - ProfitnDrive] Launching a new emulator with Virtual Device 'DavesAVD' [2012-01-22 13:51:32 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error [2012-01-22 13:51:32 - ProfitnDrive] New emulator found: emulator-5554 [2012-01-22 13:51:32 - ProfitnDrive] Waiting for HOME ('android.process.acore') to be launched... [2012-01-22 13:52:42 - ProfitnDrive] HOME is up on device 'emulator-5554' [2012-01-22 13:52:42 - ProfitnDrive] Uploading ProfitnDrive.apk onto device 'emulator-5554' [2012-01-22 13:52:52 - ProfitnDrive] Installing ProfitnDrive.apk... [2012-01-22 13:53:29 - ProfitnDrive] Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE [2012-01-22 13:53:29 - ProfitnDrive] Please check logcat output for more details. [2012-01-22 13:53:29 - ProfitnDrive] Launch canceled! I have read the document in Fred's post above but to be honest, (as a complete nubie) I think I am missing the basics here. I assumed that the AVD was literally a virtual Mobile Device that shows on my PC to enable me to test code changes within my App. Can someone tell me if I am using a virtual device why I would want to allow my application to be installed on an external storage (e.g. the device’s SD card) and if the device is virtual why would it have an SD card????? I'm lost please help do Install a physical add an external Storage Device - is this virtual too or are we talking an
 
dkeds66
Aspiring developer
Profile
Posts: 91
Reg: Jan 18, 2012
Swindon
910
like
01/22/12 07:25 AM (12 years ago)
/ignore last line on my last post - is a paste error
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/22/12 09:08 AM (12 years ago)
http://wp.me/p1ZRa7-8I If the color of the line is black you didn't move the > properly. My post gives you three reasons to have a SD card in your virtual device. Number four: an app may be to large to run without install to sd card.
 

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.