我创建了一个项目,然后在项目根目录中添加了一个图像。将图像添加到项目时出错
在我index.android.js我说:
运行时的反应原生Android的运行,显示错误:
错误:捆绑失败:“无法从C:\\Users\\Ayala\\Documents\\Developer\\React\\BrunoDantas\\index.android.js
解析模块./my-icon.png
:可能不解决`C:\ Users \ Ayala \ Documents \ Developer \ React \ BrunoDantas \ my-icon.png'作为一个文件夹:它没有包含一个包,也没有索引文件“
尝试'../我-icon.png' <<两个点 –