你好,我们使用云打包服务,6月9号晚上还是好的,6月12号用同样的代码,同样的打包配置,打包安装后只显示导航栏,其他页面全部空白,请问这是怎么回事呢?
Eurus
- 发布:2024-06-14 16:23
- 更新:2024-06-14 21:32
- 阅读:132
Eurus (作者)
打包配置代码如下:
{
"name" : "xxxxxxxxxx",
"appid" : "xxxxxxxxxxx",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : 108,
"transformPx" : false,
"app-plus" : {
/ 5+App特有相关 /
"usingComponents" : true,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
"modules" : {
"OAuth" : {},
"Camera" : {},
"Payment" : {}
},
/ 模块配置 /
"distribute" : {
/ 应用发布信息 /
"android" : {
/ android打包配置 /
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"targetSdkVersion" : 30,
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ],
"schemes" : "xxxxxxx"
},
"ios" : {
"dSYMs" : false,
"capabilities" : {
"entitlements" : {
"com.apple.developer.associated-domains" : [ "xxxxxxxxxxxxx" ]
}
},
"idfa" : false
},
/ ios打包配置 /
"sdkConfigs" : {
"ad" : {},
}
2024-06-14 21:20
名字有点长
回复 Eurus: 你这些还是看不出来,你可以尝试一下,把pages.json,里面全部注销,只留一个页面,看看,会出来吗那个页面不? 还有白屏的原因是pages.json pages里面最后多了逗号,也可以排查一下,
2024-06-15 13:59
Eurus (作者)
回复 名字有点长: 谢谢您提供的意见 我试试
2024-06-15 16:20
Eurus (作者)
我试了下就放两个测试页面,什么逻辑也没有,结果云打包也还是不行
2024-06-15 22:19