I ejected Expo project and ran react-native run-android
command, then bellow error happened.
Error: Activity class {host.exp.exponent/host.exp.exponent.MainActivity} does not exist.
In Expo project, run command is not react-native run-android
but expo start
.
I ran expo start
command and clicked Run on Android device/emulator
in browser, it solved this error.