Help us understand the problem. What is going on with this article?

More than one file was found with OS independent path 'lib/x86/libflutter.so'

解決策

android/app/build.gradleファイルに、pickFirst 'lib/x86/libflutter.soを追加する。

例)build.gradle

android {
  defaultConfig {
    packagingOptions {
        pickFirst 'lib/x86/libflutter.so'
    }
  }
}

背景

2019年6月18日現在
Flutterのバージョンをアップデートしたら、以下のようなエラーが出るようになった

キャプチャ.PNG

Flutter 1.7.5-pre.21 • channel master • https://github.com/flutter/flutter.git
Framework • revision 217890685b (9 hours ago) • 2019-06-18 00:07:55 -0400
Engine • revision 20d3861ac8
Tools • Dart 2.4.0

最後に

僕はNativeエンジニアでもないので、対処法が間違っている可能性があります。
何か気になる点などがあれば、ご指摘いただけると幸いです。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした