question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expo app is not installing on Android emulator

See original GitHub issue

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 ls react-native-scripts: ±- UNMET PEER DEPENDENCY react@16.0.0-alpha.6 `-- react-native-scripts@0.0.31

npm ERR! peer dep missing: react@>=15.4.0, required by react-native-maps@0.14.0

  • npm ls react-native: react-native@0.44.3
  • npm ls expo: expo@17.0.0
  • node -v: v7.9.0
  • npm -v: 3.10.9
  • yarn --version: 0.23.2
  • watchman version:

Also specify:

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

30reactions
brentvatnecommented, Jun 17, 2017

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

5reactions
mgcommented, Jun 27, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo app is not installing on Android emulator #261 - GitHub
Expo app should be installed on my emulator and my app should be up and running. Observed Behavior. I'm getting an error in...
Read more >
Android Studio Emulator - Expo Documentation
1. Download and install Android Studio 3.0+. · 2. Select "Standard" for the "Install Type" inside the wizard. · 3. Inside Android Studio,...
Read more >
How to run an Expo app on an Android emulator
Start Expo by typing expo start on the command line. · Open Android Studio. · Open your project in Android Studio. · Open...
Read more >
How to Run the Expo React Native app on the emulator
How to Run the Expo React Native app on the emulator · install Android Studio · run the emulator through web · run...
Read more >
React Native: Running Expo Apps on an Android Emulator
Run your Expo App on the emulator ... Finally, head over to your Expo project and just start the expo server like you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found