M1でAndroid emulatorを起動させる

M1でAndroid emulator起動させようとしたら下記のエラーが発生しました 厳密に言うとエラーではなく、該当のファイル or ディレクトリがありません、の問題です 調べて見たところ、こちらの現象は参照しているデ …

Warning: CocoaPods not installed. Skipping pod install.
CocoaPods is used to retrieve the iOS and macOS platform side’s plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

ターミナルからAndroid Studioを起動するとエラーが出ないようなので、こちらを実行 動きました! 参考記事 Android StudioでFlutterアプリ(iPhoneエミュレータ)を実行すると’Warni …

[!] The ‘Pods-Runner’ target has transitive dependencies that include statically linked binaries: (/Users/masahirookubo/myprojects/ios/Flutter/Flutter.framework)

1> flutter clean2> Delete ios/Flutter/Flutter.framework3> pod install でいけました 参考記事 [!] The ‘Pods …

The following assertion was thrown while handling a gesture:
Navigator operation requested with a context that does not include a Navigator.
The context used to push or pop routes from the Navigator must be that of a widget that is a
descendant of a Navigator widget.

flutterでRaisedButton にNavigator を入れたらタイトルのエラーが発生しました 参考記事 【Flutter】画面遷移でのエラーについて

Another exception was thrown: RangeError (index): Invalid value: Valid value range is empty: 1

タイトルのエラーが発生 調べたら初歩的で、ListViewのlengthをしていないと発生するらしいです こちらが解決後のコード 参考記事 RangeError (index): Invalid value: Valid …

deviseとdevise token authを共存させる方法

qiitaの記事とドキュメントを参考にしながら実装してみました 手順 gemの追加 反映してdevise token authを追加 マイグレーションファイルは必要なカラムのみでOKなので、こんな感じに修正 initファ …