OK, I've had this working before fine, but not used it in a couple months. Need to do a bit of work today and have changed my phone, but no matter what I do, I cannot connect via the IDE to the phone via USB or the b4a bridge.
The bridge itself is working. Shows as connected on the device (at least the icon changes from broken to connected). The file explorer in the b4a gui works to the device, so it must be working, but try to upload the app, and it fails with this error, which does not make sense as I thought the bridge did not use ADB?
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.10s)
Compiling generated Java code. (1.31s)
Convert byte code - optimized dex. (0.92s)
Packaging files. (0.25s)
Copying libraries resources (0.00s)
Signing package file (private key). (0.51s)
ZipAlign file. (0.05s)
Installing file to device. Error
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
I've restarted. Am running the latest SDK and Platform tools. I've tried via USB with 'install from unknown devices' enabled on the device and the usb debug option enabled. Same error. The b4a bridge has been allowed to install unknown apps. Restarted everything. Uninstalled and re-installed bridge etc. Can't figure out why this isn't working anymore.
Any ideas at all?
Thanks.
The bridge itself is working. Shows as connected on the device (at least the icon changes from broken to connected). The file explorer in the b4a gui works to the device, so it must be working, but try to upload the app, and it fails with this error, which does not make sense as I thought the bridge did not use ADB?
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.10s)
Compiling generated Java code. (1.31s)
Convert byte code - optimized dex. (0.92s)
Packaging files. (0.25s)
Copying libraries resources (0.00s)
Signing package file (private key). (0.51s)
ZipAlign file. (0.05s)
Installing file to device. Error
* daemon not running; starting now at tcp:5037
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
I've restarted. Am running the latest SDK and Platform tools. I've tried via USB with 'install from unknown devices' enabled on the device and the usb debug option enabled. Same error. The b4a bridge has been allowed to install unknown apps. Restarted everything. Uninstalled and re-installed bridge etc. Can't figure out why this isn't working anymore.
Any ideas at all?
Thanks.