Got it from here:

http://code.google.com/p/ankidroid/issues/detail?id=1271

Someone says:

This seems to be the culprit:
Caused by: java.lang.UnsupportedOperationException: Can't convert to 
dimension: type=0x1

at android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)

Type 0x1 seems to be: COMPLEX_UNIT_DIP (or any of the other 3 that have 
value 1 in 
http://developer.android.com/reference/android/util/TypedValue.html)

The crash happens when trying to inflate StyledOpenCollectionDialog with 
styled_open_collection_dialog.xml




On Monday, August 6, 2012 5:56:05 PM UTC-5, MagouyaWare wrote:
>
> He's probably using dip units, and it wants him to use pixels or inches or 
>> something else.
>>
> Where in the world are you getting that from? dip units have pretty much 
> been around since the dawn of Android time...
>
> Thanks,
> Justin Anderson
> MagouyaWare Developer
> http://sites.google.com/site/magouyaware
>
>
> On Mon, Aug 6, 2012 at 4:18 PM, bob <[email protected]> wrote:
>
>> He's probably using dip units, and it wants him to use pixels or inches 
>> or something else.
>>
>>
>>
>> On Monday, August 6, 2012 4:36:30 PM UTC-5, Kostya Vasilyev wrote:
>>>
>>> match_parent and fill_parent are handled by the resource compiler 
>>> and are the same at runtime (check ViewGroup.LayoutParams).
>>>
>>> Posting a portion of your layout file should help.
>>>
>>> -- K
>>>
>>> 2012/8/7 Justin Anderson <[email protected]>
>>>
>>>> Maybe it says something like fill_parent and it wants to see 
>>>>> match_parent?
>>>>>
>>>> If that is the case then it would probably be the other way around... 
>>>> match_parent was added after fill_parent
>>>>
>>>>
>>>> Thanks,
>>>> Justin Anderson
>>>> MagouyaWare Developer
>>>> http://sites.google.com/site/**magouyaware<http://sites.google.com/site/magouyaware>
>>>>
>>>>
>>>> On Mon, Aug 6, 2012 at 2:00 PM, bob <[email protected]> wrote:
>>>>
>>>>> Why not take a look at your XML file on line #24?
>>>>>
>>>>> Maybe it says something like fill_parent and it wants to see 
>>>>> match_parent?
>>>>>
>>>>>
>>>>>
>>>>> On Saturday, August 4, 2012 4:59:32 AM UTC-5, VIPIN wrote:
>>>>>>
>>>>>> Hello All,
>>>>>> I am new  in Android 
>>>>>> I have develop a app in android api level 8( version 2.2). And it is 
>>>>>> working fine. But when i run this program in Lower version , then it 
>>>>>> work 
>>>>>> fine with API level 6 & 7. But it gives error in API level 5. It shows 
>>>>>> error :
>>>>>>
>>>>>>  ERROR/AndroidRuntime(287): Uncaught handler: thread main exiting due 
>>>>>> to uncaught exception
>>>>>>
>>>>>>  ERROR/AndroidRuntime(287): java.lang.RuntimeException: Unable to 
>>>>>> start activity ComponentInfo{com.tech.gift/**co**m.tech.gift.**
>>>>>> HomeLayoutActivity**}: android.view.InflateException: Binary XML 
>>>>>> file line #24: Error inflating class android.widget.FrameLayout
>>>>>>  
>>>>>>
>>>>>> I have check all xml file as well as activity files. but there is not 
>>>>>> any problam.
>>>>>>
>>>>>> Plz suggest we what i do to rum my App on API level 5 of Android.
>>>>>>
>>>>>  -- 
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Android Developers" group.
>>>>> To post to this group, send email to android-developers@**
>>>>> googlegroups.com <[email protected]>
>>>>> To unsubscribe from this group, send email to
>>>>> android-developers+**[email protected]<android-developers%[email protected]>
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>>>
>>>>
>>>>  -- 
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Android Developers" group.
>>>> To post to this group, send email to android-developers@**
>>>> googlegroups.com <[email protected]>
>>>> To unsubscribe from this group, send email to
>>>> android-developers+**[email protected]<android-developers%[email protected]>
>>>> For more options, visit this group at
>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en>
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to