别裁伪体亲风雅,转益多师是汝师。这篇文章主要讲述RN app打包相关的知识,希望能为你提供帮助。
android:screenOrientation="portrait">
生成秘钥可用
keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
【RN app打包】生成秘钥可用
keytool -genkey -v -keystore hello.keystore -alias hello -keyalg RSA -validity 20000
最后打包命令
./gradlew assembleRelease(不好使)
gradlew assembleRelease --console plain
别名:hello
signingConfigs {
release {
storeFile file("./hello.keystore")
storePassword "smile1314"
keyAlias "hello"
keyPassword "hello"
}
}
buildTypes {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"),"proguard-rules.pro"
signingConfig signingConfigs.release
}
}
推荐阅读
- Could not find com.android.support:appcompat-v7:23.1.1
- Failed to resolve: com.android.support:appcompat-v7:27.0.1问题解决
- Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-i
- android------DDMS files not found: toolshprof-conv.exe
- mysql 安装异常(this application requires .NET Framework(尚未安装.NET Framework 4.5 原因是:指定))
- MathML下标用法
- MySQL regexp_replace函数
- MySQL regexp_substr()函数
- MySQL regexp_like()函数