Android Question Before real start I am stopped

drahneir

Member
Licensed User
Longtime User
Hello,

last week I bought a Nexus 7 tablet and yesterday I downloaded B4A. Today I wanted to follow the tutorial for Hello World but was stopped immediately. I had created an AVD with the data of the Nexus 7. When I click on Start I get the following message:

Starting emulator for AVD 'Tablet_N7'
emulator: WARNING: Requested RAM size of 2048MB is too large for your environment, and is reduced to 1152MB.
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

What can be the reason?
 

drahneir

Member
Licensed User
Longtime User
You posted the reason just above: "Requested RAM size of 2048MB is too large for your environment"
Reduce it to 512 MB in the AVD properties and that will be fine. You don't need more, whatever you want to do.

Ok, I will try this. But I don't understand it, because I have 16 GB RAM in my PC.
 
Upvote 0

drahneir

Member
Licensed User
Longtime User
Ok, I will try this. But I don't understand it, because I have 16 GB RAM in my PC.
Ok, I changed the value to 512 MB, and the error message disappeared. BTW, 1024 MB is working as well.
But now I have another issue. After Start, the black screen appears and nothing else happens. I do not come to the home screen. I can close the screen and restart, each time with the same result.
My OS is Windows 8.1 (x64).
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
Why are you using the emulator when you have a top of the line Nexus 7 real device? Install B4A_bridge 2.08 on the device. You will be so much better off. I know if NJDude is reading this thread, that what he will recommend.
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
drahneir .. maybe have a look at this .. much faster emulator

GenyMotion

Cheers mj
 
Upvote 0

drahneir

Member
Licensed User
Longtime User
I want to go by bike from A to C via B and ask how I can do this.
I get advices like "Take the bus, that's faster" or "You should go directly to C".
My idea of help looks slightly different.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…