Cordova and adb-server issue

后端 未结 5 600
孤独总比滥情好
孤独总比滥情好 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:10

    You are obviously experiencing a race condition where adb device is already enumerated/connected but not yet authorized. You could either wait for cordova to fix their code to eliminate the race condition altogether (or maybe even do it yourself) or just use userdebug (or eng) Android image with ro.adb.secure=0

提交回复
热议问题