How to connect project with USB Cable

Hello friends how to connect Project with USB Cable please give me any idea

Please give some more information ? It will be helpful in getting exact answer you are looking for.

Please explain your question briefly what exactly are you saying? Do you want to test your app with USB cable?

Yes I want to test my app with USB cable

If you are making the app on pc then follow the documents link which @Boban has sent.
If you are making app on phone, it will be better to test the app on companion app. It’s much easy and better!