本文介绍了如何生成React Native项目的APK或ios文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用"create-react-native-app"和"Expo"构建一个RN项目.那么如何在Android& amp; iOS设备?我如何生成APK文件?我正在使用崇高的文字3编写代码.

I am building a RN project with "create-react-native-app" and "Expo". So how it is possible to run on Android & Ios device? How i can generate APK file? I am using sublime text 3 for writing code.

推荐答案

如果您不介意通过真实设备上的Expo应用程序打开应用程序,则只需将其发布到Expo生态系统上即可. 了解有关发布的更多信息.

If you don't mind opening your app through the Expo app on real devices, all you need is to publish it onto the Expo ecosystem. Read more about publishing.

如果您介意该额外步骤并希望按照正常方式进行操作,则需要创建一个独立的应用进行分发:

If you do mind that extra step and want to go the normal way, you need to create a standalone app for distribution:

来源

这篇关于如何生成React Native项目的APK或ios文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 13:01