QUICK FIND

搜索站点内容

输入关键词开始搜索,无需连接服务器。

⌘ K 随时打开,按 Esc 关闭

Expo本地构建android apk

expo不使用eas 如何构建安卓安装包

参考 https://www.tcdw.net/post/build-expo-app-android-without-eas

其中执行 ./gradlew 构建时指定代理如下, 否则安装巨慢

# 打包给 Google Play 商店用的 .aab 文件:
./gradlew bundleRelease -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=7897 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=7897
#直接安装的 .apk 文件
./gradlew assembleRelease -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=7897 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=7897
Conversation

讨论这篇内容

评论由 GitHub Discussions 提供 · 打开讨论仓库