After creating a new project, I ran 'yarn run android' but instead of getting the expo app on the emulator I'm getting an error.
Expo app should be installed on my emulator and my app should be up and running.
I'm getting an error in the terminal while running the packager. Although I'm getting the QR code.
If there's an error message, please paste the full terminal output and error message in this code block:
Error running adb: Failed to install C:\Users\Rizwan\.expo\android-apk-cache\Exponent-1.16.1.apk: Failure [INSTALL_PARSE
_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1193990351.tmp/base.apk: AndroidManifest.xml]
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts: +-- UNMET PEER DEPENDENCY [email protected]npm ERR! peer dep missing: react@>=15.4.0, required by [email protected]
npm ls react-native: [email protected]npm ls expo: [email protected]node -v: v7.9.0npm -v: 3.10.9yarn --version: 0.23.2watchman version:Also specify:
hello! try deleting the directory C:\Users\Rizwan\.expo\android-apk-cache and opening the project on android again
I had the same problem (on macOS), can confirm that deleting the .expo/android-apk-cache directory and re-running yarn start android fixed it for me
deleting that dir helped me resolve my issue where nothing at all happens after "11:35:50 AM: Starting Android..."
I had the same problem (on Ubuntu 16.04), after deleting the .expo/android-apk-cache directory and re-running yarn start or npm start fixed it for me too! great help! thanks guys!
I had the same problem, I am using windows 10, after creating a new project when I clicked on device then it was giving me some errors
please create a new issue with more information, original issue was resolved above
Thanks! fixed for me as well.
Most helpful comment
hello! try deleting the directory
C:\Users\Rizwan\.expo\android-apk-cacheand opening the project on android again