You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running "react-native run-android" for continue with development, want to see dev menu
Expected Behavior
Want to running apk from react packager (development server) and continue debugging with development mode
Actual Behavior
App open on emulator and immediately crash
Got this error on android monitor logcat : "Unable to load script from assets 'index.android.bundle'.Make sure your bundle is packaged correctly or you are running a package server.""
More Info
If a created index.android.bundle file with react-native bundle, debug-apk work. But can't reach development menu. I don't want to offline mode on debug, i want to running from local server so i continue my development. In ios, everything working correctly
I also tried this commands :
react-native start > /dev/null 2>&1 &
adb reverse tcp:8081 tcp:8081
Change package name
Trying different os (ubuntu)
Delete all node, all tmp and install again
start packager with delete cache
The text was updated successfully, but these errors were encountered:
mriza1815
changed the title
Continue with debugging after publish release version with react-native bundle (Android)
Continue with debugging after publish release version (Android)
Nov 11, 2017
@yinghang Yes. But i found my own solution.
Somehow i added this import "import com.facebook.react.BuildConfig;" on MainApplication.java. I deleted this line and problem solved
Thanks for the reply
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
No
Environment
Environment:
OS: macOS
Ide : Android Studio
Emulator : Adb, genymotion
Packages: (wanted => installed)
react-native: 0.45.1 => 0.45.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
native-base : 2.1.4 => 2.1.4
Target Platform: Android (23)
Steps to Reproduce
Expected Behavior
Want to running apk from react packager (development server) and continue debugging with development mode
Actual Behavior
More Info
If a created index.android.bundle file with react-native bundle, debug-apk work. But can't reach development menu. I don't want to offline mode on debug, i want to running from local server so i continue my development. In ios, everything working correctly
I also tried this commands :
The text was updated successfully, but these errors were encountered: