yarn start无法启动app,在安卓模拟器中



  • 模拟器已经开启。
    cmd提示信息:
    15:22:12: Starting Android...
    (node:1724) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'length' of null
    Error running adb: Error running app. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=exp://192.168.1.8:19000 flg=0x10000000 }

    › Press a to open Android device or emulator.
    › Press q to display QR code.
    › Press r to restart packager, or R to restart packager and clear cache.
    › Press d to toggle development mode. (current mode: development)