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 trialNathan Jackman
Courses Plus Student 152 Pointsmy emulator isn't working I've even created a new project and reopened it. I've reinstalled the studio as well.
the script keep running in the dialog box with errors. Again, I've replayed and followed all of the instructions to the T.
2 Answers
Gloria Dwomoh
13,116 PointsDoes the emulator launch at all, or it doesn't even launch?
Nathan Jackman
Courses Plus Student 152 Pointsit launches and is just black
Gloria Dwomoh
13,116 PointsDo you see any lock in the screen? Sometimes there is a lock like in regular android phones that you manually have to swipe the android phone screen with your mouse. If that is not the issue you can try the suggestion here and see if they work for you.
Nathan Jackman
Courses Plus Student 152 Pointsok I updated just to make sure I had the latest version and now I'm getting this message
Starting emulator for AVD 'NewAndroid442' Failed to create Context 0x3005 could not get wglGetExtensionsStringARB emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB
that's just when I'm running it
Gloria Dwomoh
13,116 PointsWhen you created your android device did you choose properties for the CPU/ABI? Also the "use host GPU" checked?
Nathan Jackman
Courses Plus Student 152 Pointstried it on a completely different machine...
and checked the CPU/ABI and I'm using host GPU
still getting this error when starting the emulator
could not get wglGetExtensionsStringARB
Gloria Dwomoh
13,116 PointsTry setting the RAM to 512 Mb and let me know if it works then.
Nathan Jackman
Courses Plus Student 152 Pointsstill getting this string of messages
Starting emulator for AVD 'Android442' Failed to create Context 0x3005 emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB could not get wglGetExtensionsStringARB
Gloria Dwomoh
13,116 PointsWhat version of android studio do you have? Is it the newest version or the one the instructor gave? Also did you add the JDK lib to your environment variables ?
Nathan Jackman
Courses Plus Student 152 Pointsok the JDK lib i do not know about and I'm using the newest version i think because the one the instructor gave didn't work do I have to reinstall the older version?
Gloria Dwomoh
13,116 PointsDid you do this to when setting up android studio to [put the JDK on your path]? If not then do it and let me know if it helps (https://developer.android.com/sdk/installing/index.html?pkg=studio) "Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21."
Nathan Jackman
Courses Plus Student 152 Pointsit's done!
Gloria Dwomoh
13,116 PointsI suggest you try using the one given by the instructor and then upgrade it when you get the notice in the IDE that there is a new update. I tried downloading it from the developers site earlier on, and it was harder to set up (due to it missing some initial configurations that I had to do from scratch), than upgrading the one that was given by the instructor.
Nathan Jackman
Courses Plus Student 152 PointsI did exactly that. I downloaded the one the instructor gave. There were some upgrades that I ran and I've set up the JDK path. I'm not getting the extensionARB errors anymore but I am getting this
Error: Could not access the Package Manager. Is the system running?
Gloria Dwomoh
13,116 PointsIf you are not having the ARB error...that's great. It means there is progress. For this other error you have, try this.
Nathan Jackman
Courses Plus Student 152 PointsI'm at a loss... I've tried everything and that last one didn't change anything. The emulator run after doing a clean build and it's been stuck here for the last two hours
Device connected: emulator-5554 Device NewAndroid442 [emulator-5554] is online, waiting for processes to start up..
Gloria Dwomoh
13,116 PointsYou can try genymotion if it doesn't feel like working but I will give few last suggestions of what I'd have done.
1st try - On Android Studio select, File >> Invalidate Caches/restarts >> Invalidate and restart - I'd then try to run the emulator again once it restarts and see how it goes, if it doesn't work after 15 min of wait, then i'd...
2nd try - Restart computer, check if it works this time... if it doesn't
3rd option install genymotion. To find out how to do it see the Getting started with genymotion course.
I hope these help.
Kevin Haube
12,265 PointsHey Nathan!
The stock emulator included in the ADT bundle and Android Studio is mediocre at best. For years, we've had to deal with this, but now there are wonderful 3rd party emulators that are able to fix this problem!
Check out Ben's lesson on setting up Genymotion, a 3rd party emulator that runs almost as smooth and fast as a real Android device!
Nathan Jackman
Courses Plus Student 152 PointsI'm new and just even learning how to use the forum so be patient.
I'm getting this error in my run tab
Error: Could not access the Package Manager. Is the system running?
Nathan Jackman
Courses Plus Student 152 PointsNathan Jackman
Courses Plus Student 152 PointsI'm getting this error in my run tab... (yes I'm new)
Error: Could not access the Package Manager. Is the system running?