1. Is the file definitely included in your .bar file? Unzip the .bar file to inspect it.
2. What path are you trying to use? Files would generally be in some location relative to the current directory, like "app/native/assets/main.qml". Think of the "app" folder as being where you .bar file is unpacked and everything below that should match what you see when you unzip it.