Comments (3)
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.
Has this been solved by nativescript?
from nativescript-fresco.
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)
- [Feature Request] Support Requesting Multiple Images (Multi-URI) HOT 7
- [Question] frescoModule.shutDown === undefined? HOT 1
- README not complete? HOT 2
- Binding the path to imageUri not working.!! HOT 3
- App exit with fresco lib, when load more than 3 images HOT 2
- [Question] Not displaying the image HOT 2
- Rounded corner radius doesn't work on Angular project HOT 2
- [Question]: It's possible to cache web images? HOT 2
- TypeError: Cannot read property 'base' of undefined HOT 4
- JS: ERROR Error: com.facebook.imagepipeline.request.ImageRequestBuilder$BuilderException HOT 13
- Question HOT 1
- Could not resolve com.facebook.fresco:fresco:0.9.0+. HOT 1
- Refactor according to the plugin seed
- Cannot read property 'AnimatedDrawable' of undefined HOT 3
- Tap to retry stop working when failureImageUri is loaded HOT 2
- Feature: support resizing and downsampling HOT 2
- How to access the Android ImageView or Drawable HOT 1
- Image is not loading inside {N} + Vue project HOT 2
- Out of memory error HOT 10
- Provide a way to blur images as a built-in functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-fresco.