Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 1    Views: 684

GrantRez
Aspiring developer
Profile
Posts: 1
Reg: Mar 21, 2014
Pretoria, South...
5,910
Fourm StarFourm Star
05/22/14 02:47 AM (8 years ago)

Can not run my app (android) - errors

Hi There guys, I am very new to this buzztouch community, I hope someone will be able to help me out. I have tried creating an app a month or 2 ago but then gave up because of an error. I am now back at it and determined to get my app up and running.. Problem is, I download the .zip, link the play services library and everything seems fine. When I try run the app on a virtual device i get the following console output: [2014-05-22 10:42:43 - mixedapples] ------------------------------ [2014-05-22 10:42:43 - mixedapples] Android Launch! [2014-05-22 10:42:43 - mixedapples] adb is running normally. [2014-05-22 10:42:43 - mixedapples] Performing com.mixedapples.BT_activity_start activity launch [2014-05-22 10:42:43 - mixedapples] Automatic Target Mode: launching new emulator with compatible AVD 'test' [2014-05-22 10:42:43 - mixedapples] Launching a new emulator with Virtual Device 'test' [2014-05-22 10:42:50 - Emulator] creating window 0 0 411 729 [2014-05-22 10:42:50 - Emulator] emulator: emulator window was out of view and was recentered [2014-05-22 10:42:50 - Emulator] [2014-05-22 10:42:50 - mixedapples] New emulator found: emulator-5554 [2014-05-22 10:42:50 - mixedapples] Waiting for HOME ('android.process.acore') to be launched... [2014-05-22 10:50:00 - Emulator] terminate called after throwing an instance of 'std::bad_alloc' [2014-05-22 10:50:00 - Emulator] what(): std::bad_alloc [2014-05-22 10:50:00 - Emulator] [2014-05-22 10:50:00 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2014-05-22 10:50:00 - Emulator] Please contact the application's support team for more information. [2014-05-22 10:51:08 - mixedapples] emulator-5554 disconnected! Cancelling 'com.mixedapples.BT_activity_start activity launch'! when I install the app on my tablet, it brings up the following error: "There was a problem loading the app's configuration data. See the output console in your development tool (Eclipse, Android Studio, etc). (2) I have no idea what to do now. Some assistance would be greatly appreciated, Thanks You
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
Fourm StarFourm StarFourm Star
like
05/22/14 03:35 AM (8 years ago)
Hi! Welcome to Buzztouch! sorry you're having issues... I will say Android can be rather pesky, but it's something we try to work through. Hopefully your problem isn't too difficult. Are you sure the emulator you've chosen matches the SDK level of the project you're working on? The emulator will need to be at Android v3+ or so that it will work with a BTv3 project... If you've got a minute or two, Mark (GoNorthWest) has some excellent videos on getting started in Android... like this one: https://www.youtube.com/watch?v=UgurXKgP2AE he might touch on something that still needs to be done. I do my android on a Mac, so I'm not always certain of how things can go on other platforms. Mark does his stuff on 'everything', so he notes a lot of 'gotchas' that others can overlook. Let us know how it goes, and keep on trying; it'll come through! Cheers! -- Smug
 

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.