Title: Cannot run app libNativeScript.so: class not found com.tns.NativeScriptActivity · Issue #2352 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Cannot run app libNativeScript.so: class not found com.tns.NativeScriptActivity · Issue #2352 · NativeScript/nativescript-cli
X Title: Cannot run app libNativeScript.so: class not found com.tns.NativeScriptActivity · Issue #2352 · NativeScript/nativescript-cli
Description: I`m trying to build and run the app in two new machines and in both I have the same error: The configs of both machines are the same: Windows 10, with the latest {N} and the Android SDK is instaled in the same way of the main machine, wi...
Open Graph Description: I`m trying to build and run the app in two new machines and in both I have the same error: The configs of both machines are the same: Windows 10, with the latest {N} and the Android SDK is instaled...
X Description: I`m trying to build and run the app in two new machines and in both I have the same error: The configs of both machines are the same: Windows 10, with the latest {N} and the Android SDK is instaled...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/2352
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot run app libNativeScript.so: class not found com.tns.NativeScriptActivity","articleBody":"I`m trying to build and run the app in two new machines and in both I have the same error:\r\n\r\nThe configs of both machines are the same: Windows 10, with the latest {N} and the Android SDK is instaled in the same way of the main machine, with the same SDK versions and all extras installed\r\n\r\n```I/art (28338): Late-enabling -Xcheck:jni\r\nW/linker (28338): libNativeScript.so: unused DT entry: type 0x6ffffffe arg 0x2ba8\r\nW/linker (28338): libNativeScript.so: unused DT entry: type 0x6fffffff arg 0x3\r\nI/TNS.Native(28338): NativeScript Runtime Version 2.4.1, commit b6676b88f846e551e0e20e67e9bc09d60dfb3089\r\nD/TNS.Native(28338): JNI_ONLoad\r\nD/TNS.Native(28338): JNI_ONLoad END\r\nD/TNS.Native(28338): Failed to load snapshot: dlopen failed: library \"libsnapshot.so\" not found\r\nD/TNS.Native(28338): V8 version 5.2.361\r\nD/TNS.Native(28338): lenNodes=83940, lenNames=850129, lenValues=1031540\r\nD/TNS.Native(28338): time=5\r\nD/TNS.Java(28338): Enabling NativeScript Debugger Agent\r\nD/AndroidRuntime(28338): Shutting down VM\r\nW/System.err(28338): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.geteventz.app/com.tns.NativeScriptActivity}: java.lang.ClassNotFoundException: Didn't find class \"com.tns.NativeScriptActivity\" on path: DexPathList[[zip file \"/data/app/com.geteventz.app-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.geteventz.app-1/lib/arm, /vendor/lib, /system/lib]]\r\nW/System.err(28338): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2250)\r\nW/System.err(28338): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)\r\nW/System.err(28338): \tat android.app.ActivityThread.access$800(ActivityThread.java:155)\r\nW/System.err(28338): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)\r\nW/System.err(28338): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nW/System.err(28338): \tat android.os.Looper.loop(Looper.java:135)\r\nW/System.err(28338): \tat android.app.ActivityThread.main(ActivityThread.java:5343)\r\nW/System.err(28338): \tat java.lang.reflect.Method.invoke(Native Method)\r\nW/System.err(28338): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nW/System.err(28338): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)\r\nW/System.err(28338): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:702)\r\nW/System.err(28338): Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.tns.NativeScriptActivity\" on path: DexPathList[[zip file \"/data/app/com.geteventz.app-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.geteventz.app-1/lib/arm, /vendor/lib, /system/lib]]\r\nW/System.err(28338): \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\nW/System.err(28338): \tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\nW/System.err(28338): \tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\nW/System.err(28338): \tat android.app.Instrumentation.newActivity(Instrumentation.java:1089)\r\nW/System.err(28338): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2240)\r\nW/System.err(28338): \t... 10 more\r\nW/System.err(28338): \tSuppressed: java.lang.ClassNotFoundException: com.tns.NativeScriptActivity\r\nW/System.err(28338): \t\tat java.lang.Class.classForName(Native Method)\r\nW/System.err(28338): \t\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\nW/System.err(28338): \t\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\nW/System.err(28338): \t\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\nW/System.err(28338): \t\t... 13 more\r\nW/System.err(28338): \tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available\r\nI/Process (28338): Sending signal. PID: 28338 SIG: 9```\r\n","author":{"url":"https://github.com/victorhugom-zz","@type":"Person","name":"victorhugom-zz"},"datePublished":"2016-12-14T21:45:16Z","url":"https://github.com/NativeScript/nativescript-cli/issues/2352"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1ee097c-bffd-5bf0-9d0a-a3a8bf8d4908 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E0FE:2F9718:28BBC21:36A470A:6B01C5DD |
| html-safe-nonce | ba5b3a209265a9f03cb2eabe7b618673c4c1866420c28a1af7b598dd49585eaa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEZFOjJGOTcxODoyOEJCQzIxOjM2QTQ3MEE6NkIwMUM1REQiLCJ2aXNpdG9yX2lkIjoiMjgwMzE3MTgyNTU2MjAxMTEwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1fed818d4ec48c3d043e2947f3b13a4f3a97f55424ca943f855fa5591f40ab72 |
| hovercard-subject-tag | issue:195654455 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/2352/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d50987745c9a73a5c6a4b76ae0b582fa1319c6f394078a3e8eeb965cc6da1de/NativeScript/nativescript-cli/issues/2352 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d50987745c9a73a5c6a4b76ae0b582fa1319c6f394078a3e8eeb965cc6da1de/NativeScript/nativescript-cli/issues/2352 |
| og:image:alt | I`m trying to build and run the app in two new machines and in both I have the same error: The configs of both machines are the same: Windows 10, with the latest {N} and the Android SDK is instaled... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | victorhugom-zz |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width