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

MICHAEL JONATHAN
MICHAEL JONATHAN
437 Points

EMULATOR JUST BLACK AND BLANK

I have followed all the steps in the video as instructed by Ben,the only part am still finding issue with is the emulator, mine just goes Blank and black for hours it doesnt display anything. Even after trying to re-launch it again,i see in the AVD dialogue box that its online gradle console : Executing tasks: [:app:assembleDebug]

Configuration on demand is an incubating feature. :app:preBuild :app:compileDebugNdk UP-TO-DATE :app:preDebugBuild :app:checkDebugManifest :app:prepareDebugDependencies :app:compileDebugAidl UP-TO-DATE :app:compileDebugRenderscript UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources UP-TO-DATE :app:processDebugManifest UP-TO-DATE :app:processDebugResources UP-TO-DATE :app:generateDebugSources UP-TO-DATE :app:compileDebugJava UP-TO-DATE :app:preDexDebug UP-TO-DATE :app:dexDebug UP-TO-DATE :app:processDebugJavaRes UP-TO-DATE :app:validateDebugSigning :app:packageDebug UP-TO-DATE :app:zipalignDebug UP-TO-DATE :app:assembleDebug UP-TO-DATE

BUILD SUCCESSFUL

Total time: 8.284 secs

DEVICE SHELL COMMAND: pm install -r Error: Could not access the Package Manager. Is the system running?

Is there a problem somewhere that am not seeing,please help me asap.

4 Answers

Steve Connolly
Steve Connolly
680 Points

Hi Michael, I'm having a really similar problem, I've just now set up another AVD device though, with a much reduced Screen Size (A Nexus 4) and taken the RAM on the device down to 256 mb. At least I'm getting the "Android" logo now. Give that a try and see if you can get anywhere. Maybe we can work this out between us!

MICHAEL JONATHAN
MICHAEL JONATHAN
437 Points

Steve Connolly get bro,it worked Now i can see Android loading on my emulator....Thanks Bro.

Steve Connolly
Steve Connolly
680 Points

Cool, mine has just loaded fully, hope you get to this stage also. I Think its just having an old machine may mean I have to stick with crap emulators for now!

When I tired Emulator launches with above soultion (Steve Connolly) and it is still just black ... Can anyone help me out?