-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after upgrade AndroidStudio3 + gradle3.0.0 + android 6.0 device then throw java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12 #317
Comments
hexi
changed the title
after upgrade AndroidStudio3 + gradle3.0.0 throw java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
after upgrade AndroidStudio3 + gradle3.0.0 + android 6.0 device then throw java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
Nov 23, 2017
I have the same issue |
Same here ! |
I encountered this and migrated to TabLayout https://developer.android.com/reference/android/support/design/widget/TabLayout.html For me it was as simple as changing the class and #setViewPager to #setupWithViewPager. |
i have same issue ,How to solve it? |
still crash at here! @zhuangdaoyuan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x12
at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:666)
at com.astuetz.PagerSlidingTabStrip.(PagerSlidingTabStrip.java:148)
at com.astuetz.PagerSlidingTabStrip.(PagerSlidingTabStrip.java:106)
at java.lang.reflect.Constructor.newInstance(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:619)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
at com.futures.appframework.BaseActivity.setContentView(BaseActivity.java:92)
at com.baidao.futures.module.message.MessageActivity.onCreate(MessageActivity.java:70)
The text was updated successfully, but these errors were encountered: