Android Question No device found. Please use B4A-Bridge to connect to a device or start an emulator.

bfw

Member
Hi all,
new day, new problems When I start my application like yesterday, I got the message

[IDE message - 10:10:18]
No device found.
Please use B4A-Bridge to connect to a device or start an emulator.

I had connected a smart phone via USB cable to charge it, but I don't want to use it for testing but rather the emulator. I I run [Tools] > [Restart ADB server] the following pops up:


How can I told the IDE, that I want to use the emulator instead of a connected smart phone?
 

teddybear

Well-Known Member
Licensed User
You don't want to use the phone for testing , did you install an emulator on your pc?
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
The error was
B4X:
ERROR | Running multiple emulators with the same AVD
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Did you start an emulator and then compile & run your app?
 
Upvote 0

bfw

Member
I deleted the contents of the .android\avd directory and created a new avd in the avd manager. After that it worked again
 
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
Anyway you can keep your phone connected (or more than one) and even run one or more emulators (different ones).
When compiling B4A will request which device must be targeted for installation.
CTRL-P to clean the project will ensure this request.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…