Could Not Find Class 'android.widget.themedspinneradapter' [android Studio]
Solution 1:
In my situation this was resolved by removing the use of android:tint="?attr/colorControlNormal"
within the layout XML file... Maybe this helps others.
Solution 2:
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
Solution 3:
I also got same issue with spinner,it is running in some devices and not running in some devices. Because I put setAdapter(null)
. Because of that it is behaving like this. Instead of that put ArrayList arrayList = new ArrayList();
spinner.setAdapter(new ArrayAdapter<String>(activity.this, android.R.layout.simple_dropdown_item_1line, arrayList));
then it will be work in all devices.
Solution 4:
Include the following in your layout.xml....
# xmlns:app="http://schemas.android.com/apk/res-auto"
Make sure you set your arraylist to the spinner at the end of setting listnerEvents to your spinner,
Happy coding.....
Post a Comment for "Could Not Find Class 'android.widget.themedspinneradapter' [android Studio]"