我正在做一個JSON到Java對象分析。JSON到Java分析器-Android
我改變了我的build.gradle在Android Studio中爲:
compile 'com.fasterxml.jackson.core:jackson-core:2.7.2' compile 'com.fasterxml.jackson.core:jackson-annotations:2.7.2' compile 'com.fasterxml.jackson.core:jackson-databind:2.7.2'
packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' }
你在哪裏得到了編譯字符串?只能找到maven導入。 看看[這裏](http://stackoverflow.com/questions/25265407/how-can-i-add-boon-or-jackson-json-parsers-to-android-studio-with-gradle)。這可能會幫助你 –