Create-react-native-app: Expo app is not installing on Android emulator

Created on 15 Jun 2017  路  7Comments  路  Source: expo/create-react-native-app

Description

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.

Expected Behavior

Expo app should be installed on my emulator and my app should be up and running.

Observed Behavior

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]

Environment

Please run these commands in the project folder and fill in their results:

npm ERR! peer dep missing: react@>=15.4.0, required by [email protected]

Also specify:

  1. Operating system: Windows 8.1 64bit
  2. Phone/emulator/simulator & version: Nexus 5X API 25
awaiting-reply

Most helpful comment

hello! try deleting the directory C:\Users\Rizwan\.expo\android-apk-cache and opening the project on android again

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liyanxi picture liyanxi  路  3Comments

WeslleyNasRocha picture WeslleyNasRocha  路  4Comments

FezVrasta picture FezVrasta  路  3Comments

ArashMotamedi picture ArashMotamedi  路  3Comments

witbybit picture witbybit  路  4Comments