What do these Android logcat warnings mean?

爷,独闯天下 提交于 2019-11-27 12:09:37

I would like to add on top of what @Monte Creasor explained. I have had the same issue and consulted this bug report which basically says that the problem might be caused by com.android.support:appcompat-v7:21.0.3, on of the main dependencies required to use Android's new Layout capabilities. Try going back to the v7:20.0.0, this should solve the issue as it did for me and this bug report writer.

Actually all you have to change is in the app build.gradle the line:

compile 'com.android.support:appcompat-v7:21.0.3' or whatever later version you have

to

compile 'com.android.support:appcompat-v7:20.0.0'

These errors occur when you run android studio 1.0 using the sliding drawer sample WITHOUT adding any additional code and using all the defaults the project creation wizard offers. So it would seem to be an Android Studio problem and not a developer coding error.

I had the same issue, also I wasn't able to get my ListFragment scrollable. Used v4 support library 21.0.3 before and upgraded to 22.0.0.

This fixed my problems!

I'm currently going through my logs generated from using Sony's remote device lab, the same warning appears so it's not a Android Studio problem. I suspect its a problem with the ActionBar theme used during the development of the application.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!