I do not know how you will do with NetBeans, since I believe that NetBeans does not have integration with adb, and you need to do everything with the console (I donโt know for sure)
But you can do it with
$./adb install -d <path_to_ur_app.apk>
Tell me, have you configured the USB devices of your device (if on Windows) on your system?
What OS are you on?
source share