Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
3
Help us understand the problem. What is going on with this article?
@TakagiToru

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

More than 1 year has passed since last update.

解決策

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

3
Help us understand the problem. What is going on with this article?
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.
Sign Up
If you already have a Qiita account Login
3
Help us understand the problem. What is going on with this article?