Could not find class 'android.widget.ThemedSpinnerAdapter' [Android Studio]

前端 未结 4 445
攒了一身酷
攒了一身酷 2021-02-04 09:59

I am getting this weird error when I try to run my app on a pre API 21 device:

I/Choreographer: Skipped 39 frames!  The application may be doing too much work o         


        
4条回答
  •  借酒劲吻你
    2021-02-04 10:08

    I solved the problem looking to the compileSdkVersion in my project. I had 4 modules, 3 of them were compiling with the sdk 22, one was compiling with the sdk 23.

    After I changed all of them to the sdk 22, problem solved. So my advice is to check the SDK version and select for all the modules in your project to the same number.

    Cheers

提交回复
热议问题