Replies: 7 comments 2 replies
-
Where are you placing these icons? Have you tried putting them in the |
Beta Was this translation helpful? Give feedback.
-
@rigor789 , thanks for answer, this images created dynamically. Of course, static images I placed to src/assets/
icons (images) created successfully, I can see they in the same place, can open it with Android studio and check what exactly I created. |
Beta Was this translation helpful? Give feedback.
-
try to use
and receive error, however in reality image present, can opened and checked by Android Studio |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
If I use static predefinition preloading image from source code ~/assets all working fine and icon showed correctly
if I use dynamically created icon
it not working at all, despite icon is present, file is correct and can be opened by Android Studio this is my code in debugger, I simple replaced preloading image from source code to my dynamically created image: And application crashed. I try to add point to refresh and one more than
but nothing changing |
Beta Was this translation helpful? Give feedback.
-
The code screenshot there looks quite odd with that |
Beta Was this translation helpful? Give feedback.
-
write image to ~/assets/icon |
Beta Was this translation helpful? Give feedback.
-
I define iconRef in Angular Nativescript code as:
and try dynamically changing image as
file .png is present, I'm sure that file present and path is correct. I can see file on Android studio
However I receive error
What going wrong?
Beta Was this translation helpful? Give feedback.
All reactions