What do these Android logcat warnings mean?

前端 未结 4 1315
时光说笑
时光说笑 2020-12-02 21:29

It doesn\'t seem to impact anything in my app... yet. I\'m using the Android support libraries for the first time (my projects to date have not used support libraries), but

相关标签:
4条回答
  • 2020-12-02 21:36

    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!

    0 讨论(0)
  • 2020-12-02 21:42

    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.

    0 讨论(0)
  • 2020-12-02 21:44

    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'

    0 讨论(0)
  • 2020-12-02 21:47

    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.

    0 讨论(0)
提交回复
热议问题