When I add the JsonPath library to my Android Studio (1.4) project I get an error as following:
Error:Execution failed for task \':app:dexDebug\'. \\>
com.an
If you add compile 'net.minidev:json-smart:2.2'
, the problem will be resolved.
For more background on the problem, see https://github.com/jayway/JsonPath/issues/116 and https://github.com/jayway/JsonPath/pull/108. Version 2.1.0
of json-path
, which hasn't been released yet, will point to the 2.2
version of json-smart
, resolving this issue. Until then the above workaround is necessary.