Android Question Connecting using USB debugging mode?

Hi, my first question here in my second day with B4A. (I never work with Android apps before, I just have few knowledge in Quickbasic and FreeBasic for Windows).

I could not run MyFirstProgram without the phone connected to my PC via USB.

When I opened it, appears:

Waiting for IDE Debugger to connect.

Mmmm, seems to be solved.

I need to change "Debug" to "Release" in the upright window.
 
Last edited:
Sorry, problems again.
I could not connect the Designer without use B4A Bridge.
In WYSIWWYG Designer I click in Connect and appears something like this (not always the same but always something similar):

b4a%20no%20connect.jpg


I did the suggestion: restart ADB Server, but nothing changes.

Any hint?

Thanks.
 
Last edited:
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Your best solution is to use the B4A-Bridge.

First Reboot you router, phones, tablets and computer to make sure that everything is refreshed. Make sure that you have installed the latest B4A-Bridge by Anywhere Software from the Play Store, run B4A-Bridge on your device and tap on Start, now start B4A on your computer and use the drop-down menu to connect to B4A-Bridge on your device. Open your program and to to the designer, use the drop-down menu to connect the designer to B4A Designer installed on your device.

Test your app in Debug mode, and that's it...
 
Upvote 0
Thanks Peter! Works on first attempt!
To fools and near no knowledge people as me, seems that just to be clear in the order and where (if in the PC or in the Android device) open each thing, makes the difference! :)
 
Upvote 0
Top