令和開発浪漫譚_flutterによるアプリ開発

flutterアプリ申請の手順メモ

android版の作成

androidだとurl_launcherが使えないのでxmlファイルを編集する。

https://dev-yakuza.posstree.com/flutter/url_launcher/

アイコンの変更方法。以下を忘れない。

$ flutter pub pub run flutter_launcher_icons:main
https://qiita.com/k-nasa/items/33426af4d396b581c101

アプリ名の変更

https://dev-yakuza.posstree.com/flutter/app-name/

rowの中でアラインをする方法

https://www.choge-blog.com/programming/flutterrowchildrencenter/

申請準備

flutter build ios とすべし

申請前のgit追加

https://zenn.dev/kentaroh/articles/c97a15aaf9d09e

aabとapkの違いあり

flutter build appbundleしたらaabファイルを生成できる

https://enoiu.com/app-develop/flutter-release/

色々やるのに使えるが、これだとエラーが出る

https://www.flutter-study.dev/create-app/publish-android

多分一番使える手順マニュアル

android配下のkey.propertiesにて、パスワードはダブルクォートを入れるとエラーが出る

https://zenn.dev/wakanao/scraps/dcf40befa3d7c2

ライブラリエラーが出たらflutter clean

https://stackoverflow.com/questions/71059082/warn-unable-to-load-jna-library-os-mac-os-x-12-2-warning-when-running-flutte

example.comで申請出した時のエラー解消

https://stackoverflow.com/questions/17397195/com-example-is-restricted-when-uploading-apk-to-play-store

国のエラーが出た場合の注意点

https://stackoverflow.com/questions/65296731/error-no-countries-or-regions-have-been-selected-for-this-track

androidのエラー(マニフェストファイルをいじる必要あり)

https://stackoverflow.com/questions/70695372/you-uploaded-an-apk-or-android-app-bundle-which-has-an-activity-activity-alias

com.exampleのままだとダメなのでマニフェスト変更

https://stackoverflow.com/questions/17397195/com-example-is-restricted-when-uploading-apk-to-play-store