Android 4.2.2 GSON latest version parsing error, it is correct to reduce to Gson1.7

http://stackoverflow.com/questions/16795492/gson-error-jellybean

 

Caused by: java.lang.StackOverflowError\n\tat com.google.gson.internal.$Gson$Types.resolve($Gson$Types.java:375)

 ...

 

 

The solution is to downgrade the GSON version to 1.7 and the problem is solved.

 

But a new problem comes out, gson cannot be parsed after obfuscation and compilation.

 


After the test, it was found that the obfuscated compilation can also be used normally.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326762146&siteId=291194637