-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android does not initialize with sample code #55
Comments
I have the same problem Error: java.lang.NullPointerException: SimpleDraweeView was not initialized! But I am on angular. Have you any solution? Or you have abandoned them library? |
I'm not using this library anymore and don't remember much of it but seems like I have posted the code that worked for me at the end. Did you try that? |
yes, but without success |
I'm working on nativescript-vue getting same error |
I'm also getting the same error in ns-vue. Running the latest npm version of the package (5.0.0). |
Ok, I solved it by initializing the imageCache (fresco) with a slight modification to the previous code by VeeK727. However, the former should work, don't know why it doesn't for me.
|
I can validate that this does not work on Android devides (when using nativescript & angular) without using the above suggestion from asparos. |
this fix the problem indeed, but the image is not being rendered :( |
@tahir-jamil if I remember correctly, I added the code in the init main.js (using nativescript-vue). However, I've since dropped this package for the nativescript-image-cache-it plugin: |
The code in the Readme
does not work and produces an error SimpleDraweeView was not nitialized!
This is what I used to fix the problem
The text was updated successfully, but these errors were encountered: