我建造了eas -p android --profile luna。然后,我下载到物理设备中。打开它时,应用程序在显示闪屏后崩溃。世博 SDK 45.0.0。
我尝试更改eas.json个人资料。这是我尝试过的。
"luna": {
"android": {
"buildType": "apk",
"distribution": "internal"
}
}
"luna": {
"android": {
"buildType": "apk",
"distribution": "internal",
"gradleCommand": ":app:assembleRelease"
}
}
"luna": {
"android": {
"buildType": "apk"
}
},
"luna": {
"android": {
"buildType": "apk",
"developmentClient": true
}
},
Run Code Online (Sandbox Code Playgroud)
DevelopmentClient 可以打开,但不是我想要的。
有人可以告诉我、指导我或给我建议吗
expo build:android?expo build经典版本将被完全删除。我应该在未来没有博览会的情况下构建反应原生应用程序吗?我的 package.json 文件。
"dependencies": {
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-community/datetimepicker": "6.1.2",
"@react-native-community/netinfo": "8.2.0",
"@react-native-masked-view/masked-view": …Run Code Online (Sandbox Code Playgroud)