Android Ionic无法捕获任务';的输入文件指纹:app:preDebugBuild&x27;财产';编译测试';在最新检查期间

Android Ionic无法捕获任务';的输入文件指纹:app:preDebugBuild&x27;财产';编译测试';在最新检查期间,android,firebase,ionic-framework,build,Android,Firebase,Ionic Framework,Build,好的,我正在为android开发一款ionic应用,本周我更新了插件cordova和ionic,它将不再构建apk。我知道问题出在firebase插件上,但我不知道如何修复它 我创建了一个新的爱奥尼亚项目,安装了cordova最新版本并构建了apk,它可以工作。 我添加了firebase插件(ionic cordova plugin add cordova plugin firebase+npm install@ionic native/firebase)并尝试构建apk,但出现以下错误: BU

好的,我正在为android开发一款ionic应用,本周我更新了插件cordova和ionic,它将不再构建apk。我知道问题出在firebase插件上,但我不知道如何修复它

我创建了一个新的爱奥尼亚项目,安装了cordova最新版本并构建了apk,它可以工作。 我添加了firebase插件(ionic cordova plugin 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]], but resolves to 17.2.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

* 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 1s
[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd build android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.
我不能给你看一些代码,因为我真的没有改变任何东西,只是添加了我需要的插件


我尝试过使用旧版本的ionic、cordova和firebase,但仍然出现相同的错误。

ionic未能捕获任务的输入文件指纹:app:preDebugBuild'property'compileManifests'在最新检查期间 出现此问题的原因是fcm,因此
1) .首先移除平台

爱奥尼亚cordova平台rm安卓

2) .删除fcm

cordova插件rm cordova插件firebase库

3) .添加平台

爱奥尼亚科尔多瓦平台公司android@latest

4) .添加fcm
爱奥尼亚cordova插件添加cordova插件fcm,并更新相关性
npm安装@ionic native/fcm


5) ionic cordova build android

您还使用了哪些其他插件?我只使用fire和firebase,在这种情况下,我想它不是一个插件,但我运行了npm install firebase@angular/fire--保存在我的项目中请显示错误,然后我会建议您。。并显示离子信息的数据。。表示平台和cli详细信息我没有使用cordova插件firebase lib插件?然后尝试使用reomve并添加平台