admin管理员组文章数量:1312768
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.
本文标签: react nativeRun prebuild Expo Project in Android StudioStack Overflow
版权声明:本文标题:react native - Run prebuild Expo Project in Android Studio - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741871180a2402203.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论