android


react-native run-android red screen of death


appears after running react-native run-android
I click the reload JS button and it changes to
Which is more informative, I am using VS standalone Android Emulator, and have already ran adb reverse etc etc
I do not see an option for Debug server host & port for device in Dev settings like it says there should be.
This happens when you haven't set the server IP (which should be on the same local network as your phone).
From your question I assume you can connect to the emulator using adb then you should be able to send command to it using the following according to the official guide pointed out by G. Hamaide:
adb shell input keyevent 82
This should send open menu event to the emulator and show you the menu where you will find Dev Settings and if you open it there you will find Debug Server host & port.
In order to connect to this server you must be on the same local network (i.e. connected to the same router). I assume you are using default options on a Windows machine so open a cmd shell and learn you local IP address using ipconfig. You can now set host and port to YOUR_LOCAL_IP:8081 (default port is 8081). Try to reload and it should work now.
You need to follow the steps from their official guide.
From where you are stuck follow these steps :
Open the Developer menu by shaking the device or running adb shell input keyevent 82 from the command line.
Go to Dev Settings.
Go to Debug server host for device.
Type in your machine's IP address and the port of the local dev server (e.g. 10.0.1.1:8081). On Mac, you can find the IP address in System Preferences / Network. On Windows, open the command prompt and type ipconfig to find your machine's IP address (more info).
Go back to the Developer menu and select Reload JS.

Related Links

CachingHttpClient not consuming backend HttpResponse entity cause app to freeze
PA4AD: Eclipse problems with first example; clean project goes bananas
Black square instead of image
Use dynamically populated string async task
How to give (already purchased) Android app to customer as a gift?
Android - Gradient Weirdness
Is there a WebView On Navigation method?
is there a kind of raspberry ADK board
Delete push notification setting from phone
SGS3 Android Input value of type datetime
How unmarshalling xml List objects
Android bluetooth socket.connect fails; Throws java IO exception
Android GestureListener not detecting events
How can I reliably get a color from an AttributeSet?
Menu button is not show in 3.0 OS
Customizing Android sample app

Categories

HOME
design-patterns
prism
github-for-windows
alsa
onclick
x264
data-visualization
mvc5
webix
barcode
special-characters
arangodb
commonjs
resultset
supervisor
zerobrane
enterprise-architect
plink
scrolltop
mongodb-csharp
entitymanager
searchview
mapstruct
sigma.js
breadth-first-search
question2answer
r-mice
ios10.2
mongoid6
draft-js-plugins
mount
windows-server-2003
progress-bar
inversion-of-control
openmdao
vex
userdefaults
mobx
carriage-return
roblox
engine.io
wurfl
cd
connection-pool
projects-and-solutions
bc
cin
comparison-operators
trigonometry
odoo-website
plr
chronicle-map
oracle-service-bus
congestion-control
dapper-simplecrud
fwrite
dynamic-linq
ntvs
serde
vugen
manova
arq
boxing
reshape
py2neo
rocks
uicolor
cifilter
lean
cda
ikiwiki
invoke-sqlcmd
false-sharing
cycle2
dock
sha512
actionfilterattribute
theos
filesplitting
rickshaw
mdichild
mobility
codeplex
twitter-bootstrap-rails
koala
android-audiorecord
jeromq
mongohq
beaker-testing
jquery-1.9
redis-py
paginator
thttpd
appjs
pinch
update-statement
appledoc
binomial-heap
ajax-polling
tui
wcf-proxy
blind
cardspace
pnrp
idatareader

Resources

Encrypt Message