Android-(虚幻引擎4)在build.gradle中更改软件包版本(Firebase)

时间:2018-07-16 20:12:18

标签: javascript android firebase google-play-services unreal-engine4

导出项目表明Firebase软件包太旧或与Google Service Plugin版本不兼容。我已经尝试过将Google Service Plugin版本设置为11.0.1,但是不幸的是,这没有用。有没有办法将Firebase的版本设置为11.0.4?预先感谢!

导出时出现以下错误:

UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Found com.google.firebase:firebase-core:11.0.1, but version 11.0.4 is needed for the google-services plugin.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Found com.google.firebase:firebase-auth:11.0.1, but version 11.0.4 is needed for the google-services plugin.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Found com.google.firebase:firebase-database:11.0.1, but version 11.0.4 is needed for the google-services plugin.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): :app:processDebugGoogleServices FAILED
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): FAILURE: Build failed with an exception.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * What went wrong:
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Execution failed for task ':app:processDebugGoogleServices'.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.0.4.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): * Try:
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED

0 个答案:

没有答案