Unable to build android app from git repository


(Adam Beers) #1

I pulled down the DiscourseMobile from github. According to the github page, you run npm init and then react-native run-android. That didn’t work, but it did indicate that npm install is needed first. I did that and it downloaded a bunch of stuff. Then, I tried importing into Android Studio and installed on my device, but it failed with an error about BundledBatch. I click on “RELOAD” on the bottom and get another error about development server.

How do I get it to work from a build?

Attached screenshots of the errors.


(Jeff Atwood) #2

Are we actually supporting this @sam?


(Sam Saffron) #3

I amended the readme to cover this.


(Adam Beers) #4

What if I’m not using an emulator? What if I want to build and run on an actual device? Is there an extra step or config needed for that?


(Sam Saffron) #5

same instructions hold…