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
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