{
"name" : "",
"appid" : "",
"description" : "",
"versionName" : "2.0.0",
"versionCode" : 200,
"transformPx" : false,
/ 5+App特有相关 /
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/ 模块配置 /
"modules" : {
"Record" : {}
},
/ 应用发布信息 /
"distribute" : {
/ android打包配置 /
"android" : {
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.BLUETOOTH\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
],
"minSdkVersion" : 19,
"targetSdkVersion" : "",
"abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
},
/ ios打包配置 /
"ios" : {
"dSYMs" : false
},
/ SDK配置 /
"sdkConfigs" : {
"ad" : {}
},
"icons" : {
"android" : {
"hdpi" : "unpackage/res/icons/72x72.png",
"xhdpi" : "unpackage/res/icons/96x96.png",
"xxhdpi" : "unpackage/res/icons/144x144.png",
"xxxhdpi" : "unpackage/res/icons/192x192.png"
},
"ios" : {
"appstore" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"app" : "unpackage/res/icons/76x76.png",
"app@2x" : "unpackage/res/icons/152x152.png",
"notification" : "unpackage/res/icons/20x20.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"proapp@2x" : "unpackage/res/icons/167x167.png",
"settings" : "unpackage/res/icons/29x29.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"spotlight" : "unpackage/res/icons/40x40.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png"
},
"iphone" : {
"app@2x" : "unpackage/res/icons/120x120.png",
"app@3x" : "unpackage/res/icons/180x180.png",
"notification@2x" : "unpackage/res/icons/40x40.png",
"notification@3x" : "unpackage/res/icons/60x60.png",
"settings@2x" : "unpackage/res/icons/58x58.png",
"settings@3x" : "unpackage/res/icons/87x87.png",
"spotlight@2x" : "unpackage/res/icons/80x80.png",
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
}
}
},
/ 快应用特有相关 /
"quickapp" : {},
/ 小程序特有相关 /
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2"
}
- 发布:2023-06-29 17:08
- 更新:2023-12-05 15:10
- 阅读:978
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
HBuilderX类型: 正式
HBuilderX版本号: 3.8.4
手机系统: Android
手机系统版本号: Android 4.4
手机厂商: 360
手机机型: 手表 w110
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
App下载地址或H5⽹址: https://cowtransfer.com/s/75eeb5f8b48943 点击链接查看 [ __UNI__FBA0FB6_0629134026.apk ] ,或访问奶牛快传 cowtransfer.com 输入传输口令 f224tc 查看;
示例代码:
操作步骤:
打包安装,启动崩溃
打包安装,启动崩溃
预期结果:
正常启动
正常启动
实际结果:
崩溃
崩溃
bug描述:
五月底打得包还能在安卓4.4.4上运行,今天打得不行了,一样的打包配置,我用adb logcat 打印的日志是
E/cutils-trace( 9827): Error opening trace file: Permission denied (13)
E/dalvikvm( 9806): Could not find class 'android.os.LocaleList', referenced from method io.dcloud.common.util.language.LanguageUtil.updateSystemLanguage
E/dalvikvm( 9806): Could not find class 'android.os.LocaleList', referenced from method io.dcloud.common.util.language.LanguageUtil.wrapContextConfigurationAfterO
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/BufferQueue( 214): [uni.UNID83AAB7/io.dcloud.PandoraEntry] connect: already connected (cur=1, req=1)
E/Html5Plus-onCreate( 9806): 1688013637068
E/dalvikvm( 9806): Could not find class 'android.content.pm.ShortcutManager', referenced from method io.dcloud.common.util.ShortCutUtil.createShortcutToDeskTop
E/dalvikvm( 9806): Could not find class 'android.content.pm.ShortcutManager', referenced from method io.dcloud.common.util.ShortCutUtil.requestShortCut
E/cutils ( 204): Failed to mkdirat(/storage/sdcard0/Android): Read-only file system
E/weex ( 9806): tryUseRunTimeApi ? false
E/Html5Plus-onResume( 9806): 1688013638386
E/BufferQueue( 214): [uni.UNID83AAB7/io.dcloud.PandoraEntryActivity] connect: already connected (cur=1, req=1)
E/WXParams( 9806): setCrashFilePath: /data/data/uni.UNID83AAB7/app_crash
E/weex ( 9806): weexjss's Path is/data/app-lib/uni.UNID83AAB7-1/libweexjss.so
E/weex ( 9806): getUseSingleProcess is running false
E/weex ( 9806): getReleaseMap:true
E/weex ( 9806): getLibJsbPath is running /data/data/uni.UNID83AAB7/cache/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so
E/weex ( 9806): getLibLdPath is running /data/app-lib/uni.UNID83AAB7-1:/vendor/lib:/system/lib
E/WeexCore( 9806): startupPie :1
E/LIBGPS ( 572): read socet_client error: Try again
E/chromium( 9806): [ERROR:connection.cc(1034)] Web sqlite error 14, errno -2: unable to open database file, sql: -- sqlite3_open()
E/chromium( 9806): [ERROR:web_data_service_backend.cc(55)] Cannot initialize the web database: 1
E/UncaughtExceptionHandler( 9806): java.lang.NoSuchMethodError: java.util.Locale.forLanguageTag
E/JSE ( 9849): original owner has die
E/InputDispatcher( 572): channel '41be73d0 uni.UNID83AAB7/io.dcloud.PandoraEntryActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
E/InputDispatcher( 572): channel '41be6dd0 uni.UNID83AAB7/io.dcloud.PandoraEntry (server)' ~ Channel is unrecoverably broken and will be disposed!
E/DesktopGuideDialog_tag( 893): LauncherConfigManager.getInstance(BaseLauncherActivity.this).hadShowGuideView(): true
E/volte_status( 893): !_getSimNoticeConfirmStatus: true
E/volte_status( 893): isChinaTelecom(): false
E/volte_status( 893): !_getShowVolteViewStatusAfterReboot: true
E/BufferQueue( 214): [SurfaceView] connect: already connected (cur=1, req=1)
E/InputDispatcher( 572): channel '41f24268 ru.eisaev.supersuinstaller/ru.eisaev.supersuinstaller.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
E/BufferQueue( 214): [com.qihoo.kids/com.qihoo.kids.launcher.ui.activity.LauncherActivity] connect: already connected (cur=1, req=1)
E/BufferQueue( 214): [SurfaceView] connect: already connected (cur=1, req=1)
有一条没捕获的错误E/UncaughtExceptionHandler( 9806): java.lang.NoSuchMethodError: java.util.Locale.forLanguageTag
安卓五以上都能正常启动
最佳回复
8***@qq.com - 80后
还没解决啊,真的一遇到问题,完全无解。。。。。。。。。。。。。。真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了真的是太坑了
2***@qq.com
安卓4.4 最新版本能运行了, 但是uni.showloading 和模态框那些不显示出来, 但是能success回调成功
2023-07-12 17:09
huanHUAN111
HBuilderX3.9.9 云打包后,安卓4.4.4 的手机安装app后无法连接网络,其他手机正常
2024-03-28 15:45