
Another approach might be to modify gradle scripts.Īs of react-native 0.57, none of the previously provided answers will work anymore, as the directories in which gradle expects to find the bundle and the assets have changed. gradlew assembleRelease #Generated `apk` will be located at `android/app/build/outputs/apk` gradlew assembleDebug # Create release build: $. Then to build the APK's after bundling: $ cd android # Create debug build: $. android/app/build/intermediates/res/merged/debug android/app/build/intermediates/assets/debug/index. React-native bundle -dev false -platform android -entry-file index. Is there no way to achieve this without installing the gigantic sdk (which i can’t even afford)? Many thanks.You need to manually create the bundle for a debug build. Can they be of any use to me? I just want to package the snippets from, setup, see what it looks like and start my personal project based on what I’ve studied. I realized what was happening to my bandwidth very late and shut it down but most of the files are still there. The folder is still there along with the unpacked zip, along with the thousands of dependencies they also downloaded when I ran create-react-native-app AwesomeProject. I’ve squandered all my bandwidth on this folder they downloaded when I ran react-native run-android the 1st time I was redirected to. I guess it should be there if I’ve got android sdk installed but since it’s not in the docs, I’m guessing there’s another way to go about it. That’s when I get the error " The SDK directory ‘C:\Users\nmeri17\AppData\Local\Android\sdk’ does not exist.", which in all fairness does not exist. Which outputs one message forever: “Loading dependency graph, done.”Īfter saving the file local.properties in the android subfolder. So I try the react native route instead with I get the error “adb: usage: need APK file on command line”. now when I try this:Ĭ:\Users\username\Documents\host\Node\worship_app>adb install com.app_name PACKAGE It simply states I should get the adb which I got from /studio/releases/platform-tools.html. The docs at make no mention of installing the android sdk.
