Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Having trouble with Android studio Errors.

So when I Click run, the emulator pop up and next thing I noticed there's an error that shows up this is what it says ;

.....WARNING: userdata image already in use, changes will not persist! Creating filesystem with parameters: Size: 576716800 Block size: 4096 Blocks per group: 32768 Inodes per group: 7040 Inode size: 256 Journal blocks: 2200 Label: Blocks: 140800 Block groups: 5 Reserved block group size: 39 Created filesystem with 11/35200 inodes and 4536/140800 blocks emulator: The memory needed by this VM exceeds the driver limit. HAX is not working and emulator runs in emulation mode

2 Answers

Hey there, it looks as if the amount of ram memory assigned to your virtual device is more than what your pc has available. Try to create a new android virtual device and assign a smaller amount of memory to it. ~512mb

How do I change the amount of memory?

Hey again,

You can configure the amount of memory when you create a new android virtual device.

I hope this helps, let me know :)