Sometimes when I compile an app on my Android device I get the following errors:
E/HAL(2125): load: module=/system/lib/hw/gralloc.msm7k.so
E/HAL(2125): Cannot load library: alloc_mem_region: OOPS: 93 cannot map library 'gralloc.msm7k.so'. no vspace available.
E/GraphicBufferMapper(2125): FATAL: can't find the gralloc module
How can I free up vspace to be able to compile the app again? I've already tried rebooting and turning off and on the phone but it didn't work.
The only thing I could find on Stackoverflow about this topic is this question with no answer...
Under "additional emulator command line options," add this:
then click on apply and run. If this fails, then add this instead:
If all else fails: Increase the AVD RAM and the max VM application heap size in VM options. AVD Manager -> Virtual Devices -> Edit. It's probably set to 24, set it to 32 at first, then at 48 if it's still NOK.