Android Question B4A Version: 10.2 BETA #1 problem android 4.4.4

Dey

Active Member
Licensed User
Longtime User
I am experiencing this problem in android 4.4.4
even with physical device

Compile:
B4A Version: 10.2 BETA #1
Java Version: 8
Parsing code. (0.86s)
Building folders structure. (0.73s)
Compiling code. (0.76s)
Compiling layouts code. (0.08s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (0.71s)
Compiling generated Java code. (7.58s)
Convert byte code - optimized dex. (6.93s)
Packaging files. (1.02s)
Copying libraries resources (0.16s)
Found 4 resource files.
Signing package file (debug key). (2.73s)
ZipAlign file. (0.85s)
Installing file to device. (12.11s)
Device serial: 192.168.123.101:5555
Completed successfully.
Logger connected to: 192.168.123.101:5555
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
** Receiver (reboot) OnReceive **
*** Service (starter) Create ***
Starter.p.SdkVersion=19
Starter.p.Model=Tablet 1280x800 4.4.4
Starter.p.Manufacturer=Genymotion
** Service (starter) Start **
** Service (reboot) Create **
Reboot...
** Service (reboot) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
Starter.Service_Start
DateTime: 08/31/2020 - 16:56:38
Partial wakeLock already held.
StatusBar Height 25 NavigationBar Height 48
Screenn Width 1280 Height 727
*** Service (sstatusbar) Create ***
** Service (sstatusbar) Start **
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=63 time=0.830 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=63 time=0.962 ms
--- 192.168.1.102 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.830/0.896/0.962/0.066 ms
*** Service (sftp) Create ***
** Service (sftp) Start **
*** Service (httputils2service) Create ***
httputils2service_service_create (java line: 276)
java.lang.ExceptionInInitializerError
at okhttp3.OkHttpClient.newSslSocketFactory(OkHttpClient.java:263)
at okhttp3.OkHttpClient.<init>(OkHttpClient.java:229)
at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:1015)
at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.Initialize(OkHttpClientWrapper.java:94)
at bar.tablet.httputils2service._service_create(httputils2service.java:276)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at bar.tablet.httputils2service.onCreate(httputils2service.java:56)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2558)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 19
at okhttp3.internal.platform.AndroidPlatform.buildIfSupported(AndroidPlatform.java:243)
at okhttp3.internal.platform.Platform.findAndroidPlatform(Platform.java:247)
at okhttp3.internal.platform.Platform.findPlatform(Platform.java:203)
at okhttp3.internal.platform.Platform.<clinit>(Platform.java:79)
... 21 more
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…