Cordova and adb-server issue

后端 未结 5 605
孤独总比滥情好
孤独总比滥情好 2021-02-09 07:31

I\'m building a project with Cordova. On iOS, the workflow seems about what I was expecting but on Android it\'s quite the balancing act and I\'m not entirely sure how to fix. I

5条回答
  •  攒了一身酷
    2021-02-09 08:26

    The possible solutions for this inconsistent scenario is as follows:

    1. Add this preference in you config.xml under android platform:

    2. Kill and restart adb server before every launch

    3. Try creating a new AVD and mention it as target while launching the AVD

    4. Remove and re-add android platform and rebuild the same

    Hope it helps.

    UPDATE: preference snippet added

提交回复
热议问题