Android Question New B4a installation compile errors

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Hi, following the instructions in https://www.b4x.com/b4a.html in an Intel i7 W10 home, trying to compile, it takes too long, Ive change the time out to 600 and then I get a memory error, the machine has 8Gb ram, please see pics.
Any thing I missed?
Thanks
 

Attachments

  • 1.png
    57.2 KB · Views: 267
  • 2.png
    79.9 KB · Views: 268

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Ok, change to Jdk11
Compilando el código Java generado. (77.81s)
Convirtiendo byte code a dex optimizado. (99.77s)
Falló el dexer optimizado. Cambiando al dexer estandard.

Compiling Java 77secs
Converting dex 99secs
Is this ok?
And qhat does it means: Fail optimize dexter. Changed to standard dexter ?
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
Ive made it, set to 4096, close ide, open again, compile again and...

Generando el fichero R. (5.29s)
Compilando el código Java generado. (36.68s)
Convirtiendo byte code a dex optimizado. (87.38s)
Falló el dexer optimizado. Cambiando al dexer estandard.
Empaquetando ficheros. (10.77s)
Copiando los recursos de librerias (0.49s)
Found 28 resource files.
Firmando fichero de paquete (clave de depuración) (14.74s)
ZipAlign file. (1.40s)
Instalando archivo al dispositivo. (1.66s)
Instalando con B4A-Bridge.
Completado con éxito
 
Upvote 0

Alberto Michelis

Well-Known Member
Licensed User
Longtime User
I could compile in debug mode and the app opens the first activity and crash.
This is the log


 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…