Error in an android project -


i made temperature converter application, , code perfect. whenever run avd shows following errors:

[2012-06-05 12:22:58 - emulator] failed allocate memory: 1455 [2012-06-05 12:22:58 - emulator]  [2012-06-05 12:22:58 - emulator] application has requested runtime terminate in unusual way. [2012-06-05 12:22:58 - emulator] please contact application's support team more information. 

solution 1:

i have best , right solution proved according indications calvin in techarena forums.

  • click start, click run, type sysdm.cpl in open box, , press enter.
  • click advanced tab, , under performance click settings.
  • click advanced tab, , under virtual memory click change.
  • under drive [volume label], click drive contains paging file want change.
  • under paging file size selected drive, click custom size, type new paging file size in megabytes (mb) in initial size (mb) or maximum size (mb) box, , click set.
  • click ok close dialog box , apply changes.

this usual error "failed allocate memory: 1455" caused virtual memory alocation. after resolving in way allocation of virtual memory root c disk, should read in console of eclipse, following:

[2011-11-27 12:33:06 - videotutorial1] ------------------------------ [2011-11-27 12:33:06 - videotutorial1] android launch! [2011-11-27 12:33:06 - videotutorial1] adb running normally. [2011-11-27 12:33:06 - videotutorial1] performing com.videotutoriales.videotutorial1.videotutorial1activity activity launch [2011-11-27 12:33:06 - videotutorial1] automatic target mode: preferred avd 'vtavd' not available. launching new emulator. [2011-11-27 12:33:06 - videotutorial1] launching new emulator virtual device 'vtavd' [2011-11-27 12:33:39 - emulator] emulator: emulator window out of view , recentered [2011-11-27 12:33:39 - emulator] [2011-11-27 12:33:45 - videotutorial1] new emulator found: emulator-5554 [2011-11-27 12:33:45 - videotutorial1] waiting home ('android.process.acore') launched... [2011-11-27 12:38:19 - videotutorial1] home on device 'emulator-5554' [2011-11-27 12:38:19 - videotutorial1] uploading videotutorial1.apk onto device 'emulator-5554' [2011-11-27 12:38:20 - videotutorial1] installing videotutorial1.apk... [2011-11-27 12:40:52 - videotutorial1] success! [2011-11-27 12:40:53 - videotutorial1] starting activity com.videotutoriales.videotutorial1.videotutorial1activity on device emulator-5554 [2011-11-27 12:41:18 - videotutorial1] attempting connect debugger 'com.videotutoriales.videotutorial1' on port 8628 

solution 2:

open android virtual device manager , add or change value device ram size 15 or value smaller or higher:

enter image description here


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -