小编jmi*_*rrr的帖子

Ionic 无法在最新检查期间捕获任务“:app:preDebugBuild”属性“compileManifests”的输入文件指纹

好吧,我正在为 Android 开发一个 ionic 应用程序,本周我更新了插件、cordova 和 ionic,它不会再构建 apk 了。我知道问题出在 firebase 插件上,但我不知道如何修复它。

我创建了一个新的 ionic 项目,安装了 cordova 最新版本并构建了 apk,它可以工作。我添加了 firebase 插件(ionic cordova 插件 add cordova-plugin-firebase + npm install @ionic-native/firebase)并尝试构建 apk,但出现以下错误:

BUILD FAILED in 1s
C:\Users\jmir\goInstall\platforms\android\gradlew: Command failed with         
exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
> The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[17.0.0,17.0.0], [17.2.0,17.2.0]], …
Run Code Online (Sandbox Code Playgroud)

android build firebase ionic-framework

5
推荐指数
1
解决办法
2342
查看次数

标签 统计

android ×1

build ×1

firebase ×1

ionic-framework ×1