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
    1.png
    57.2 KB · Views: 178
  • 2.png
    2.png
    79.9 KB · Views: 180

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


load: id=gralloc != hmi->id=gralloc
*** Debugger waiting for connection (0) ***
core_booster, getBoosterConfig = false
mSecurityInputMethodService is null
After accept
[/system/bin/logcat, -v, raw]
null
null
Calling by::className:anywheresoftware.b4a.remotelogger.RemoteLogger$2 MethodName:run
adb shell setprop debug.firebase.analytics.app armi.portit
mSecurityInputMethodService is null
load: id=gralloc != hmi->id=gralloc
load: id=gralloc != hmi->id=gralloc
Initialized EGL, version 1.4
readlink('/proc/self/fd/36') failed: Permission denied [fd=36]
warning: unable to get realpath for the library "libhwaps.so". Will use given name.
load: so=/system/lib64/libhwuibp.so
dlopen failed: library "/system/lib64/libhwuibp.so" not found
Initialize Binary Program Cache: Load Failed
load: id=gralloc != hmi->id=gralloc
*** Debugger waiting for connection (0) ***
core_booster, getBoosterConfig = false
mSecurityInputMethodService is null
After accept
[/system/bin/logcat, -v, raw]
null
null
Calling by::className:anywheresoftware.b4a.remotelogger.RemoteLogger$2 MethodName:run
Tag Manager is not found and thus will not be used
action:com.google.firebase.MESSAGING_EVENT, mPermissionType:0
Thread[2,tid=15556,WaitingInMainSignalCatcherLoop,Thread*=0x55942db470,peer=0x12c950a0,"Signal Catcher"]: reacting to signal 3
java.net.SocketTimeoutException
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:99)
at java.net.ServerSocket.implAccept(ServerSocket.java:229)
at java.net.ServerSocket.accept(ServerSocket.java:147)
at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:153)
at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
at java.lang.Thread.run(Thread.java:833)
Caused by: android.system.ErrnoException: accept failed: EAGAIN (Try again)
at libcore.io.Posix.accept(Native Method)
at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:63)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:89)
... 5 more
Wrote stack traces to '/data/anr/traces.txt'
 
Upvote 0
Top