[英]how can i import or open react-native project in android studio?
I'm trying to import or open react-native project in android studio.我正在尝试在 android 工作室中导入或打开 react-native 项目。
My project name is cooking2-master.我的项目名称是cooking2-master。
However, I am confused whether I need to import the entire project ie (cooking2-master) or the android in the project.但是,我很困惑是否需要导入整个项目,即(cooking2-master)或项目中的android。
This is my android studio image这是我的 android 工作室图片
What should I import?我应该导入什么? cooking2-master(which is my entire project folder)?
Cooking2-master(这是我的整个项目文件夹)? or android in my project folder?
或 android 在我的项目文件夹中?
Here are the steps to open a react native app on Android Studio:以下是在 Android Studio 上打开 react native 应用程序的步骤:
Open an Existing Project
Open an Existing Project
android
folder INSIDE the react native project folderandroid
文件夹Open
Open
The important bit is that you open the android
folder inside the react native project, not the react native folder itself.重要的是,您打开的是 react native 项目中的
android
文件夹,而不是 react native 文件夹本身。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.