Skip to content

[android]Unable to resolve module image!android_search_white when run Examples/Movies? #3711

@yanggeorge

Description

@yanggeorge

from #3545 When I put android_search_white.png in the same folder as JS files, and modify the searchBar.android.js as below

 source={require('./android_search_white.png')}

the Movie app is running OK.
Why require('image!android_search_white') not work ?
I have checked the png files path, they are right in Examples/Movies/android/app/src/main/res/drawable-hdpi .

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions