Error debugging android

i was using this guide to debug my game Cocos Creator — How to Debug Native (Android) | by N. Wigi | Medium

i followed every step and i get this error
image
any ideas?

Perhaps you need to turn on USB debugging on your phone?

1 Like

i wish it was that but no its already turned on and its the same phone and cable i used for play after build and compile

UPDATE so i was an idiot i was tryna debug the apk that was inside publish and not simulator one after trying with that one i got this error

ar: attachRequest: address: localhost port: 5086

ar: attachRequest: connected

ar: _termiated: socket error

ar: _termiated: cocos firefox protocol error: input stream error

ar: _termiated: cocos firefox protocol error: error happend in send request

ar: _termiated: cocos firefox protocol close

ar: _termiated: socket error

ar: _termiated: cocos firefox protocol error: input stream error

ar: _termiated: cocos firefox protocol error: error happend in send request
1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.