Android Question JavaObject not works in Android 14

Sinan Tuzcu

Well-Known Member
Licensed User
Longtime User
Hi,

Hello,

My app works perfectly on Android version 9 and older. However, starting from version 14, an issue occurs that causes the app to crash.

I would appreciate support in solving this problem.

B4X:
Dim socket As JavaObject = r.GetField("socket")
Dim jo As JavaObject = Me
 jo.RunMethod("setKeepaliveSocketOptions", Array(socket, 1000, 1000, 3))


I didn’t have any problems with this on Android 9.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…