|
上面 20181configlayout 问题已找到解决,现在有个新问题
FAILURE: Build completed with 4 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkCheckDebugDuplicateClasses'.
> Could not resolve all files for configuration ':app:checkDebugRuntimeClasspath'.
> Failed to transform eMPIA_lib_v_20161103_finish.jar to match attributes {artifactType=enumerated-runtime-classes, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: G:\Kuaichedao\Zhifayi\app\libs\eMPIA_lib_v_20161103_finish.jar.
> Failed to transform 'G:\Kuaichedao\Zhifayi\app\libs\eMPIA_lib_v_20161103_finish.jar' using Jetifier. Reason: InvalidByteCodeException, message: Error processing 'com\empia_lib\jar\a.class' bytecode.. (Run with --stacktrace for more details.)
This is a known exception, and Jetifier won't be able to jetify this library.
Suggestions:
- If you believe this library doesn't need to be jetified (e.g., if it already supports AndroidX, or if it doesn't use support libraries/AndroidX at all), add android.jetifier.ignorelist = {comma-separated list of regular expressions (or simply names) of the libraries that you don't want to be jetified} to the gradle.properties file.
- If you believe this library needs to be jetified (e.g., if it uses old support libraries and breaks your app if it isn't jetified), contact the library's authors to update this library to support AndroidX and use the supported version once it is released.
If you need further help, please leave a comment at https://issuetracker.google.com/issues/140747218.
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
|
|