[Cocoon 3.0.0-beta] Application crashes before Cocoon splash


#1
  • Cocoon Version:
    3.0.0-beta

  • Basic description of the problem:
    Application compiles fine, but crashes on startup. I even tried minimalistic application with only one file - empty index.html with no luck. 2.2.0 works fine.

  • Device info:
    Any

  • Steps will reproduce the problem:

  1. Create empty index.html file, zip it and upload to new Cocoon project.
  2. Set Cocoon version to 3.0.0-beta
  3. Set Webview engine to Canvas+
  4. Compile, install and run
  • Expected result:
    Cocoon splash should appear, then application itself (in my case of empty index.html, black screen should stay on). @Blue_Sialia

  • Error log
    08-23 07:25:07.728 3297-3297/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.c1535001450433, PID: 3297
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.example.c1535001450433-CrkLgxYxBlOmACJyMYRXzg==/base.apk”],nativeLibraryDirectories=[/data/app/com.example.c1535001450433-CrkLgxYxBlOmACJyMYRXzg==/lib/arm, /data/app/com.example.c1535001450433-CrkLgxYxBlOmACJyMYRXzg==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn’t find “libSplashPlugin.so”
    at java.lang.Runtime.loadLibrary0(Runtime.java:1011)
    at java.lang.System.loadLibrary(System.java:1657)
    at com.ludei.splash.android.SplashPlugin.(SplashPlugin.java:53)
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:453)
    at java.lang.Class.forName(Class.java:378)
    at org.apache.cordova.PluginManager.instantiatePlugin(PluginManager.java:489)
    at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169)
    at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97)
    at org.apache.cordova.PluginManager.init(PluginManager.java:86)
    at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:117)
    at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149)
    at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224)
    at com.example.c1535001450433.MainActivity.onCreate(MainActivity.java:39)
    at android.app.Activity.performCreate(Activity.java:6985)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1215)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2900)
    at android.app.ActivityThread.-wrap11(Unknown Source:0)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1601)
    at android.os.Handler.dispatchMessage(Handler.java:105)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6590)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

  • Other information:
    Also I can’t choose Architecture (armv7, x86) because it installs GitHub plugin, and 3.0.0-beta can’t compile with GitHub plugins. I know it’s beta but please test before you deploy something new. It should run at least, it’s an empty app.

  • Webview engine(s):
    Canvas+

  • Used plugins (if relevant):
    Only mandatory (Canvas+, …)

  • Framework/game engine (if relevant):
    Any


#2

same with me …


#3

We have exactly the same problem and error message “couldn’t find “libSplashPlugin.so””.

Note that this happens only for Android. iOS devices work fine.

It looks like just the lib is missing or there’s wrong reference.


#4

I can’t build Developer App with Cocoon 3.0.0 beta.