It's been almost 5 years since I used B4A so I decided to download the most recent eval and have a go.
I have the Android Emulator using HW Acceleration. I'm using Win7 and running as Administrator user.
Everything installed fine, but when I try to compile and run an app in the Android Emulator by pressing F5, I get:
B4A version: 5.80
Parsing code. (0.00s)
Compiling code. (0.25s)
Compiling layouts code. (0.00s)
Generating R file. (1.33s)
Compiling debugger engine code. (2.94s)
Compiling generated Java code. (0.84s)
Convert byte code - optimized dex. (0.36s)
Packaging files. (0.18s)
Trial version-skipping library resources (0.00s)
Signing package file (debug key). (0.45s)
ZipAlign file. (0.18s)
Installing file to device. Error
Cannot create process: Access is denied. (5)
* failed to start daemon *
error: cannot connect to daemon
And of course the app does NOT get sent to the emulator.
Then I tried GenyMotion and altered its adb.exe location so it used the Android SDK version instead of its own. When I try and run the B4A app I get the same error message. This B4A app is a simple one line MsgBox(). Of course it uses no libraries. ADB.EXE is running and I've confirmed it is the Android SDK version using Process Explorer.
It appears to me to be a security problem. Can someone confirm? I am running B4A and GenyMotion as Admin and I modified the properties of ADB.EXE as "Run this program as an administrator".
Still no joy.
Any ideas?
(I lent my Android device to someone else and I don't have one available at the moment. I should be able to get something to appear in the Emulator, shouldn't I? The emulator worked just fine for me 5 years ago with B4A. )
TIA
Widget
I have the Android Emulator using HW Acceleration. I'm using Win7 and running as Administrator user.
Everything installed fine, but when I try to compile and run an app in the Android Emulator by pressing F5, I get:
B4A version: 5.80
Parsing code. (0.00s)
Compiling code. (0.25s)
Compiling layouts code. (0.00s)
Generating R file. (1.33s)
Compiling debugger engine code. (2.94s)
Compiling generated Java code. (0.84s)
Convert byte code - optimized dex. (0.36s)
Packaging files. (0.18s)
Trial version-skipping library resources (0.00s)
Signing package file (debug key). (0.45s)
ZipAlign file. (0.18s)
Installing file to device. Error
Cannot create process: Access is denied. (5)
* failed to start daemon *
error: cannot connect to daemon
And of course the app does NOT get sent to the emulator.
Then I tried GenyMotion and altered its adb.exe location so it used the Android SDK version instead of its own. When I try and run the B4A app I get the same error message. This B4A app is a simple one line MsgBox(). Of course it uses no libraries. ADB.EXE is running and I've confirmed it is the Android SDK version using Process Explorer.
It appears to me to be a security problem. Can someone confirm? I am running B4A and GenyMotion as Admin and I modified the properties of ADB.EXE as "Run this program as an administrator".
Still no joy.
Any ideas?
(I lent my Android device to someone else and I don't have one available at the moment. I should be able to get something to appear in the Emulator, shouldn't I? The emulator worked just fine for me 5 years ago with B4A. )
TIA
Widget