我尝试使用下面的命令制作新的捆绑包,但还是没有运气。
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/shell-app.bundle --assets-dest android/app/src/main/res
我的应用为 expo ejected app
答案 0 :(得分:0)
我不了解iOS,但在Android上尝试以下操作
在您的项目目录中执行
cd android && gradlew clean
转到{ProjectDirectory} /android/app/build.gradle
android {
defaultConfig {
versionCode 1 // increase this value by one
}}
在您的项目目录中执行
cd android && gradlew assembleRelease