Post by andreasm1984 on Jul 4, 2017 14:53:14 GMT
Hi,
I have some problems after the update to RMS 5.5.
I tried to migrate an app from RMS 5.4 to RMS 5.5, because there were some problems under android 7 (especially with sending a file with http post over a ssl connection).
When I create the app with Rhodes 5.5. the app doesn't start any more on android. I only got a message, that the app stopped working.
With the Rho Simulator the app is starting fine.
I tried it on some devices with different android versions.
When I start the app on the device I see following exception with adb logcat:
Is there some additional configuration needed or something else necessary to use Rhodes 5.5?
My configuration is:
Windows 7
RhoMobile Suite 5.5
Android SDK API 19
Android NDK r9
Thank you in advance!
Best Regards,
Andreas
I have some problems after the update to RMS 5.5.
I tried to migrate an app from RMS 5.4 to RMS 5.5, because there were some problems under android 7 (especially with sending a file with http post over a ssl connection).
When I create the app with Rhodes 5.5. the app doesn't start any more on android. I only got a message, that the app stopped working.
With the Rho Simulator the app is starting fine.
I tried it on some devices with different android versions.
When I start the app on the device I see following exception with adb logcat:
I/ActivityManager( 237): Start proc com.rhomobile.test for activity com.rh
omobile.test/com.rhomobile.rhodes.RhodesActivity: pid=3645 uid=10063 gids={
3003, 1006, 1015, 3002, 3001}
D/OpenGLRenderer( 454): Flushing caches (mode 1)
D/dalvikvm( 3645): Trying to load lib /data/data/com.rhomobile.test/lib/lib
rhodes.so 0x410beba8
D/dalvikvm( 3645): Added shared lib /data/data/com.rhomobile.test/lib/librh
odes.so 0x410beba8
I/dalvikvm( 3645): Failed resolving Lcom/rhomobile/rhodes/RhodesActivity; interf
ace 175 'Landroid/support/v4/app/ActivityCompat$OnRequestPermissionsResultCallba
ck;'
W/dalvikvm( 3645): Link of class 'Lcom/rhomobile/rhodes/RhodesActivity;' failed
W/dalvikvm( 3645): JNI_OnLoad returned bad version (-1) in /data/data/com.rhomob
ile.test/lib/librhodes.so 0x410beba8
W/dalvikvm( 3645): Exception Ljava/lang/NoClassDefFoundError; thrown while initi
alizing Lcom/rhomobile/rhodes/RhodesApplication;
W/dalvikvm( 3645): Class init failed in newInstance call (Lcom/rhomobile/rhodes/
RhodesApplication;)
D/AndroidRuntime( 3645): Shutting down VM
W/dalvikvm( 3645): threadid=1: thread exiting with uncaught exception (group=0x4
0a4e1f8)
E/AndroidRuntime( 3645): FATAL EXCEPTION: main
E/AndroidRuntime( 3645): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 3645): at java.lang.Class.newInstanceImpl(Native Method
)
E/AndroidRuntime( 3645): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 3645): at android.app.Instrumentation.newApplication(In
strumentation.java:957)
E/AndroidRuntime( 3645): at android.app.Instrumentation.newApplication(In
strumentation.java:942)
E/AndroidRuntime( 3645): at android.app.LoadedApk.makeApplication(LoadedA
pk.java:477)
E/AndroidRuntime( 3645): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:3938)
E/AndroidRuntime( 3645): at android.app.ActivityThread.access$1300(Activi
tyThread.java:123)
E/AndroidRuntime( 3645): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1185)
E/AndroidRuntime( 3645): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 3645): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3645): at android.app.ActivityThread.main(ActivityThrea
d.java:4424)
E/AndroidRuntime( 3645): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 3645): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 3645): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 3645): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:551)
E/AndroidRuntime( 3645): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3645): Caused by: java.lang.NoClassDefFoundError: com/rhomobil
e/rhodes/RhodesActivity
E/AndroidRuntime( 3645): at java.lang.Runtime.nativeLoad(Native Method)
E/AndroidRuntime( 3645): at java.lang.Runtime.loadLibrary(Runtime.java:36
8)
E/AndroidRuntime( 3645): at java.lang.System.loadLibrary(System.java:538)
E/AndroidRuntime( 3645): at com.rhomobile.rhodes.NativeLibraries.load(Nat
iveLibraries.java:5)
E/AndroidRuntime( 3645): at com.rhomobile.rhodes.RhodesApplication.<clini
t>(RhodesApplication.java:105)
E/AndroidRuntime( 3645): ... 16 more
E/AndroidRuntime( 3645): Caused by: java.lang.ClassNotFoundException: com.rhomob
ile.rhodes.RhodesActivity
E/AndroidRuntime( 3645): at dalvik.system.BaseDexClassLoader.findClass(Ba
seDexClassLoader.java:61)
E/AndroidRuntime( 3645): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:501)
E/AndroidRuntime( 3645): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:461)
E/AndroidRuntime( 3645): ... 21 more
W/ActivityManager( 237): Force finishing activity com.rhomobile.test/com
.rhomobile.rhodes.RhodesActivity
D/OpenGLRenderer( 454): Flushing caches (mode 0)
D/dalvikvm( 237): GC_FOR_ALLOC freed 170K, 18% free 10390K/12615K, paused 56ms
W/ActivityManager( 237): Activity pause timeout for ActivityRecord{4133abb0 com
.rhomobile.test/com.rhomobile.rhodes.RhodesActivity}
D/dalvikvm( 454): GC_FOR_ALLOC freed 3573K, 45% free 9159K/16391K, paused 17ms
I/dalvikvm-heap( 454): Grow heap (frag case) to 10.261MB for 1286224-byte alloc
ation
D/dalvikvm( 454): GC_FOR_ALLOC freed 105K, 38% free 10310K/16391K, paused 17ms
D/dalvikvm( 454): GC_CONCURRENT freed 352K, 36% free 10539K/16391K, paused 1ms+
2ms
I/ActivityManager( 237): No longer want com.ti.server (pid 2718): hidden #16
W/ActivityManager( 237): Scheduling restart of crashed service com.ti.server/.F
mService in 5000ms
D/dalvikvm( 454): GC_CONCURRENT freed 1700K, 39% free 10126K/16391K, paused 1ms
+3ms
D/dalvikvm( 454): GC_CONCURRENT freed 495K, 35% free 10767K/16391K, paused 1ms+
7ms
Is there some additional configuration needed or something else necessary to use Rhodes 5.5?
My configuration is:
Windows 7
RhoMobile Suite 5.5
Android SDK API 19
Android NDK r9
Thank you in advance!
Best Regards,
Andreas