Android エンジニアが Flutterに入門して驚いたこと3点

Android エンジニアが Flutterに入門して驚いたこと3点

potatotips #66 (iOS/Android開発Tips共有会)

D10870ded120f1ec8716b7dd823de6ed?s=128

Tatsuya Kainuma

November 11, 2019
Tweet

Transcript

  1. "OESPJEΤϯδχΞ͕ 'MVUUFSʹೖ໳ͯ͠ڻ͍ ͨ͜ͱ఺

  2. "CPVU.F ։পୡ໵ "OESPJE'MVUUFS /FXT%JHFTU /BNF +PC "QQ $PNQBOZ +9௨৴ࣾ !OVNBUDI

  3. wා͘ͳ͍Α'MVUUFS%PDUPS ࠓ೔࿩͍ͨ͜͠ͱ 5-%3 wೖΕ΍͍͢Α1MVHJO w͕࣌ؒ͋ͬͨΒ'JSFCBTF

  4. ා͘ͳ͍Α 'MVUUFS%PDUPS

  5. $ flutter doctor w'MVUUFS͕ͪΌΜͱಈ͔͘਍அͯ͘͠Ε·͢ 'MVUUFS%PDUPS

  6. ΊͬͪΌౖΒΕΔ [!] iOS toolchain - develop for iOS devices (Xcode

    xx.x.x) ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. ✗ libimobiledevice and ideviceinstaller are not installed. ✗ CocoaPods not installed. <㾎>"OESPJE4UVEJP WFSTJPOYY  ✗'MVUUFSQMVHJOOPUJOTUBMMFEUIJTBEET'MVUUFSTQFDJpDGVODUJPOBMJUZ ✗%BSUQMVHJOOPUJOTUBMMFEUIJTBEET%BSUTQFDJpDGVODUJPOBMJUZ [!] Android toolchain - develop for Android devices (Android SDK xx.x.x) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
  7. ΊͬͪΌౖΒΕΔ [!] iOS toolchain - develop for iOS devices (Xcode

    xx.x.x) ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. ✗ libimobiledevice and ideviceinstaller are not installed. ✗ CocoaPods not installed. <㾎>"OESPJE4UVEJP WFSTJPOYY  ✗'MVUUFSQMVHJOOPUJOTUBMMFEUIJTBEET'MVUUFSTQFDJpDGVODUJPOBMJUZ ✗%BSUQMVHJOOPUJOTUBMMFEUIJTBEET%BSUTQFDJpDGVODUJPOBMJUZ [!] Android toolchain - develop for Android devices (Android SDK xx.x.x) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
  8. GPS"OESPJE %BSU΋ҰॹʹೖΓ·͢

  9. ΊͬͪΌౖΒΕΔ <㾎>"OESPJE4UVEJP WFSTJPOYY  ✗'MVUUFSQMVHJOOPUJOTUBMMFEUIJTBEET'MVUUFSTQFDJpDGVODUJPOBMJUZ ✗%BSUQMVHJOOPUJOTUBMMFEUIJTBEET%BSUTQFDJpDGVODUJPOBMJUZ [!] Android toolchain -

    develop for Android devices (Android SDK xx.x.x) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses :FTϚϯͰେৎ෉ $ flutter doctor —android-licences
  10. ΊͬͪΌౖΒΕΔ [!] iOS toolchain - develop for iOS devices (Xcode

    xx.x.x) ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. ✗ libimobiledevice and ideviceinstaller are not installed. ✗ CocoaPods not installed. <㾎>"OESPJE4UVEJP WFSTJPOYY  ✗'MVUUFSQMVHJOOPUJOTUBMMFEUIJTBEET'MVUUFSTQFDJpDGVODUJPOBMJUZ ✗%BSUQMVHJOOPUJOTUBMMFEUIJTBEET%BSUTQFDJpDGVODUJPOBMJUZ [!] Android toolchain - develop for Android devices (Android SDK xx.x.x) ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
  11. GPSJ04 [!] iOS toolchain - develop for iOS devices (Xcode

    xx.x.x) ✗ Xcode installation is incomplete; a full installation is necessary for iOS development. ✗ libimobiledevice and ideviceinstaller are not installed. ✗ CocoaPods not installed. w9DPEFΛΠϯετʔϧ͠·͠ΐ͏ w)PNFCSFXΛΠϯετʔϧ͠·͠ΐ͏ w$PDPB1PETΛΠϯετʔϧ͠·͠ΐ͏ "HSFFϚϯͰେৎ෉
  12. ೖΕ΍͍͢Α 1MVHJO

  13. 'MVUUFS͸1MVHJOͰਐԽ͢Δ QVCEFWqVUUFSʹΞΫηε͠Α͏

  14. TIBSFE@QSFGFSFODFT

  15. QVCTQFDZBNM

  16. هड़ํ๏ import 'package:shared_preferences/shared_preferences.dart'; 4IBSFE1SFGFSFODFTQSFGT ɹɹɹɹɹɹɹɹɹɹBXBJU4IBSFE1SFGFSFODFTHFU*OTUBODF  JOUDPVOUFS QSFGTHFU*OU DPVOUFS 

       QSJOU 1SFTTFEDPVOUFSUJNFT 
  17. هड़ํ๏ import 'package:shared_preferences/shared_preferences.dart'; 4IBSFE1SFGFSFODFTQSFGT ɹɹɹɹɹɹɹɹɹɹBXBJU4IBSFE1SFGFSFODFTHFU*OTUBODF  JOUDPVOUFS QSFGTHFU*OU DPVOUFS 

       QSJOU 1SFTTFEDPVOUFSUJNFT  BXBJUQSFGTSFMPBE 
  18. 'JSFCBTF

  19. ັ࿭ͷ'JSFCBTF

  20. None
  21. ΋͏ɺԿ΋ා͘ͳ͍

  22. ϓϥοτϑΥʔϜʹनΘΕͳ͍ೝূػߏ w'JSFCBTF"VUIFOUJDBUJPO ϓϥοτϑΥʔϜʹनΘΕͳ͍ϓογϡ௨஌ w'JSFCBTF$MPVE.FTTBHJOH

  23. lଓ͖͸"EWFOUDBMFOEBSͰz

  24. ࠷ޙʹ

  25. +9௨৴ࣾͷ7BMVFʹ͍ͭͯ '0$V4 F = Future-oriented(ະདྷʹ޲͔ͬͯ௅ઓ͠Α͏) O = Ownership(౰ࣄऀҙࣝΛൃش͠Α͏) Cu =

    Customer-first(ৗʹސ٬ࢤ޲Ͱ) S = Speed(εϐʔυײΛ࣋ͬͯऔΓ૊΋͏)