1、进入android/app目录下运行;keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 100002、修改文件:android/app/gradle.properties,增加如下代码:MYAPP_RELEASE_STORE_FILE=my-release-key.keystoreMYAPP_RELEASE_KEY_ALIAS=my-key-aliasMYAPP_RELEASE_STORE_PASSWORD=xxxxxxMYAPP_RELEASE_KEY_PASSWORD=xxxxxx3、添加签名到项目里面:android/app/build.gradle...
android {
...
defaultConfig { ... }
&...