问题:android studio fastJson解析数据时候java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Point。。。。。
解决方案:1.打开app-----》open module setting 如下图,查看jar包是否已添加成功,如若没有,点击+号添加,也可以手动在gradle中添加
compile fileTree(include: ['*.jar'], dir: 'libs')
添加完之后clean工程重新编译,
2.如果还是失败,重新下载附带android后缀的jar包,(我原本使用的是fastjson-1.1.22,后来使
用fastjson-1.1.34.android.jar成功了)