Giter Club home page Giter Club logo

Comments (3)

marcbuils avatar marcbuils commented on June 8, 2024

In fact, I have this problem when I add the following lines in app.gradle :
dependencies {
compile "com.facebook.fresco:fresco:0.9.0+"
}

Only on a simulator with a x86_64 CPU because libNativescript.so isn't present in lib/x86_64 directory inner the apk.

So, it's not a bug of this plugin.

For information, logs for "adb logcat":

08-18 22:13:16.870  1520  1531 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.nativescript.demo/com.tns.NativeScriptActivity (has extras)} from uid 10007 on display 0
08-18 22:13:16.903  2779  2779 I art     : Not late-enabling -Xcheck:jni (already on)
08-18 22:13:16.908  1520  1796 I ActivityManager: Start proc 2779:org.nativescript.demo/u0a194 for activity org.nativescript.demo/com.tns.NativeScriptActivity
08-18 22:13:17.047  2779  2779 D AndroidRuntime: Shutting down VM
08-18 22:13:17.054  2779  2779 E AndroidRuntime: FATAL EXCEPTION: main
08-18 22:13:17.054  2779  2779 E AndroidRuntime: Process: org.nativescript.demo, PID: 2779
08-18 22:13:17.054  2779  2779 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.nativescript.demo-1/base.apk"],nativeLibraryDirectories=[/data/app/org.nativescript.demo-1/lib/x86_64, /data/app/org.nativescript.demo-1/base.apk!/lib/x86_64, /vendor/lib64, /system/lib64]]] couldn't find "libNativeScript.so"
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at java.lang.Runtime.loadLibrary(Runtime.java:367)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at java.lang.System.loadLibrary(System.java:1076)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at com.tns.RuntimeHelper.initRuntime(RuntimeHelper.java:43)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:15)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.app.ActivityThread.-wrap1(ActivityThread.java)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.os.Handler.dispatchMessage(Handler.java:102)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.os.Looper.loop(Looper.java:148)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at android.app.ActivityThread.main(ActivityThread.java:5417)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at java.lang.reflect.Method.invoke(Native Method)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
08-18 22:13:17.054  2779  2779 E AndroidRuntime:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
08-18 22:13:17.056  1520  1884 W ActivityManager:   Force finishing activity org.nativescript.demo/com.tns.NativeScriptActivity
08-18 22:13:17.359  1520  1884 I WindowManager: Screenshot max retries 4 of Token{a7bc826 ActivityRecord{77e7f81 u0 org.nativescript.demo/com.tns.NativeScriptActivity t9 f}} appWin=Window{6da9db9 u0 Starting org.nativescript.demo} drawState=1
08-18 22:13:17.360  1520  1520 W art     : Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12502 waiters=0 for 294ms
08-18 22:13:17.440  1520  2432 I OpenGLRenderer: Initialized EGL, version 1.4
08-18 22:13:17.497  1520  1539 I Choreographer: Skipped 32 frames!  The application may be doing too much work on its main thread.
08-18 22:13:17.861  1520  1534 W ActivityManager: Activity pause timeout for ActivityRecord{77e7f81 u0 org.nativescript.demo/com.tns.NativeScriptActivity t9 f}
08-18 22:13:27.897  1520  1534 W ActivityManager: Activity destroy timeout for ActivityRecord{77e7f81 u0 org.nativescript.demo/com.tns.NativeScriptActivity t9 f}
08-18 22:14:46.369  1520  1533 I UsageStatsService: User[0] Flushing usage stats to disk
08-18 22:18:17.362  2779  2779 I Process : Sending signal. PID: 2779 SIG: 9

from nativescript-fresco.

WouterVanVegchel avatar WouterVanVegchel commented on June 8, 2024

Has this been solved by nativescript?

from nativescript-fresco.

VladimirAmiorkov avatar VladimirAmiorkov commented on June 8, 2024

Hi @WouterVanVegchel ,

This issue has been closed by the person who opened it after explanation of the cause of the error. Also it is worth mentioning that this plugin is no longer being developer and is deprecated in favor of nativescript-image

from nativescript-fresco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.