![]() ![]() ![]() ANDROID_HOME variable set to SDK path, where android was installed.ADB variable which is set to the path of "platform-tools" in your system like below:.Make sure that you have 2 environment variables set in your system. But in the module dropdown box there's nothing to select. But as I said, I have managed to get an emulator installed and running.Īny help getting this going either via react-native CLI or from within Android Studio would be greatly appreciated.Įdit: I've found how to run my app in Studio, but it pops up an 'Edit configuration' dialogue and says there's no Module selected. So failing getting it running via the react-native CLI, how do I get it running from within just Android Studio? I've never used Android Studio before, so I have no idea what the process is. I should say I have an emulator running from Android Studio before doing all this. If I try the latter either in another command prompt or without first running the former command, I get an error Unrecognized command "run-android". ![]() Then it says to enter: npx react-native run-android, but the command line is blocked by the previous process. For instance it says do the following on the command line: npx react-native start which starts up a process of some sort. I've followed the instructions at under the React Native CLI Quickstart tab, and initialised the 'AwesomeProject' app from that page, but I'm finding the instructions unclear. I'm trying to run my react native app on either an Android Studio emulator or my physical device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |