M1でAndroid emulator起動させようとしたら下記のエラーが発生しました 厳密に言うとエラーではなく、該当のファイル or ディレクトリがありません、の問題です 調べて見たところ、こちらの現象は参照しているデ …
カテゴリーアーカイブ: Android
coc + neovimでkotlinを使う方法
Android開発をAndroid studioではなくvimで行いたくて、色々と詰まった箇所あるので記事にしてみました 手順 Kotlinのinstall まずはbrew経由でinstall Syntax系 lspの設 …
Unable to locate adb
下記の記事を参考に解消することができまし※その後別エラーが出たので、一応は解決と認識しています https://qiita.com/hazime22/items/11e5a0b801758690ad82
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 …
devise token authのexpiryをflutterで使う
expiryをflutterで使う場合は、castしてこんな感じで利用します 参考記事 Dart/Flutter : Converting timestamp
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ファ …