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 :confused: 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:

Error:
INFO | Android emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
INFO | Graphics backend: gfxstream
INFO | Found systemPath E:\Android\system-images\android-28\default\x86_64\
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO | Changing default hw.initialOrientation to portrait

INFO | Increasing RAM size to 1536MB
INFO | IPv4 server found: 192.168.178.1
INFO | Ignore IPv6 address: f051:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: f051:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: f051:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e857:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e857:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e857:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: f85d:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: f85d:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: f85d:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e86f:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e86f:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: e86f:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: 1076:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: 1076:96f2:1302:0:f051:96f2:1302:0
INFO | Ignore IPv6 address: 1076:96f2:1302:0:f051:96f2:1302:0
ERROR | Running multiple emulators with the same AVD
ERROR | is an experimental feature.
ERROR | Please use -read-only flag to enable this feature.

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

bfw

Member

Attachments

  • Screenshot 2024-11-30 224329.png
    Screenshot 2024-11-30 224329.png
    53.3 KB · Views: 13
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
Top