Android Question Installation problem

duneplodder

Active Member
Licensed User
Longtime User
I've used B4A, on & off for several years. Yesterday I came to use it & it wouldn't install to my phone via b4A-Bridge. After much reading of the forums without success I decided to uninstall the SDK, Java jdk & B4a.

I followed the newer installation instructions page (https://www.b4x.com/b4a.html) but still have problems. I solved the "could not find dx.jar" error by creating a platform-tools\lib subfolder as opposed to the existing platform-tools\lib64 folder but get the error as displayed in the attachment.


I'm using Windows 10 & the jdk-8u65-windows-x64.exe java installation. I'm using B4A-Bridge to a real device & it is connecting OK. I'm using B4A v 5.50. This time I installed the SDK in D:\Android\ could it be a problem that it is on the D: drive?
Really not sure what I need to look for. I've never had any problems like this before.
 

Attachments

  • B4A ErrorMsg.JPG
    44.8 KB · Views: 279
Last edited:

duneplodder

Active Member
Licensed User
Longtime User
No. I don't remember doing anything like that before. What is the best way to do that in Windows 10? In msconfig or something like that?
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
Sorry, I got confused. I installed the SDK Not Java in d:\Android. Perhaps I should leave this a while as I'm going round in circles!
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
I've just seen your message & tried rebooting but it is still the same message. Task manager only shows one copy of adb.exe running.
Although it had been 3 or 4 weeks since I last ran B4A I can't think what might have changed.
Could the big Windows 10 upgrade a couple of weeks ago have caused a problem?
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
Thank you Erel. I uninstalled & reinstalled the SDK in C:\Android but I still get the same error.
I'll have to leave it until after the holiday, will try again next week.
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
I'm having another look at this.
I'm using Windows 10 which seems to have the .Net framework built in.
I looked in "Turn Windows features on & off" & ".Net Framework 4.6 Advanced Services" appears to be enabled.
Is there anything I should look for here?

I should emphasise that I'm using B4A Bridge on a real device (Moto G). It connects successfully as it always has, but when I try to run from the environment I get the error shown in my original post. I can manually copy the apk file across & install it successfully.

It is the same with my old HTC Flyer tablet.

According to Task Manager there is only one copy of adb.exe running.

Anything else I can try?
 
Last edited:
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
None of the suggestions make any difference.
I presume that adb.exe is installed with Android SDK Tools? Perhaps I should try uninstalling & reinstall this?
 
Upvote 0

JordiCP

Expert
Licensed User
Longtime User
I faced a similar problem, not with windows 10 but after an SDK upgrade

Look for all the versions/copies of adb in your system. And try what you did in post #11 with all of them.

If one is "good", you should copy that one in your SDK platform-tools path
 
Upvote 0

duneplodder

Active Member
Licensed User
Longtime User
OK I've finally found the answer. I uninstalled Kaspersky Internet Security & B4A is now operational over the B4A-Bridge. For now I'm only using Windows Defender & the Windows Firewall. I can only think that some update messed things up? I had previously tried disabling Kaspersky and/or disabling the Kaspersky Firewall with no improvement.

I now have to decide whether to try reinstalling Kaspersky - I have 7 months license remaining!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…