react-native记录
开发记录
1.打包android目录下:
先./gradlew clean,
后:./gradlew assembleRelease
2.报错:error: uncompiled PNG file passed as argument. Must be compiled first into .flat file
解:加入android.enableAapt2=false到 gradle.properties.
3.yarn :使用
4.修改APP名称:android/app/src/main/res/valuse/strings.xml目录下
5.修改图标 :android/app/src/main/res/mipmap–xxx