Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2484

Ti.CloudPush Version 3.2.0 get Force Close when Unlock Phone on Android 4.4

    Details

      Description

      Using: Ti.CloudPush Module Version 3.2.0
      Last used: Ti.CloudPush Module Version 2.3.2

      The App will be Force Closed when Lock then Unlock the phone. On the Console when I debug, looks like this:

      [ERROR] : TiApplication: (main) [33375,66355] Sending event: exception on thread: main msg:java.lang.RuntimeException: Unable to instantiate receiver ti.cloudpush.MQTTReceiver: java.lang.ClassNotFoundException: Didn't find class "ti.cloudpush.MQTTReceiver" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.mycom.myapp.apk"],nativeLibraryDirectories=[/data/app-lib/com.mycom.myapp, /vendor/lib, /system/lib]]; Titanium 3.2.0,2013/12/20 10:57,d9182d6
      [ERROR] : TiApplication: java.lang.RuntimeException: Unable to instantiate receiver ti.cloudpush.MQTTReceiver: java.lang.ClassNotFoundException: Didn't find class "ti.cloudpush.MQTTReceiver" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.mycom.myapp.apk"],nativeLibraryDirectories=[/data/app-lib/com.mycom.myapp, /vendor/lib, /system/lib]]
      [ERROR] : TiApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2400)
      [ERROR] : TiApplication: at android.app.ActivityThread.access$1700(ActivityThread.java:135)
      [ERROR] : TiApplication: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272)
      [ERROR] : TiApplication: at android.os.Handler.dispatchMessage(Handler.java:102)
      [ERROR] : TiApplication: at android.os.Looper.loop(Looper.java:136)
      [ERROR] : TiApplication: at android.app.ActivityThread.main(ActivityThread.java:5017)
      [ERROR] : TiApplication: at java.lang.reflect.Method.invokeNative(Native Method)
      [ERROR] : TiApplication: at java.lang.reflect.Method.invoke(Method.java:515)
      [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      [ERROR] : TiApplication: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      [ERROR] : TiApplication: at dalvik.system.NativeStart.main(Native Method)
      [ERROR] : TiApplication: Caused by: java.lang.ClassNotFoundException: Didn't find class "ti.cloudpush.MQTTReceiver" on path: DexPathList[[zip file "/system/framework/com.google.android.maps.jar", zip file "/data/app/com.mycom.myapp.apk"],nativeLibraryDirectories=[/data/app-lib/com.app/com.mycom.myapp, /vendor/lib, /system/lib]]
      [ERROR] : TiApplication: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
      [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
      [ERROR] : TiApplication: at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
      [ERROR] : TiApplication: at android.app.ActivityThread.handleReceiver(ActivityThread.java:2395)
      [ERROR] : TiApplication: ... 10 more

      When I go back to older version (2.3.2) the app won't get force close any more

        Attachments

          Activity

            People

            • Assignee:
              jalter Jon Alter
              Reporter:
              anh.nguyen Anh Nguyen
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code