FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Better XML declaration image source errors reporting · Issue #503 · NativeScript/NativeScript · GitHub

Better XML declaration image source errors reporting #503

Description

I have an image in my app, that fails to locate its image source. I get the following message:

/app/tns_modules/image-source/image-source-common.js:36:75: JS ERROR Error: Path "" is not a valid file or resource.

The message does not help me to locate the origin of the error. It would be nice if it pointed to the XML element and the attribute that caused the error:

 <ActionItem icon="ic_add" tap="{{ addTask }}" android.position="actionBar" />

The correct declaration was:

 <ActionItem icon="res://ic_add" tap="{{ addTask }}" android.position="actionBar" />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL