Can't convert to dimension: type=0x1 when running app on Android 4.1

后端 未结 1 397
再見小時候
再見小時候 2020-12-20 19:33

I recently started to use genymotion instead of classic Android virtual device, but I have some issues with it.. When I try to run my app I got this error.

         


        
相关标签:
1条回答
  • 2020-12-20 20:31

    Always look at the API Level for an attribute:

    <RelativeLayout
        ...
        ...
        android:layout_alignParentEnd="false"/>
    

    android:layout_alignParentEnd was added in API level 17

    http://developer.android.com/reference/android/widget/RelativeLayout.html#ALIGN_PARENT_END

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