Android Question Compiling

Marc Roy

New Member
Licensed User
I can't seem to find any information on this. When I compile an app (any app) in b4a, it times out at 120 seconds and I get an "Signing package file (private key) Error".

Sometimes the package is signed within 120 and the compile completes. I know I can increase the time out in b4a, but I get the impression that there is something wrong. I tried to reinstall a couple of times with no change.

I don't know if this is relevant, but a certain behavior I noticed, when the app does compile successfully, anytime I recompile with little change in my code, the "Signing package" section of the compile has no delay.

Does anyone know why this is happening and are there any suggestions?
 

Marc Roy

New Member
Licensed User
The project is located in a set of sub folders off my desktop. I'm compiling Pack Droid which uses libGDX. "Signing package file (private key)" takes over 100 seconds.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
try to create a new key. where do you save your keystore file?
what b4a version are you using?

it is recommended to install b4a in a different folder then Program Files. try to install it to c:\ and put also the keystore file to that folder and load it from there.
 
Upvote 0

Marc Roy

New Member
Licensed User
This problem is is with Java, not B4A. My computer has been running the same installation of windows for over 6 years. After installation of different versions of Java over the years, the settings just simply got messed up.

I've been trying a lot of stuff over the last 2 days (installing, reinstalling, un-installing java of different versions and so on) including the suggestions here (thank you btw).

I don't know if this was the right solution to my problem but I just don't want to waste any more time on this. I finally did a fresh complete reinstall of Windows 7 and all of its software and drivers.

Now it compiles much faster, including the signing of the package which is now within 2 seconds. It also cleared out other compile errors I was manually resolving by terminating Java within task manager.
 
Upvote 0
Top