How did you manage to include json4s at all?

The json4s-native dependencies just bumps up my method references by 
100000.. and I get the "Too many method references" error when generating 
the dex.


On Saturday, 28 June 2014 13:39:48 UTC+1, Andrei Varanovich wrote:
>
> yes, I did. Doesn't help.
>
> Am Donnerstag, 24. April 2014 20:17:11 UTC+2 schrieb Nick Stanchenko:
>>
>> Hi,
>>
>> Have you tried
>> -keep class scala.collection.immutable.Set { *; }
>> ?
>>
>> Nick
>>
>> On Thursday, April 24, 2014 5:25:23 PM UTC+1, Andrei Varanovich wrote:
>>>
>>> Hi all,
>>>
>>> this is less about scala itself, but rather about Proguard issue I have.
>>> I am using json4s JSON library and getting a weird exception while 
>>> trying to de-serialize one of my objects.
>>>
>>>  Could not find method scala.collection.immutable.Set.hashCode, 
>>> referenced from method org.json4s.JsonAST$JObject.hashCode
>>>  VFY: unable to resolve interface method 43131: 
>>> Lscala/collection/immutable/Set;.hashCode ()I
>>>
>>> I tried to play with Proguard settings without any luck:
>>>
>>> -keep class scala.collection.immutable.ListSet { *; }
>>> -keep class * extends scala.collection.AbstractSet { *; }
>>> -keep interface scala.collection.immutable.** { *; }
>>>
>>> This line causes an exception 
>>> https://github.com/json4s/json4s/blob/master/ast/src/main/scala/org/json4s/JsonAST.scala#L211
>>>
>>> Any ideas how to include a proper Set type into Proguard config?
>>>
>>> thanks,
>>> Andrei
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to