Canvas+ does not support Xiaomi (Blank)


#1
  • Cocoon Version:
    latest / 2.x.x

  • Basic description of the problem:
    No Support for XIAOMI

  • Device info:
    4.4.4 KTU84P - KitKat Version

  • Steps will reproduce the problem:

  1. C2 add Plugin CanvasPlus + Admob
  2. Cordova Convert from C2
  3. Finishing Check on Debugging
  • Expected result:
    Blank and Can’t Open on CanvasPlus, i tested with Webview+ Working but Need Crosswalk Runtime (On Playstore)

  • Error log
    i can’t send error log, because can’t debugging mode

  • Webview engine(s):
    Canvas+

  • Used plugins (if relevant):
    Canvas+
    Cocoon Admob

  • Framework/game engine (if relevant):
    Cocoon Cloud + C2 R-249

Please update and fix this proble Cocoon Team, i need support for All Device, from KitKat and newest. i tested other device is oke.

i tested on Android Studio Debugger APK get :

                                 Process: com.myapps.testedonbug, PID: 14110
                                               java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapps.testedonbug/com.myapps.testedonbug.MainActivity}: java.lang.RuntimeException: Failed to create webview. 
                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2200)
                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249)
                                                   at android.app.ActivityThread.access$800(ActivityThread.java:141)
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                   at android.os.Looper.loop(Looper.java:136)
                                                   at android.app.ActivityThread.main(ActivityThread.java:5052)
                                                   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:796)
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
                                                   at dalvik.system.NativeStart.main(Native Method)
                                                Caused by: java.lang.RuntimeException: Failed to create webview. 
                                                   at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:81)
                                                   at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:206)
                                                   at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:202)
                                                   at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:146)
                                                   at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
                                                   at com.myapps.testedonbug.MainActivity.onCreate(MainActivity.java:39)
                                                   at android.app.Activity.performCreate(Activity.java:5242)
                                                   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164)
                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249) 
                                                   at android.app.ActivityThread.access$800(ActivityThread.java:141) 
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212) 
                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                   at android.os.Looper.loop(Looper.java:136) 
                                                   at android.app.ActivityThread.main(ActivityThread.java:5052) 
                                                   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:796) 
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) 
                                                   at dalvik.system.NativeStart.main(Native Method) 
                                                Caused by: java.lang.reflect.InvocationTargetException
                                                   at java.lang.reflect.Constructor.constructNative(Native Method)
                                                   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
                                                   at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:79)
                                                   at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:206) 
                                                   at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:202) 
                                                   at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:146) 
                                                   at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224) 
                                                   at com.myapps.testedonbug.MainActivity.onCreate(MainActivity.java:39) 
                                                   at android.app.Activity.performCreate(Activity.java:5242) 
                                                   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164) 
                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249) 
                                                   at android.app.ActivityThread.access$800(ActivityThread.java:141) 
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212) 
                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                   at android.os.Looper.loop(Looper.java:136) 
                                                   at android.app.ActivityThread.main(ActivityThread.java:5052) 
                                                   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:796) 
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) 
                                                   at dalvik.system.NativeStart.main(Native Method) 
                                                Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.ludei.cocoonjs.CocoonJSView.nativeInit:([B)V
                                                   at com.ludei.cocoonjs.CocoonJSView.nativeInit(Native Method)
                                                   at com.ludei.cocoonjs.CocoonJSView.<init>(CocoonJSView.java:113)
                                                   at com.ludei.canvasplus.CanvasPlusEngine.<init>(CanvasPlusEngine.java:159)
                                                   at java.lang.reflect.Constructor.constructNative(Native Method) 
                                                   at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 
                                                   at org.apache.cordova.CordovaWebViewImpl.createEngine(CordovaWebViewImpl.java:79) 
                                                   at org.apache.cordova.CordovaActivity.makeWebViewEngine(CordovaActivity.java:206) 
                                                   at org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:202) 
                                                   at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:146) 
                                                   at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224) 
                                                   at com.myapps.testedonbug.MainActivity.onCreate(MainActivity.java:39) 
                                                   at android.app.Activity.performCreate(Activity.java:5242) 
                                                   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) 
                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2164) 
                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2249) 
                                                   at android.app.ActivityThread.access$800(ActivityThread.java:141) 
                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212) 
                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                   at android.os.Looper.loop(Looper.java:136) 
                                                   at android.app.ActivityThread.main(ActivityThread.java:5052) 
                                                   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:796) 
                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612) 
                                                   at dalvik.system.NativeStart.main(Native Method)

#2

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.