小白实战手册,模拟激萌相机挂件,编译报错
发表在Android图书答疑 2021-12-20 《零基础学Android》第2章 第一个Android应用
是否精华
版块置顶:

> Task :app:compileDebugJavaWithJavac FAILED


FAILURE: Build completed with 5 failures.


1: Task failed with an exception.

-----------

* What went wrong:

Execution failed for task ':app:mergeDebugJavaResource'.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

   > Failed to transform Msc.jar to match attributes {artifactType=android-java-res, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.

      > Execution failed for JetifyTransform: E:\MyAndroidDemo\work\CameraPendant\app\libs\Msc.jar.

         > Failed to transform 'E:\MyAndroidDemo\work\CameraPendant\app\libs\Msc.jar' using Jetifier. Reason: InvalidByteCodeException, message: Error processing 'com\iflytek\thirdparty\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 --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

==============================================================================


2: Task failed with an exception.


分享到:
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照