Android Question Error after formatting

Gerardo Tenreiro

Active Member
Licensed User
My hard drive stopped working and I had to reinstall Windows 10 and all the programs again. Luckily, I always have backup copies of everything, but now the project is generating this error that I don't know where it came from.
Compilando el código del motor de depuración. (27.94s)
Compilando el código Java generado. Error
error: Could not load processor class file due to 'androidx/lifecycle/LifecycleProcessor has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 58.0'.
1 error

Any suggestions on how to fix this?
Thank you very much.
 

Gerardo Tenreiro

Active Member
Licensed User
Thank you very much, Erel.
Now the error indicates that the key provided is incorrect.
What does this mean?
Which key?

Can you guide me further?
Thank you very much.

This is the error the compiler is currently displaying.
B4A Versión: 13.10
Parseando código. (0.31s)
Java Versión: 19
Building folders structure. Error
La clave proporcionada no se encontró en el diccionario.
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
Yes, this happens to all my old projects. If I create a new one, everything works fine.
Could it have something to do with the project key?
Thanks for the help.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Yes, this happens to all my old projects. If I create a new one, everything works fine.
Could it have something to do with the project key?
Thanks for the help.
Export the old project as zip, extract it to a new project, and then run it, see what it happens
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
Hello
The same thing happens. It generates the same error.

In fact, I already started with a ZIP backup because the disk was damaged and I couldn't recover anything, so all the applications are in a ZIV backup.

Now I changed the key, generated a new one, and it compiles, but when I send it to the device, it arrives, analyzes it, says it's correct, that it will install, but it doesn't.

What else could be happening?

Thank you very much.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Hello
The same thing happens. It generates the same error.

In fact, I already started with a ZIP backup because the disk was damaged and I couldn't recover anything, so all the applications are in a ZIV backup.

Now I changed the key, generated a new one, and it compiles, but when I send it to the device, it arrives, analyzes it, says it's correct, that it will install, but it doesn't.

What else could be happening?

Thank you very much.
From your description, the old projects can already be compiled, the issue now is no longer the post #3, it should be another error?
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
I'm only working on one project at the moment. When this one is resolved, I'll continue with the others.

For whatever reason, the key on this project stopped working. I have a copy, but when I add it, it gives this error:


1747319852323.png


I generated a new key and the project now compiles, but when I try to debug it on the device, it does everything: compiles, sends it to the device, analyzes it on the device, says it can be installed, but at the end, a window appears indicating that the application has not been installed.

It doesn't matter if I do it with the first or second copy, it always uses the new key. It doesn't compile with the old key.

Thanks.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Are you sure the key password is correct? try creating a new key, ensure the password is correct
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
The key is correct, if I put a different one it generates this other error.

1747321540338.png



With the correct key, it compiles, sends it to the device, the device analyzes the app, tells me I can install it, and when it's finished, it tells me the app hasn't been installed.
Any suggestions or tests I can try?

Thank you very much.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
With the correct key, it compiles, sends it to the device, the device analyzes the app, tells me I can install it, and when it's finished, it tells me the app hasn't been installed.
Any suggestions or tests I can try?

Thank you very much.
1.Delete the app if it has been installed on the device. and then install it
2.Or copy the apk to the device and install it manually, see what happens
 
Last edited:
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
I uninstalled the APK from my phone.
I recompiled the app in DEBUG mode.
I copied the app to the device.
I tried to install it and it ended with the same error: the app couldn't be installed.

Any other ideas?
Thank you very much.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
What is the screenshot? did you try installing using usb cable in developer mode?
 
Upvote 0

Gerardo Tenreiro

Active Member
Licensed User
The solution was to reinstall B4A.
First, I deleted C:\JAVA
Also C:\ANDROID
Uninstall B4A, b4R, and b4J
Downloaded everything again and reinstalled.
Now it works correctly with the old key the project had.

When I test, I always use a USB cable first, and if I have Wi-Fi issues. (My Wi-Fi is bad, so a USB cable is safer.)

Thank you very much.
 
Upvote 0
Top