Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React-native with Android Studio [closed]

I'm totally newbie in React_Native and trying to learn more about it. I tried this tutorial to learn how to work with Studio and React-Native. But still I'm not getting it. How to code in studio and link it with js. Did any body have any idea how to do it or tutorial links or references.

like image 696
Akshay Avatar asked Nov 20 '15 12:11

Akshay


People also ask

Can React Native work without Android Studio?

You will need Node, the React Native command line interface, a JDK, and Android Studio. While you can use any editor of your choice to develop your app, you will need to install Android Studio in order to set up the necessary tooling to build your React Native app for Android.

Is React Native still relevant 2022?

React Native is the 2nd most used cross-platform mobile app development framework with 38% market share. React Native is till a popular choice even in 2022. You've probably seen React Native in operation if you've run the official Facebook app on iOS or Android.

Can I use Android Studio as IDE for React Native?

IDE. As I mentioned above, there's no way we can use Android Studio for React Native development. We need a substitute. React Native can be developed probably in any modern text editor available out there (Atom, VS Code, Sublime Text, Brackets, etc.)

Why does Android Studio keep stopping apps?

Reinstall the app Many of the times the issue happens it that when you try to install the app from the android studio, the app did not get installed correctly. In that case, the app keeps crashing. To resolve this problem, you need to reinstall the app on your phone.


2 Answers

The tutorial seems to be pretty clear actually. What do you mean by

But still I'm not getting it. How to code in studio and link it with js

If you are talking about the way you link the JS, it is done through an activity, calling your js file. If you are asking where to put your JS files, the tutorial tells you to put them in your root, but you are free to do it in other way. If you ask how to edit your code through Android Studio, you can open the js file as any other file in order to code inside it.

It is possible that my answer is not what you expected, in this case, try to be more precise about what you want us to explain to you, I did not really get it.

like image 154
David Peicho Avatar answered Oct 05 '22 10:10

David Peicho


If you successfully installed what you need to start developing you can try the tutorial from the React Native docs

In case you haven't finished the setup yet you can go through the installation on Getting Started or start developing with the web application in the tutorial, you just need your browser. Then later you can produce an Android app with the code from that tutorial.

like image 42
Heloá Avatar answered Oct 05 '22 11:10

Heloá