I would like open my Prebuild Expo React Native Project in Android Studio and run it on the android Emulator (using bare workflow). I have already prebuild my project using "npx expo prebuild --clean"
I can also open the project in Android Studio. But when I try to run it on the emulator, then I always get the Error: "Error running 'app': The application could not be installed." I don't get any other error information.
What is the reason for this Error and how could I solve this? I am looking forward to your advice!
I would like open my Prebuild Expo React Native Project in Android Studio and run it on the android Emulator (using bare workflow). I have already prebuild my project using "npx expo prebuild --clean"
I can also open the project in Android Studio. But when I try to run it on the emulator, then I always get the Error: "Error running 'app': The application could not be installed." I don't get any other error information.
What is the reason for this Error and how could I solve this? I am looking forward to your advice!
Share Improve this question asked Feb 1 at 16:06 haobei620haobei620 513 bronze badges1 Answer
Reset to default 1At first try to remove the app from emulator, or do wipe data.
To run your android app from './android' folder:
- Open prebuilded folder in Android Studio. Be sure that all dependencies automatically will be installed. Usuallty it takes some time
- Next step npx expo run:android
- Now your app is running, make some changes in native directory, and apply run from android studio - then you get succesful build, with applied changes.