有没有人能帮我在应用程序中设置AppIcon,这是用create-react-native-app生成的。没有任何本机代码。
P.S. AppIcon是主图标,你可以点击它来启动应用程序。
发布于 2018-04-01 21:42:03
在安卓-转到安卓文件夹->应用->资源->主菜单-> res -替换所有midmap文件夹中的ic_launcher图标
发布于 2018-04-01 21:49:07
使用create-react-native-app时,您正在使用Expo框架创建一个新的应用程序。您可以通过app.json配置您的应用程序来更改应用程序图标。下面是文档:https://docs.expo.io/versions/latest/guides/configuration.html#iconlocal-path-or-remote-url-to-an-image-to-use-for-your-apps-icon-we-recommend-that-you-use-a-1024x1024-png-file-this-icon-will-appear-on-the-home-screen-and-within-the-expo-app
https://stackoverflow.com/questions/49598534
复制相似问题