修改欢迎页背景
1.图片放到platforms/android/app/src/main/res/drawable-xxxx下面,图片必须是png格式,否则会报错;然后修改platforms/android/app/src/main/res/layout/activity_splash.xml中的android:background值为"@drawable/图片名(不带后缀)";
2.运行npm run android,如出现类似Execution failed for task ':app:processDebugResources'. > java.io.IOException: Could not delete path 'E:\awesome-app\platforms\android\app\build\generated\source\r\debug\com\google'.这种错误;就先运行npm run clean:android,再运行npm run android。
修改app图标
1.替换掉platforms/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png,重新运行(注意图片格式)
修改启动页欢迎语
1.修改platforms/android/app/src/main/res/values/strings.xml中的欢迎语