This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-26
Channels
- # aatree (1)
- # admin-announcements (1)
- # beginners (84)
- # boot (239)
- # braid-chat (5)
- # braveandtrue (20)
- # cider (42)
- # cljsjs (4)
- # cljsrn (31)
- # clojars (18)
- # clojure (101)
- # clojure-austin (1)
- # clojure-gamedev (4)
- # clojure-madison (2)
- # clojure-poland (30)
- # clojure-russia (37)
- # clojurescript (95)
- # core-async (7)
- # cryogen (1)
- # css (3)
- # cursive (14)
- # datomic (8)
- # devcards (7)
- # dirac (2)
- # editors (2)
- # emacs (2)
- # funcool (1)
- # hoplon (15)
- # immutant (30)
- # ldnclj (37)
- # lein-figwheel (6)
- # leiningen (8)
- # luminus (5)
- # mount (1)
- # off-topic (59)
- # om (325)
- # om-next (7)
- # onyx (95)
- # parinfer (162)
- # proton (1)
- # re-frame (4)
- # reagent (23)
- # slack-help (4)
- # yada (43)
Hi. I have an app (initially created with re-natal
), which I'v built with lein prod-build
and then added signed key (all according to RN's instructions) and ran cd android && ./gradlew assembleRelease
. Then installed it with ./adb install <the-path>/app-release.apk
My app is installed now, but when I run, I first see white screen, then black and then "App was stopped". Here's ./adb logcat
http://dpaste.com/3Z1JCGC I see a lot of messages about React. How can I make it work?
@andrewboltachev: did you try running it after lein prod-build on a device or simulator? Did it work?
@drapanjanas:
1) In Genymotion it's fine
2) There's problem running on device: I have only GT-I8262 with Android 4.1.2, which's USB socket is almost broken (unstable). I'm using tcpip (WiFi) to connect the device, but adb reverse
as I understand supports Android >= 5.0, and it doesn't seem to work. When I install debug ver., it opens and displays red error screen with "Reload JS" button at the bottom
@drapanjanas: Ah sorry, (1) and (2) not after lein prod-build
Then probably there is something wrong happens when the app is compiled into index.android.js with :optimizations :simple
what interface are you using? om.next?
um, so after lein prod-build it did not work? or you have not tried?
Om Next yes
let me try
Skipping device '192.168.150.8:5555' for 'app:debug': Unknown API Level
well, that's on 4.1.2
phone
Hm, dunno what that is, I have tried some time ago doing the signed apk (of generated hello world reagent app) and it worked on my Galaxy S5 without any problems
Genymotion said me `An error occured while deploying the file. INSTALL_FAILED_UPDATE_INCOMPATIBLE`
when just dropping APK onto it
but, I’ve tried only the reagent version, not Om Next
uhm, interesting
there's what: http://dpaste.com/19962QQ
WARNING - name React is not defined
warning only about om externs, that should not cause such problems, I think
also we might go for alpha31 or what's the last version now
Well, I can only suggest experimenting, try generating just ReactNative app with react-native init
and check if that works on your device… then try unmodified re-natal app and so on...
react-native Hello world app works well
btw, shouldn't we add to re-natal
a way to attach signing quickly?
i.e. to modify the android/app/build.gradle
file
yep could be a good thing to add such command
can you try generating new re-natal app and make same thing to that sample app?
yep, let me do
if that does not work feel free to create an issue in github
and that's 4.1.2, which certainly makes me happy.
so for my target app, I'll try to go all the way down and figure out what causes the crash
'cause that might tell something