1> flutter clean2> Delete ios/Flutter/Flutter.framework3> pod install でいけました 参考記事 [!] The ‘Pods …
カテゴリーアーカイブ: Flutter
Could not build the application for the simulator.
Error launching application on iPhone 11.
これで治りました 参考記事 Could not build the application for the simulator. Error launching application on iPhone 11 Pro …
“Could not build the application for the simulator.
Error launching application on iPhone 11.” の続きを読む
flutterをwebでrunさせる方法
enable webしたにもかかわらずbuild targetがiosとandroidだけだったので、こちらのコマンドを走らせてみたところ無事Webが起動しました。 iosとandroidだけでなくwebでも動くなんて! …
devise token authのexpiryをflutterで使う
expiryをflutterで使う場合は、castしてこんな感じで利用します 参考記事 Dart/Flutter : Converting timestamp
Unhandled Exception: PlatformException(unregistered_view_type, trying to create a view with an unregistered type, unregistered view type: ‘plugins.flutter.io/google_maps’)
flutterにgoogle map apiを入れたらタイトルのエラーが発生 これで直りました 参考記事 google maps Trying to create a platform view of unregiste …
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 …
Columnの中でListView.builderが使えない
エラー内容 shrinkWrap: true, を入れるだけで解決できます 参考記事 【Flutter】Columnの中でListViewを使う時にエラーが出る
deviseとdevise token authを共存させる方法
qiitaの記事とドキュメントを参考にしながら実装してみました 手順 gemの追加 反映してdevise token authを追加 マイグレーションファイルは必要なカラムのみでOKなので、こんな感じに修正 initファ …
Rails devise token auth + ReactNative || flutterの雛形コード
React Nativeとflutterの両方を使うことになったので、いつも使っているrails APIにつなげることができるようにしました。 ※React Nativeは割と綺麗に書きましたが、flutterは最後のリ …
“Rails devise token auth + ReactNative || flutterの雛形コード” の続きを読む