drapanjanas/re-natal

Issue running android app: never gets past "Waiting for figwheel to load files"

delayedchoice opened this issue · 2 comments

When I run the android app the simulator opens with "Waiting for figwheel to load files". It never seems to change, even after editing source files. Also, figwheel never returns after "Prompt will show when Figwheel connects to your application".

Running ubuntu on a pixelbook.
Using openjdk 1.8.0-181

Steps to repeat:
re-natal init FutureApp
react-native start
re-natal use-android-device avd (in a new terminal)
re-natal use-figwheel
lein figwheel android
react-native run-android (in a new terminal)

Additionally (perhaps unrelated), trying to run just "lein repl" results in:
[WARNING] No nREPL middleware descriptor in metadata of #'cemerick.piggieback/wrap-cljs-repl, see nrepl.middleware/set-descriptor!
nREPL server started on port 42989 on host 127.0.0.1 - nrepl://127.0.0.1:42989
ERROR: Unhandled REPL handler exception processing message {:id 79ea5fd3-523b-4221-8393-1b53e8756e08, :op clone}
java.lang.NullPointerException
at clojure.core$deref_future.invokeStatic(core.clj:2292)

Hi,
have had the same issue.

If figwheel starts it says
Figwheel: Starting server at http://0.0.0.0:3449

now adb reverse the port for the emulator
adb -s emulator-5554 reverse tcp:3449 tcp:3449

Emulator name (here emulator-5554) could be checked with adb devices

Hope that helps you.

Wow! I had given up and just happened to stop by and see your note.
Excellent!