Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

FlutterのAndroidのアプリ公開に失敗する

Last updated at Posted at 2023-02-26

はじめに

・Androidアプリを公開するにあったって、Google Play Consoleからアプリを公開しますが、buildしたファイルをuploadしようとすると、エラーが起こった際のまとめを備忘録として残そうと思います。

「広告ID」の警告が出た場合

ref:

「このファイルは Android 12 以降にはインストールできません」の警告が出た場合

・対処法
android/app/src/main/AndroidManifest.xmlにandroid:exported = “true”を追記する。

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.news_api">
   <application
        android:label="news_api"
        android:name="${applicationName}"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize"
+           android:exported = “true”>

ref:

0
0
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

Qiita Advent Calendar is held!

Qiita Advent Calendar is an article posting event where you post articles by filling a calendar 🎅

Some calendars come with gifts and some gifts are drawn from all calendars 👀

Please tie the article to your calendar and let's enjoy Christmas together!

0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?