当我安装我的应用程序时它工作正常,图标显示并且没有问题,但是当从apk上安装应用程序时它没有显示应用程序名称,它会在上传时显示没有图标的包对于Playstore,它给出了一个错误,说明我应该在应用程序中添加一个图标。
直到最近才开始使用。 ic_launcher图标文件确实存在。
我的清单文件:
const path = require('path');
const url = 'https://wordpress.local/';
const themeDir = '/wp-content/themes/themename/';
module.exports = {
entry: './src/js/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
publicPath: url
},
devServer: {
historyApiFallback: true,
compress: true,
port: 9000,
https: url.indexOf('https') > -1 ? true : false,
publicPath: themeDir,
proxy: {
'*': {
'target': url,
'secure': false
},
// '/': { // This doesn't do much.
// target: url,
// secure: false
// }
},
}
};
答案 0 :(得分:1)
我发现了问题:
<application
android:name="android.support.multidex.MultiDexApplication">
我删除了&gt;在MultiDexApplication之后。认为android:图标显示为灰色,因此无效。
感谢。