Discussion Forums  >  Uncategorized

Replies: 9    Views: 193

yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
02/13/12 08:18 AM (12 years ago)

AVD help

Hi, I am currently experiencing trouble running my app on the AVD with this message on the console: [2012-02-13 14:56:37 - buzzTouch] Android Launch! [2012-02-13 14:56:37 - buzzTouch] adb is running normally. [2012-02-13 14:56:37 - buzzTouch] Performing com.dentache.BT_activity_root activity launch [2012-02-13 14:56:37 - buzzTouch] Automatic Target Mode: launching new emulator with compatible AVD 'sim' [2012-02-13 14:56:38 - buzzTouch] Launching a new emulator with Virtual Device 'sim' [2012-02-13 14:56:48 - Emulator] emulator: WARNING: Unable to create sensors port: Unknown error [2012-02-13 14:56:48 - buzzTouch] New emulator found: emulator-5554 [2012-02-13 14:56:48 - buzzTouch] Waiting for HOME ('android.process.acore') to be launched... [2012-02-13 14:59:00 - buzzTouch] HOME is up on device 'emulator-5554' [2012-02-13 14:59:00 - buzzTouch] Uploading buzzTouch.apk onto device 'emulator-5554' [2012-02-13 14:59:18 - buzzTouch] Failed to install buzzTouch.apk on device 'emulator-5554': timeout [2012-02-13 14:59:18 - buzzTouch] Launch canceled! I have the correct Google API 2.2 revision 8 set up, I have tried to refresh the project and restart eclipse, and also attempted moving it to SD card in the manifest as follows: <?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=http://schemas.android.com/apk/res/android package=com.dentache android:versionCode=1 android:versionName=1.0> android:installLocation=preferExternal> <uses-sdk android:minSdkVersion=8/> Please help, I don't know what to try next after following the guides and videos!! Thanks!
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
02/13/12 08:20 AM (12 years ago)
Try installing to your device. Fred
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
02/13/12 08:33 AM (12 years ago)
I am unable to use my USB connection at the moment, any advice to get it running using the AVD in the meantime?? Thanks.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/13/12 09:18 AM (12 years ago)
Hi @yp2201, I've had this happen as well, and it's quite annoying! I haven't found the root cause, but a couple of things have worked from time to time: * Reboot my computer * Change the size of my AVD SD card to the minimum, which is 9MB. It seems that the issue is related to the amount of time it takes for the AVD to start, and it takes longer to start when it has to build a large virtual SD card. Since I'm not installing to an SD card, I just use the minimum. Wish I had a more definitive answer for you, but this is about all I've been able to figure out! Thanks, Mark
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
02/13/12 09:30 AM (12 years ago)
Hi Fred/GoNorthWest, Thanks for the tips! My temporary solution: I had to create the keystore and export the apk etc to test out the app on my device, and it worked! So I guess I'll have to use this method until the AVD issue of mine resolves =| but now that I have created the apk, am I right in thinking that I am still able to use the buzztouch control panel to make modifications, refresh on eclipse by re-downloading the source code, and keep testing out the app on my device as I have done already?? Thanks, Tish.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/13/12 09:37 AM (12 years ago)
Hi Tish, Yes, you can continue to make changes to your app using the Control Panel, and see those changes refreshed on your device. You don't actually need to download the source code and create a new APK each time you make changes. You would only need to do that if you were adding some local content (a PDF or image or something stored on the device) that you would need to package up with the app. If all the changes you make are online - available through a URL or via a Custom HTML page - then you don't need to do anything but hit the refresh button on your app! That's the beauty of buzztouch! In the end, it's better to test on a real device than in the AVD anyway, so you can see it as a good thing that you can't get the AVD to work! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
02/13/12 09:38 AM (12 years ago)
yes, no need to re-download source code. Just re-export apk. Fred
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
02/13/12 10:10 AM (12 years ago)
Read my guide. www.myskylla.wordpress.com
 
yp2201
Lost but trying
Profile
Posts: 52
Reg: Sep 22, 2011
Wolverhampton
1,220
like
02/15/12 07:39 AM (12 years ago)
Thanks for all the advice guys! will put my new developing skills to the test now!! Tish
 

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.