opkfoundry.blogg.se

Android studio preview window
Android studio preview window





Like I said, the Preview window renders the login button just fine, but trying to run the app in a virtual device either crashes the app, or doesn't render the button.Īdding log output when I try running the app: 12-30 15:56:28.356 2311-2326/ W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa665ba20, error=EGL_SUCCESSġ2-30 15:56:28.466 2311-2327/ E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1 I've also added compile ':facebook-android-sdk:3.19.1' to my dependencies in my adle file and modified my minSdkVersion to 9 instead of 8 because I was getting errors with anything lower than 9.

android studio preview window android studio preview window

At this point, all I've done is create a Blank Activity, added the following to my activity_login.xml:







Android studio preview window