Post by chrisb on Jan 25, 2024 23:41:40 GMT
My company has been successfully maintaining a commercial application using rhodes for over 12 years, but we are recently having more and more of our customers reporting intermittent application crashes.
These crashes seem to occur more frequently with the app built using rhodes 2.5 than when we previously built with rhodes 7.3. But we need to build with rhodes 7.5 for the app to even install on Android 13/14 devices.
As it has been some time since rhodes 7.5 was released, I am working on the assumption that building with the latest rhodes, sdk, ndk may produce a more stable application. I have been able to get a successful build using rhodes 7.6.0.beta7, sdk33, ndk 25c, ruby 2.5.8 - but the app just crashes out as soon as it is launched (stacktrace at the end of this post).
I note that there has been some success building with ruby 2.7, but I have not yet managed to successfully configure a build environment other than from downloading the RhoMobile Suite - which still seems to use ruby 2.5.
So, my questions:
1. Is a full release of 7.6 likely anytime soon?
2. What Android version / sdk / ndk is currently recommended?
3. Has anyone else had a similar experience?
I appreciate this is a community forum and that I may be better with some paid consultancy. This is a route I would consider.
Many thanks
Chris.
Stacktrace from app launch failure:
These crashes seem to occur more frequently with the app built using rhodes 2.5 than when we previously built with rhodes 7.3. But we need to build with rhodes 7.5 for the app to even install on Android 13/14 devices.
As it has been some time since rhodes 7.5 was released, I am working on the assumption that building with the latest rhodes, sdk, ndk may produce a more stable application. I have been able to get a successful build using rhodes 7.6.0.beta7, sdk33, ndk 25c, ruby 2.5.8 - but the app just crashes out as soon as it is launched (stacktrace at the end of this post).
I note that there has been some success building with ruby 2.7, but I have not yet managed to successfully configure a build environment other than from downloading the RhoMobile Suite - which still seems to use ruby 2.5.
So, my questions:
1. Is a full release of 7.6 likely anytime soon?
2. What Android version / sdk / ndk is currently recommended?
3. Has anyone else had a similar experience?
I appreciate this is a community forum and that I may be better with some paid consultancy. This is a route I would consider.
Many thanks
Chris.
Stacktrace from app launch failure:
2024-01-25 18:35:20.318 19629-19629 AndroidRuntime pid-19629 E FATAL EXCEPTION: main
Process: com.eXXXXXXXXe, PID: 19629
java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found: needed by /data/app/~~CvwVmK3ryPz17uwhlSWI-A==/com.eXXXXXXXXe-dMljs7CxgQQHxMO8YK_u4g==/lib/arm64/librhodes.so in namespace clns-6
at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1661)
at com.rhomobile.rhodes.NativeLibraries.load(NativeLibraries.java:8)
at com.rhomobile.rhodes.RhodesApplication.<clinit>(RhodesApplication.java:105)
at java.lang.Class.newInstance(Native Method)
at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:76)
at android.app.Instrumentation.newApplication(Instrumentation.java:1282)
at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1458)
at android.app.LoadedApk.makeApplicationInner(LoadedApk.java:1395)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6959)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2236)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8177)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
2024-01-25 18:35:20.319 524-19650 DropBoxManagerService system_server I add tag=data_app_crash isTagEnabled=true flags=0x2
2024-01-25 18:35:20.319 524-1760 ActivityTaskManager system_server W Force finishing activity com.eXXXXXXXXe/com.rhomobile.rhodes.RhodesActivity
2024-01-25 18:35:20.321 868-912 WindowManagerShell com.android.systemui V Transition requested: android.os.BinderProxy@8a8dfe1 TransitionRequestInfo { type = CLOSE, triggerTask = null, remoteTransition = null, displayChange = null }
2024-01-25 18:35:20.324 524-543 ActivityManager system_server I Showing crash dialog for package com.eXXXXXXXXe u0
insert code here