uniapp安卓离线打包,打包为.aab格式的上架google play之后 下载在手机是白屏
然后解压下载的安装包 发现每天lib这个文件夹 请问这个是什么原因
uniapp安卓离线打包,打包为.aab格式的上架google play之后 下载在手机是白屏
然后解压下载的安装包 发现每天lib这个文件夹 请问这个是什么原因
最佳回复
Q: 打包aab运行白屏
A: 请按以下配置修改:
1、原生项目主app的AndroidManifest.xml中。application节点配置android:extractNativeLibs="true"。
2、原生项目根目录 gradle.properties 配置android.bundle.enableUncompressedNativeLibs=false
重新编译打包
我也遇到这个问题。本地手机安装aab > apks文件后,打开是白屏
回复 DCloud_Android_ST: 3.1.18.20210609正式版出的问题。我切换到了上个正式版,也是一样的问题。原来都是>40m, 现在手机上安装apks的文件,提示才11m
另外我已经上传到了google play console, 从google play console找到apk文件,下载下来的没问题
2021-06-29 15:55
回复 DCloud_Android_ST: google play console的后台里,进入这个release的 App bundle explorer > Downloads > Assets,可以找到 “Signed, universal APK”,这个就是一个apk文件。我下载了这个文件,自行安装这个apk到手机可以。
本地转成apks后,再安装到手机白屏。
2021-06-29 16:07
我现在情况是打包成apk正常,打包成aab上传到谷歌上下载他签名生成后的apk正常。但是在他市场上下载下来就白屏。有大佬解决下么
你是离线打包吧 看下https://nativesupport.dcloud.net.cn/AppDocs/FAQ/android 里面有说aab白屏的解决方案
2021-09-06 11:40
回复 thomas123: 你是用HBuilder離線打包嗎? 我自己的經驗&解決方法
如經 #1 打包, 打包成的IOS app 都會出現白屏情況. 經#2 打包,IOS app正常.
希望你都可以解決到.
2021-09-17 08:21
回复 n***@tech-trans.com: 这个问题已经解决了。targetSdkVersion 值问题,谷歌建议30,改成29就行了。之前29
2021-09-17 16:42
离线打包aab上架google play 白屏了,楼主解决了吗?最后怎么解决的?被打回来三回了...
我是离线打包aab上传到华为,华为手机安装后打开一直卡在开屏页面转圈。
直接用生成的aab通过buildtool安装到华为手机复现了问题。
按@DCloud_Android_ST 回复的,添加了两个配置后,重新打包aab,可以正常进入应用了。
对比了下没配置出错的aab、正常的apk、配置后不报错的aab输出的logcat如下:
关键一行是报错的时候libweexjss.so找不到,去arm64-v8里面找了,但应该去arm64里找才对。
android.database.sqlite.SQLiteException: table local_appinfo has no column named apkostype (code 1 SQLITE_ERROR): , while compiling: INSERT INTO local_appinfo(apkostype,manifest_md5,sortkey,fakeLastLaunchTime,batteryUsage,enabled,appname,appsize,filepath,dataUsage,cuteocdmd5,launchCount,uid,installed,appid,flags,filelistmd5,versioncode,versionname,lastLaunchTime,packagename,signature,grayVersionCode,iconRes,installeLocation,installtime) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1047)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:654)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:62)
at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:34)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1700)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1571)
at com.tencent.assistant.db.helper.SQLiteDatabaseWrapper.insert(Unknown Source:2)
at com.tencent.assistant.localres.localapk.LocalApkProvider.insert(Unknown Source:20)
at android.content.ContentProvider.insert(ContentProvider.java:1713)
at android.content.ContentProvider$Transport.insert(ContentProvider.java:335)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:168)
at android.os.Binder.execTransactInternal(Binder.java:1185)
at android.os.Binder.execTransact(Binder.java:1149)
14:56:59.428 18585 Launcher.AllAppsList pid-18585 Can't load postion for packageName: com.newland.proprietor activityName: io.dcloud.PandoraEntry
这个问题有其它解决方案吗, 用如下方案没有解决:
1、原生项目主app的AndroidManifest.xml中。application节点配置android:extractNativeLibs="true"。
2、原生项目根目录 gradle.properties 配置android.bundle.enableUncompressedNativeLibs=false
我用的是 HBuilder X 4.24
1、原生项目主app的AndroidManifest.xml中。application节点配置android:extractNativeLibs="true"。
2、原生项目根目录 gradle.properties 配置android.bundle.enableUncompressedNativeLibs=false这个方法在34往上没用,有没有解决的
1、原生项目主app的AndroidManifest.xml中。application节点配置android:extractNativeLibs="true"。
2、原生项目根目录 gradle.properties 配置android.bundle.enableUncompressedNativeLibs=false这个方法在34往上没用,有没有解决的
我也遇到了相同的问题,请问这个问题解决了吗? 困扰了好久
n***@tech-trans.com
已接建議1&2, 重新编译打包安裝後, 打開仍是白屏
2021-09-03 11:06
DCloud_Android_ST
回复 n***@tech-trans.com: 你确定按我说的配置了 如果配置了还白屏我也不知道了
2021-09-03 12:07
x***@gmail.com
回复 DCloud_Android_ST: 这个方式我也试了,还是不行
2021-11-12 15:57
n***@hotmail.com
回复 x***@gmail.com: 有解决吗? 我也问题了这个问题, 我是真机正常, 模拟器不正常。
2022-04-06 18:04
1***@qq.com
回复 DCloud_Android_ST: 云打包怎么配置白屏谢谢
2022-07-29 18:02
8***@qq.com
回复 DCloud_Android_ST: uniapp没有这个咋配置
2022-12-13 19:53