expo detach issue

I am using SDK 31 to create a new project.
I create the project using
npm init my-project
After that, I eject my project using cmd:
expo eject

I open android directory under my-project/android in Android Studio, it built successfully, but didn’t load my App.js page. It just showing the white page.


import React from 'react';
import { StyleSheet, Text, View } from 'react-native';

export default class App extends React.Component {
  render() {
    return (
      <View style={styles.container}>
        <Text>Open up App.js to start working on your app!</Text>

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#fff',
    alignItems: 'center',
    justifyContent: 'center',

Hey @kaijing,

Can you make sure you are serving your JS bundle before opening in Android Studio. You can read about the proper steps here: https://docs.expo.io/versions/v31.0.0/expokit/expokit#2-run-the-project-with-expo-cli




Yes, I follow the steps in that link.
But still get the white blank page, the text didn’t display.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.