Difference between revisions of "Android"

From Wasya Wiki
Jump to: navigation, search
(Build)
(Run Emulator)
Line 7: Line 7:
  
 
  /Users/piousbox/Library/Android/sdk/tools/emulator -avd Nexus_5X_API_26
 
  /Users/piousbox/Library/Android/sdk/tools/emulator -avd Nexus_5X_API_26
 +
 +
What's this thing?
 +
 +
  ./node_modules/.bin/react-native run-android
  
 
=== Reload App in Emulator ===
 
=== Reload App in Emulator ===

Revision as of 20:09, 13 August 2018

Develop

pi_native, that's the newsitems app

Run Emulator

/Users/piousbox/Library/Android/sdk/tools/emulator -avd Nexus_5X_API_26

What's this thing?

 ./node_modules/.bin/react-native run-android

Reload App in Emulator

adb shell input keyevent 82
R+R

Build

From: https://facebook.github.io/react-native/docs/signed-apk-android

Generate key, then

 ./gradlew assembleRelease

It's here: /Users/piousbox/projects/react/pi_native/android/app/build/outputs/apk