I am trying to use GSON in Android app but it causes a crash. After some reading it seems that HTC have included GSON and that causes a conflict. One propoused solution was to use jarjar.jar to rename gson classes to solve the conflict. When I try to do this I get this error:
Syntax error: Error on line 1: [{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360]
The command I am executing:
java -jar jarjar-1.2.jar process rules.txt gson-2.1.jar myjson-2.1.jar
rules.txt: rule com.google.gson.** com.google.myjson.@1
Any ideas?