React Native:使用Expo生成.apk和.ipa [英] React Native: Generate .apk and .ipa using Expo

查看:350
本文介绍了React Native:使用Expo生成.apk和.ipa的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Expo& amp;为我的React Native应用程序生成.ipa和.apk文件.创建React Native App我成功构建了该应用程序,并且能够使其同时在iOS&一个Android设备,感谢以下文档: https://docs .expo.io/versions/v16.0.0/guides/building-standalone-apps.html

I'm trying to generate a .ipa and a .apk file for my React Native app using Expo & Create React Native App. I successfully built the app and was able to get it to run on both an iOS & an Android device thanks to the docs: https://docs.expo.io/versions/v16.0.0/guides/building-standalone-apps.html

构建结束后,我的控制台显示类似

When the build is over, my console shows something like

您的网址是 https://exp.host/@myname/myapp

Your URL is https://exp.host/@myname/myapp

然后我在设备上打开exp.host/@myname/myapp,该应用程序通过Expo客户端显示.

I then open exp.host/@myname/myapp on my device and the app shows up via the Expo client.

但是在文档的第4点,据说

But at point 4 of the docs, it is said that

完成后,您将看到.apk(Android)或.ipa(iOS)文件的网址-这是您的应用程序.

When it’s done, you’ll see the url of a .apk (Android) or .ipa (iOS) file — this is your app.

我有点困惑.在此过程中的任何地方都看不到任何ipa或apk文件,该文件在我的PC上的任何位置生成.我想念什么吗?我实际上如何生成文件?

I'm a bit confused. No where in the process do I see any ipa or apk file generated anywhere on my pc. Am I missing something ? How do I actually generate the files ?

推荐答案

您将需要运行expo build:status.构建过程完成后,您将看到下载apk(Android)或ipa(IOS)文件的链接.

You will need to run expo build:status. When building process is complete you will see link to download apk (Android) or ipa(IOS) file.

这篇关于React Native:使用Expo生成.apk和.ipa的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆