o***@163.com
o***@163.com
  • 发布:2020-08-27 16:48
  • 更新:2020-08-27 16:48
  • 阅读:2383

离线打包集成科大讯飞语音无法构建的问题

分类:5+ SDK
  • What went wrong:
    Execution failed for task ':app:mergeDebugResources'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform speech_ifly-release.aar to match attributes {artifactType=android-res}.
> Execution failed for JetifyTransform: C:\Users\om808mo\AndroidStudioProjects\test\app\libs\speech_ifly-release.aar.
> Failed to transform 'C:\Users\om808mo\AndroidStudioProjects\test\app\libs\speech_ifly-release.aar' 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.blacklist = {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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 473ms
4 actionable tasks: 1 executed, 3 up-to-date

2020-08-27 16:48 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复