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 trialDiwesh Saxena
15,512 PointsMy screen is completely blank and no noticeable error in logs
I did exactly how it was in the video . But my screen is blank .
This is what my log shows :
11-20 00:39:17.500 1851-1851/com.diwesh.recommendations D/dalvikvm﹕ Not late-enabling CheckJNI (already on) 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations W/dalvikvm﹕ VFY: unable to resolve virtual method 510: Landroid/content/res/TypedArray;.getChangingConfigurations ()I 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations I/dalvikvm﹕ Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations W/dalvikvm﹕ VFY: unable to resolve virtual method 532: Landroid/content/res/TypedArray;.getType (I)I 11-20 00:39:17.640 1851-1851/com.diwesh.recommendations D/dalvikvm﹕ VFY: replacing opcode 0x6e at 0x0002 11-20 00:39:17.680 1851-1864/com.diwesh.recommendations D/dalvikvm﹕ GC_FOR_ALLOC freed 280K, 11% free 2958K/3296K, paused 2ms, total 5ms 11-20 00:39:17.760 1851-1851/com.diwesh.recommendations D/﹕ HostConnection::get() New Host Connection established 0xb7fe10a0, tid 1851 11-20 00:39:17.830 1851-1851/com.diwesh.recommendations W/EGL_emulation﹕ eglSurfaceAttrib not implemented 11-20 00:39:17.830 1851-1851/com.diwesh.recommendations D/OpenGLRenderer﹕ Enabling debug mode 0
19 Answers
Louis Sankey
22,595 PointsHi Diwesh, I noticed you were having this problem a couple months ago. Did you ever get it figured out? I am having the same problem, only a blank white screen.
samuel zaffran
24,815 PointsI get it i don't think that it 'll help some people, but we never know : my mistake was in my Api,class i taped @GET("/listing/active") instead of @GET("/listings/active") Good Luck
Christina Campbell
12,098 PointsThis solved my problem, thank you!
Alex Fujimoto
19,013 PointsI assume you mean when you run the app you're getting a white screen? I had an issue where loading the Etsy content was kinda jenky. Its not really an error. But could that be what is happening to you? I closed the app and relaunched it and that helped load the Etsy stuff. Although I am using a real device.
Diwesh Saxena
15,512 PointsWell I did try to reload several times . But didnt try on the real device yet ... Lemme try on real device and see if it works .. Thanks :)
Diwesh Saxena
15,512 Points11-20 16:16:49.686 17682-17682/? E/Zygote﹕ MountEmulatedStorage()
11-20 16:16:49.686 17682-17682/? E/Zygote﹕ v2
11-20 16:16:49.686 17682-17682/? I/libpersona﹕ KNOX_SDCARD checking this for 10082
11-20 16:16:49.686 17682-17682/? I/libpersona﹕ KNOX_SDCARD not a persona
11-20 16:16:49.691 17682-17682/? I/SELinux﹕ Function: selinux_compare_spd_ram, SPD-policy is existed. and_ver=SEPF_SHV-E300L_5.0.1 ver=38
11-20 16:16:49.691 17682-17682/? I/SELinux﹕ Function: selinux_compare_spd_ram , priority [2] , priority version is VE=SEPF_SHV-E300L_5.0.1-1_0039
11-20 16:16:49.691 17682-17682/? E/SELinux﹕ [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
11-20 16:16:49.696 17682-17682/? I/art﹕ Late-enabling -Xcheck:jni
11-20 16:16:49.781 17682-17682/com.diwesh.recommendations D/ResourcesManager﹕ creating new AssetManager and set to /data/app/com.diwesh.recommendations-1/base.apk
11-20 16:16:50.101 17682-17682/com.diwesh.recommendations D/Activity﹕ performCreate Call secproduct feature valuefalse
11-20 16:16:50.101 17682-17682/com.diwesh.recommendations D/Activity﹕ performCreate Call debug elastic valuetrue
11-20 16:16:50.116 17682-17699/com.diwesh.recommendations D/OpenGLRenderer﹕ Render dirty regions requested: true
11-20 16:16:50.156 17682-17698/com.diwesh.recommendations I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
11-20 16:16:50.156 17682-17698/com.diwesh.recommendations I/System.out﹕ (HTTPLog)-Static: isShipBuild true
11-20 16:16:50.156 17682-17698/com.diwesh.recommendations I/System.out﹕ (HTTPLog)-Thread-31672-494217566: SmartBonding Enabling is false, SHIP_BUILD is true, log to file is false, DBG is false
11-20 16:16:50.156 17682-17698/com.diwesh.recommendations I/System.out﹕ (HTTPLog)-Static: isSBSettingEnabled false
11-20 16:16:50.196 17682-17699/com.diwesh.recommendations I/OpenGLRenderer﹕ Initialized EGL, version 1.4
11-20 16:16:50.196 17682-17699/com.diwesh.recommendations W/OpenGLRenderer﹕ Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
11-20 16:16:50.216 17682-17699/com.diwesh.recommendations D/OpenGLRenderer﹕ Get maximum texture size. GL_MAX_TEXTURE_SIZE is 4096
11-20 16:16:50.216 17682-17699/com.diwesh.recommendations D/OpenGLRenderer﹕ Enabling debug mode 0
11-20 16:16:50.381 17682-17682/com.diwesh.recommendations I/Timeline﹕ Timeline: Activity_idle id: android.os.BinderProxy@37f338ae time:58369734
11-20 16:16:53.796 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:24.986 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:26.606 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:26.726 17682-17682/com.diwesh.recommendations W/art﹕ Before Android 4.1, method int android.support.v7.internal.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
11-20 16:17:26.751 17682-17682/com.diwesh.recommendations D/AbsListView﹕ Get MotionRecognitionManager
11-20 16:17:27.526 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:27.556 17682-17682/com.diwesh.recommendations W/InputEventReceiver﹕ Attempted to finish an input event but the input event receiver has already been disposed.
11-20 16:17:27.556 17682-17682/com.diwesh.recommendations W/ViewRootImpl﹕ Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, id[0]=0, x[0]=292.0, y[0]=589.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=58406890, downTime=58406875, deviceId=4, source=0x1002 }
11-20 16:17:27.556 17682-17682/com.diwesh.recommendations W/InputEventReceiver﹕ Attempted to finish an input event but the input event receiver has already been disposed.
11-20 16:17:27.556 17682-17682/com.diwesh.recommendations E/ViewRootImpl﹕ sendUserActionEvent() mView == null
11-20 16:17:28.056 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:28.146 17682-17682/com.diwesh.recommendations D/AbsListView﹕ Get MotionRecognitionManager
11-20 16:17:28.606 17682-17682/com.diwesh.recommendations D/ViewRootImpl﹕ ViewPostImeInputStage ACTION_DOWN
11-20 16:17:28.771 17682-17682/com.diwesh.recommendations E/ViewRootImpl﹕ sendUserActionEvent() mView == null
Nope same white screen
Nicholas Brooks
7,014 PointsAny luck on this from anyone? I'm having the same error.
Diwesh Saxena
15,512 PointsNope sorry no updates or fixes on that . Though I remember I was reading some blogs at that time , and people were experiencing similar problems , with Etsy's own android app on their android and iOS devices.
I will try to go through the videos again and see if I did miss something. Till then I guess moderators must have a look at this post.
Louis Sankey
22,595 PointsI never got past the blank screen, either. Hopefully we can get a mod to help us out with this.
Diwesh Saxena
15,512 PointsLouis Sankey : I got it solved :)
Sadly my problem was in Android manifest.xml . I had permissions set wrong :(
My permissions were "ANDROID.PERMISSION" instead of "android.permission" for some reason :(
Can you check if you share the same problem as mine ?
Seth Kroger
56,414 PointsI haven't run into this myself, but a Google search suggests it's due to a bug in some versions of the appcompat libraries. Try updating the libraries in the gradle file (Android Studio will highlight them and give you a lightbulb fix) and update the compile and target versions to match the major number (23).
Diwesh Saxena
15,512 PointsSeth Kroger : Already tried that but does not work
Steffy Joseph
1,436 PointsGOT IT ....................
In AndroidManifest.xml delete this permission <uses-permission android:name="android.permission.USE_CREDENTIALS" />
I've tried it out on my Emulator without this permission and everything works fine. it looks like it's not required.
Diwesh Saxena
15,512 PointsSadly my problem was in Android manifest.xml . I had permissions set wrong :(
My permissions were "ANDROID.PERMISSION" instead of "android.permission" for some reason :(
Can you all check if you all also had the same problem ?
Tuan Zen
6,882 PointsI'm also having the same problem -_- removing the USE_CREDENTIALS also didnt help....
kati mati
Courses Plus Student 49 PointsSolved?
Robert Kennedy
Python Development Techdegree Graduate 17,225 PointsSo I thought it would be a good idea (face-palm) to refactor all the member variables to mVariable... This caused me to have a blank screen and it wasn't until I read the docs for retrofit did I realize what I had done. If you're getting a blank screen make sure that all of your public member variables are written exactly as they are in the Etsy API. Retrofit is using them for reference and if they don't match it will return empty and display nothing. Hope this helps :).
samuel zaffran
24,815 PointsHi, Someone found the solution ? I tried every solutions beyond but nothing works..
Kayondo Martin
7,481 Pointssame problem, have tried all the suggestions but in vain :(
Sachin Jayaram
5,461 PointsEtsy.java file: setEndpoint("https://openapi.etsy.com/v2")
make sure its https and not http.
Tonnie Fanadez
UX Design Techdegree Graduate 22,796 PointsI'm stuck too with the blank screen, I have been here for a week and can't figure it out. I noted even if you put the wrong API key and distort the endpoint url it has not effect.
Kevin Park
5,935 PointsI'm also having the same issues; I've verified that the API call is valid and I keep getting a blank screen. The logs don't indicate any abnormalities. I'm using API 29 so some issues could be expected....
2020-03-21 18:26:13.714 18338-18338/? E/Zygote: isWhitelistProcess - Process is Whitelisted 2020-03-21 18:26:13.715 18338-18338/? E/Zygote: accessInfo : 1 2020-03-21 18:26:13.724 18338-18338/? I/recommendation: Late-enabling -Xcheck:jni 2020-03-21 18:26:13.742 18338-18338/? E/recommendation: Unknown bits set in runtime_flags: 0x8000 2020-03-21 18:26:13.752 18338-18338/? D/ActivityThread: setConscryptValidator 2020-03-21 18:26:13.752 18338-18338/? D/ActivityThread: setConscryptValidator - put 2020-03-21 18:26:13.980 18338-18338/com.example.recommendations I/MultiWindowDecorSupport: updateCaptionType >> DecorView@e6e460b[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true 2020-03-21 18:26:13.980 18338-18338/com.example.recommendations D/MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@e6e460b[] 2020-03-21 18:26:14.042 18338-18338/com.example.recommendations I/System.out: LOOKATME 2020-03-21 18:26:14.073 18338-18338/com.example.recommendations D/ViewRootImpl@bec81e1[MainActivity]: setView = DecorView@e6e460b[MainActivity] TM=true MM=false 2020-03-21 18:26:14.098 18338-18446/com.example.recommendations D/NetworkSecurityConfig: No Network Security Config specified, using platform default 2020-03-21 18:26:14.105 18338-18446/com.example.recommendations D/libmdf: libmdf v2.9.0.0 On 64bit PLATFORM 2020-03-21 18:26:14.107 18338-18446/com.example.recommendations I/System.out: (HTTPLog)-Static: isSBSettingEnabled false 2020-03-21 18:26:14.108 18338-18446/com.example.recommendations I/System.out: (HTTPLog)-Static: isSBSettingEnabled false 2020-03-21 18:26:14.108 18338-18338/com.example.recommendations D/ViewRootImpl@bec81e1[MainActivity]: Relayout returned: old=[0,0][1080,2280] new=[0,0][1080,2280] req=(1080,2280)0 dur=7 res=0x7 s={true 541647835136} ch=true 2020-03-21 18:26:14.109 18338-18435/com.example.recommendations D/OpenGLRenderer: createReliableSurface : 0x7ebbd6fe80, 0x7e1cba1000 2020-03-21 18:26:14.109 18338-18435/com.example.recommendations I/AdrenoGLES: QUALCOMM build : def403d, I0e419467bc Build Date : 11/06/19 OpenGL ES Shader Compiler Version: EV031.27.05.02 Local Branch : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.1.R1.10.00.00.529.103 Remote Branch : NONE Reconstruct Branch : NOTHING 2020-03-21 18:26:14.109 18338-18435/com.example.recommendations I/AdrenoGLES: Build Config : S P 8.0.11 AArch64 2020-03-21 18:26:14.111 18338-18435/com.example.recommendations I/AdrenoGLES: PFP: 0x016ee187, ME: 0x00000000 2020-03-21 18:26:14.119 18338-18435/com.example.recommendations D/OpenGLRenderer: SurfaceChanged : 0x0 -> 0x0 2020-03-21 18:26:14.126 18338-18435/com.example.recommendations D/OpenGLRenderer: SurfaceChanged : 0x0 -> 0x7e2d0fb700 2020-03-21 18:26:14.127 18338-18435/com.example.recommendations W/Gralloc3: mapper 3.x is not supported 2020-03-21 18:26:14.150 18338-18338/com.example.recommendations D/ViewRootImpl@bec81e1[MainActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1 2020-03-21 18:26:14.150 18338-18338/com.example.recommendations D/InputMethodManager: prepareNavigationBarInfo() DecorView@e6e460b[MainActivity] 2020-03-21 18:26:14.150 18338-18338/com.example.recommendations D/InputMethodManager: getNavigationBarColor() -855310 2020-03-21 18:26:14.153 18338-18338/com.example.recommendations D/InputMethodManager: prepareNavigationBarInfo() DecorView@e6e460b[MainActivity] 2020-03-21 18:26:14.153 18338-18338/com.example.recommendations D/InputMethodManager: getNavigationBarColor() -855310 2020-03-21 18:26:14.153 18338-18338/com.example.recommendations D/InputMethodManager: startInputInner - Id : 0 2020-03-21 18:26:14.153 18338-18338/com.example.recommendations I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 2020-03-21 18:26:14.161 18338-18338/com.example.recommendations D/ViewRootImpl@bec81e1[MainActivity]: MSG_RESIZED_REPORT: frame=[0,0][1080,2280] ci=[0,117][0,45] vi=[0,117][0,45] or=1 2020-03-21 18:26:14.168 18338-18338/com.example.recommendations D/InputMethodManager: prepareNavigationBarInfo() DecorView@e6e460b[MainActivity] 2020-03-21 18:26:14.168 18338-18338/com.example.recommendations D/InputMethodManager: getNavigationBarColor() -855310 2020-03-21 18:26:14.168 18338-18338/com.example.recommendations D/InputMethodManager: startInputInner - Id : 0
Steffy Joseph
1,436 PointsSteffy Joseph
1,436 Pointssame here.. blank white screen