Can I build Android apps with react native?

AndroidReactjsReact Native

Android Problem Overview


The recently launched react native features just iOS app example and docs.

Android Solutions


Solution 1 - Android

Yes.

React Native for Android was released September 14th, 2015.

Docs: http://facebook.github.io/react-native/

Solution 2 - Android

No. You can't build Android apps with this release.

Facebook has indicated that they are working on an Android version, and famously said "give us 6 months", which some people have taken as a promise. I wouldn't base any important business decisions on the illusion that it will be unveiled when the 6 months is over, but you can at least take some hope in the fact that they're serious about making it production-ready before they give us access to it, and that it's not just a pie-in-the-sky hope.

Also, as others have pointed out, Facebook has already release apps that they've built with the Android version of React Native. So at least parts of it are ready for prime time.

UPDATE

Early support for React Native for Android has been pushed to GitHub!

As noted, there are several things that are currently not working if trying to port an application from iOS. But it's worth checking out.

https://github.com/facebook/react-native/commit/42eb5464fd8a65ed84b799de5d4dc225349449be

Solution 3 - Android

It is not aiming to be a cross platform, write-once run-anywhere, tool. It is aiming to be learn-once write-anywhere. -Colin Eberhardt, from Raywenderlich

Good news is that React Native for Android is finally here. (https://code.facebook.com/posts/1189117404435352)

Solution 4 - Android

while you can't do it right now, it shouldn't take that long.

The first React Native Android App has been published about two weeks ago in the play store as tweeted by the reactjs twitter account:

https://twitter.com/reactjs/status/615638361328349185

Solution 5 - Android

Great news! Now its possible!

"And so it happens, the commit we're waiting since about 6 months!" - usereact.com

Please read more on: http://www.reactnative.com/react-native-for-android/

Watch this video: https://www.youtube.com/watch?v=MNNR01NF290

Glad

Solution 6 - Android

I've tried out Facebook react native on Android and it really worked.

Simple Ubuntu install guide can be found here

Simple js files: link

Solution 7 - Android

Yes , We can now developed android apps too in react-native.

and some of the apps are already developed in react-native for android suchs as:

1)F8

2)Facebook ads manager

3)Squad

4)Discovery VR

5)Ziliun etc..

and many more still counting.

Developers from around the world now opting react-native for mobile app development because of easy of use of JSX syntax.

and also it is commonly noted as simply the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easily embeddable within an existing non-React Native app.

Solution 8 - Android

TLDR; Yes,

Detailed answer (As of November 2017)

React Native android application development is very stable and a good number of Android applications have been already built and used in production using React-Native.

You can find a showcase of applications here. Most of them have both IOS and Android versions.

You can also easily integrate your native Android java code to react-native. Refer here

As a developer who is building Android app using react-native with a lot of native java code dependencies, react-native runs stable and I found the documentation and community support is adequate.

Solution 9 - Android

Yes, it works for both the platforms ios and android, be sure to mention code entry points in app.js if it uses different code for different platforms. However native functions like native events or location manager need to be coded in native languages and then exported using RCT_EXPORT, you can find more about it in the docs

Solution 10 - Android

Sure, Using React Native you can build real mobile app. real app means close to platform or simply can say 99% native app.react native provide easy way for building native android app using javascript for lucrative design.You have basic knowledge of android studio and error fixing in android studio related native module integration and good understanding of react.js then you can build android app using react native. Basic Requirement for android app

  1. Configure android studio please follow below link and avoid installation of python. https://facebook.github.io/react-native/docs/getting-started .
  2. for UI you will learn flex-box from official documentation. I thing that is enough

Solution 11 - Android

Yes, not just with android but also with iOS using XCode

Solution 12 - Android

Yes, you can make real-world mob application with React-Native. React-Native is used to create a hybrid mobile application. In this, we write code in javascript which gets converted to swift for ios and java for android.

Solution 13 - Android

Yes, You can build the Android app using React Native. For this, you have to install Android Studio with all the required SDKs. You can run your React Native app in Android simulator by using Android Studio and command line both.

For command line, run the following command:

react-native run-android

Otherwise you can open the android project in Android Studio which is created by React Native in android folder and run the project from there.

Happy Coding.. :)

Solution 14 - Android

Yes, you can definitely build android apps using react-native.This is one of the great benefits of React Native. Before Facebook created it, you had to build your app twice and with different code : one for iOS using Swift or Objective-C and one for Android using Java or Kotlin.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionieugenView Question on Stackoverflow
Solution 1 - AndroidHoffZView Answer on Stackoverflow
Solution 2 - AndroidJustin NiessnerView Answer on Stackoverflow
Solution 3 - AndroidTedView Answer on Stackoverflow
Solution 4 - Androidw.stoettingerView Answer on Stackoverflow
Solution 5 - AndroidBruno GuerraView Answer on Stackoverflow
Solution 6 - Androidkosiara - Bartosz KosarzyckiView Answer on Stackoverflow
Solution 7 - AndroidSrinivas GuniView Answer on Stackoverflow
Solution 8 - AndroidAkhil BalakrishnanView Answer on Stackoverflow
Solution 9 - AndroidDivye ShahView Answer on Stackoverflow
Solution 10 - AndroidAtul TiwariView Answer on Stackoverflow
Solution 11 - AndroidOlufsenView Answer on Stackoverflow
Solution 12 - Androidkumar ujjawalView Answer on Stackoverflow
Solution 13 - AndroidEr Rahul Rajkumar GuptaView Answer on Stackoverflow
Solution 14 - AndroidApurva AggarwalView Answer on Stackoverflow