文章目录
引入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,