As of release 0.8.7 of Android Studio there's supposed to be a Bitmap viewer in the debugger. See the release notes here: http://tools.android.com/recent/androidstudio087released
I have 0.8.9 installed and I can't see this option. Has anyone been able to use this? Is there something I need to enable?
The ImageView class is pointed at a bitmap stored under one of the drawable folders in the res project folders. Start by creating a basic app project that will contain the ImageView and bitmap to display. Here the new project created in Android Studio is called Bitmap and an Empty Activity used.
For most cases, we recommend that you use the Glide library to fetch, decode, and display bitmaps in your app. Glide abstracts out most of the complexity in handling these and other tasks related to working with bitmaps and other images on Android.
From the Android Studio navigation bar, select View > Tool Windows > App Inspection. After the app inspection window automatically connects to an app process, select Network Inspector from the tabs.
If you add C and C++ code to your project, Android Studio also runs the LLDB debugger in the Debug window to debug your native code. If the Debug window is not open, select View > Tool Windows > Debug (or click Debug in the tool window bar), and then click the Debugger tab, as shown in figure 1.
I'm on Android Studio 1.3 and I didn't find 'View Bitmap' option in the context menu. Turns out that this option now sits right next to every Bitmap
variable in the debugger's 'Variables' window:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With