You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
The application crashes with the following exception:
12-17 17:43:14.340 5764 5764 W System.err: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.nativescript.snap2/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: Failed to create JavaScript extend wrapper for class 'com/tns/NativeScriptActivity'
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2391)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2540)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread.access$900(ActivityThread.java:150)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390)
12-17 17:43:14.340 5764 5764 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
12-17 17:43:14.340 5764 5764 W System.err: at android.os.Looper.loop(Looper.java:168)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread.main(ActivityThread.java:5781)
12-17 17:43:14.340 5764 5764 W System.err: at java.lang.reflect.Method.invoke(Native Method)
12-17 17:43:14.340 5764 5764 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
12-17 17:43:14.340 5764 5764 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
12-17 17:43:14.340 5764 5764 W System.err: Caused by: com.tns.NativeScriptException: Failed to create JavaScript extend wrapper for class 'com/tns/NativeScriptActivity'
12-17 17:43:14.340 5764 5764 W System.err: at com.tns.Runtime.createJSInstanceNative(Native Method)
12-17 17:43:14.340 5764 5764 W System.err: at com.tns.Runtime.createJSInstance(Runtime.java:656)
12-17 17:43:14.340 5764 5764 W System.err: at com.tns.Runtime.initInstance(Runtime.java:629)
12-17 17:43:14.340 5764 5764 W System.err: at com.tns.NativeScriptActivity.<init>(NativeScriptActivity.java:12)
12-17 17:43:14.340 5764 5764 W System.err: at java.lang.Class.newInstance(Native Method)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.Instrumentation.newActivity(Instrumentation.java:1085)
12-17 17:43:14.340 5764 5764 W System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2381)
12-17 17:43:14.340 5764 5764 W System.err: ... 9 more
The text was updated successfully, but these errors were encountered:
darind
changed the title
Snapshots with ABI splits do not work since tns-android@4.1.0
Snapshots with ABI splits do not work since Android Runtime 4.1.0
Dec 19, 2018
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
ABI splits with snapshot do not work since android runtime 4.1.0.
To Reproduce
Enable ABI splits with snapshot as described in the documentation:
tns create test --ng
useLibs
andandroidNdkPath
inwebpack.config.js
:App_Resources/Android/app.gradle
:Expected behavior
The application starts correctly
Actual Behavior
The application crashes with the following exception:
The text was updated successfully, but these errors were encountered: