我使用的反应本地0.14.1阵营本地人,无法解析模块静态图像
react-native run-android
[3:10:56 PM] <START> find dependencies
Unable to resolve module image!ic_action_android_back_white3 from /Users/lion/Desktop/Developer/AwesomeProject/NewTrackActivity.js
Unable to resolve module image!ic_action_android_back_white3 from /Users/lion/Desktop/Developer/AwesomeProject/NewTrackActivity.js
如果我强行打开我的应用程序在Genymotion无法找到我的形象。
需要未知模块的形象!ic_action_android_back_white3
我试图移动图像都./android/app/src/main/res/drawable-xxx
和./assets/drawable-xxx
但既不工作。
我试过了。它总是工作。但我对我的情况非常怀疑。 这种方法和图像有什么区别! ? –
[新资产管理员](https://github.com/facebook/react-native/pull/3545)允许您在不重建整个项目的情况下即时添加图片**。 '1。同样的系统在iOS和Android上.'还有'5。添加和更改图像不需要重新编译应用程序,只需像往常一样刷新模拟器即可。“([官方文档](https://facebook.github.io/react-native/docs/images.html)) – purii