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 Android Lists and Adapters (2015) Standard ListViews Introducing ListView and ListActivity

STEPHEN MUSONDA
STEPHEN MUSONDA
2,146 Points

DailyForecastActivity not Working

When I click button dailyButton the app loads a blank screen on the emulator and displays the following error in the log:

E/Surface: getSlotFromBufferLocked: unknown buffer: 0x7fe622c28850

I am using the Marshmallow version of Android.

1 Answer

Seth Kroger
Seth Kroger
56,413 Points

It's a known bug in Android 6.0 that has since been patched in 6.0.1. Open the SDK Manager (Android head over a down arrow in the toolbar) and update your Marshmallow emulator images. You may need to click Show Package Details in the Manager to show the individual components of the SDK. You may also need to delete and recreate your emulator if it's stubborn about updating.

STEPHEN MUSONDA
STEPHEN MUSONDA
2,146 Points

Thank you Seth. I am grateful for your insight. I am able to proceed now.