LoginSignup
0
1

More than 3 years have passed since last update.

firebase_admob: ^0.11.0+1を使ったらFlutterがビルドエラーになった話

Posted at

2021年2月4日

firebase_admob: ^0.11.0+1を使ったらFlutterがビルドエラーなりました!

英語での情報もふくめ色々試しましたが、エラーは解消せず。
firebase_admobのバージョンを下記に下げたらビルドできる様になりました!
firebase_admob: ^0.10.3

下記その時のエラー情報を載せます!
```
* What went wrong:
Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
/Users/tanakayohei/.gradle/caches/transforms-2/files-2.1/804bb16bf16b5e91bc08a39b6997ce12/play-services-ads-lite-19.6.0/AndroidManifest.xml:27:5-38:15: AAPT: error: unexpected element found in .

  • 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 12s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin firebase_admob...
Exception: The plugin firebase_admob could not be built due to the issue above.
Exited (sigterm)
```

Flutterのバージョン


Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (12 days ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5
`

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1