When you start the Android application, the following message appears: http://pastebin.com/1jHEfdQ3 The application sometimes crashes in the simulator, but most of the times it just displays a white screen. I can console.log one or two things until the application responds. RR for update does not work. None of the dev tools work. I am at a standstill with what to do at this moment.
I run the reaction native 0.38.0
EDIT:
I tried to clear my gradle and remove and reinstall my node modules.
It should be noted that I am using React Native Navigation, which means that I had to change MainApplicationand MainActivityto the following:
MainActivity:
package com.prayerrequest;
import com.facebook.react.ReactActivity;
import com.reactnativenavigation.NavigationApplication;
import com.airbnb.android.react.maps.MapsPackage;
import com.cmcewen.blurview.BlurViewPackage;
import io.realm.react.RealmReactPackage;
import com.reactnativenavigation.controllers.SplashActivity;
public class MainActivity extends SplashActivity {
}
MainApplication:
package com.prayerrequest;
import com.facebook.react.ReactPackage;
import com.cmcewen.blurview.BlurViewPackage;
import io.realm.react.RealmReactPackage;
import com.airbnb.android.react.maps.MapsPackage;
import com.reactnativenavigation.NavigationApplication;
import java.util.Arrays;
import java.util.List;
public class MainApplication extends NavigationApplication {
@Override
public boolean isDebug() {
return BuildConfig.DEBUG;
}
@Override
public List<ReactPackage> createAdditionalReactPackages() {
return Arrays.<ReactPackage>asList(
new RealmReactPackage(),
new BlurViewPackage(),
new MapsPackage()
);
}
}
I cross-tuned the React Native page here