文章目录
引入aar报错: ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Failed to transform artifact ‘xwalk_core_library-23.53.589.4-arm.aar (:xwalk_core_library-23.53.589.4-arm:)’ to match attributes {artifactType=jar}.
这两天要使用第三方webview,我引入了Intel的crosswalk内核的webview,这个crosswalk是一个aar的文件,从官网 http://npm.taobao.org/package/react-native-crosswalk-webview-plus/v/1.3.0 找到了如何拿到这个aar文件,然后按照提示步骤,总是报错:ERROR: Unable to resolve dependency for ‘:app@debugUnitTest/compileClasspath’: Failed to transform artifact ‘xwalk_core_library-23.53.589.4-arm.aar (:xwalk_core_library-23.53.589.4-arm:)’ to match attributes {artifactType=jar}.
操作步骤:
官网看到最新的版本是1.3版本下载通过npm命令下载安装crosswalk,

本文介绍了在Android项目中引入aar文件时遇到的错误:'ERROR: Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Failed to transform artifact 'xwalk_core_library-23.53.589.4-arm.aar' to match attributes {artifactType=jar}'.详细讲述了下载Intel crosswalk内核webview,aar文件的引入步骤以及配置过程,并最终通过更换aar版本成功解决问题。
最低0.47元/天 解锁文章
6527

被折叠的 条评论
为什么被折叠?



