E:\Project\AndroidStudioProjects\FaceDetection\app\build.gradle: Error: json defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar. [DuplicatePlatformClasses]
Explanation for issues of type "DuplicatePlatformClasses":
There are a number of libraries that duplicate not just functionality of
the Android platform but using the exact same class names as the ones
provided in Android -- for example the apache http classes. This can lead
to unexpected crashes.
To solve this, you need to either find a newer version of the library which
no longer has this problem, or to repackage the library (and all of its
dependencies) using something like the jarjar tool, or finally, rewriting
the code to use d
Android 打包出错 failed for task ':app:lintVitalRelease'
最新推荐文章于 2024-06-21 15:19:23 发布
E:\Project\AndroidStudioProjects\FaceDetection\app\build.gradle: Error: json defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternativ...
摘要由CSDN通过智能技术生成