codercup / unibest

unibest - 最好用的 uniapp 开发框架。unibest 是由 uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI 驱动的跨端快速启动模板,使用 VS Code 开发,具有代码提示、自动格式化、统一配置、代码片段等功能,同时内置了大量平时开发常用的基本组件,开箱即用,让你编写 uniapp 拥有 best 体验。
https://codercup.github.io/unibest-docs/
MIT License
1.68k stars 200 forks source link

关于Android离线打包提示“未配置appkey或配置错误” #134

Closed berial closed 3 months ago

berial commented 3 months ago

Bug report(问题描述)

就用的hello-unibest的项目代码,已经通过hbuilder重新生成了id,使用之前的uniapp离线基座(可以正常运行)多配置了一个productFlavors,确认id、签名、appkey、包名都没有问题,运行提示"未配置appkey或配置错误",该怎么解决? 在hbuilder中使用自带基座是能正常打开的

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

minimal reproduction(最小可还原代码)

System Info

npx envinfo --system --npmPackages vue --binaries --browsers

执行上面命令,将结果贴下面

berial commented 3 months ago

试了uni-helper/vitesse-uni-app

vitesse-uni-app 打出来的包放在同样的地方可以用

berial commented 3 months ago

就很神,用了vitesse跑了一遍,开发中心又能多申请一个key,成功运行了