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.

I can't run ejected expo.

See original GitHub issue

I ejected exactly as the documentation suggests when I run ./gradlew installDevMinSdkDevKernelDebug i get

FAILURE: Build failed with an exception.

  • What went wrong: Task ‘installDevMinSdkDevKernelDebug’ not found in root project ‘android’.
* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 45.541 secs

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
sjchmielacommented, Jul 30, 2018

Hi @HosseinAlipour, sorry for the inconvenience! The exp tool hasn’t been updated for SDK29 and you’ll have to follow some additional steps to set the project up:

  • add expokit@1.3.0 to your project’s dependencies (add "expokit": "^1.3.0", to the dependencies in your package.json and install the dependencies by running yarn or npm install)
  • open up android/app/build.gradle and remove lines from // WHEN_DISTRIBUTING_REMOVE_FROM_HERE up to // WHEN_DISTRIBUTING_REMOVE_TO_HERE

Then, running ./gradlew installDevMinSdkDevKernelDebug should succeed. 🙂 Let me know if it helped!

1reaction
sixmoraltalescommented, Sep 27, 2018

Hi @sjchmiela thanks for the response. I was wrong. It was a two or three month old SDK (I was confused with the android SDK I was running, which was 26). But now I have upgraded to expo SDK 29 and am still getting the same error. I opened a new issue where I have provided more detail. Thanks for any suggestions you might have! https://github.com/expo/expo/issues/2296

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ejecting to ExpoKit - Expo Documentation
From your project directory, run expo eject . This will download the required dependencies and build native projects under the ios and android...
Read more >
Ejected expo project does not run · Issue #2389 - GitHub
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with...
Read more >
Running ejected project throws "Expo sdk required expo to run"
After detaching, I installed expo as my project dependency to resolve imported Permissions module from expo. "npm install expo". Now when I run...
Read more >
How to Quit Expo App Completely From iOS and Android?
In this tutorial I will show you how to quit the Expo app totally and have a plain Vanilla React Native app.
Read more >
4. React Native - Expo Eject - Run ejected app - YouTube
Your browser can't play this video. Learn more. Switch camera.
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