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.

Stuck on "Configuring Android SDK, this may take a while"

See original GitHub issue

New Issue Checklist

  • Updated turtle-cli to the latest version (yarn global add turtle-cli or npm install --global turtle-cli).
  • I read the Contribution Guidelines.
  • I read docs.expo.io (Managed Workflow > Distributing Your App).
  • I searched for existing GitHub issues.
  • I enclosed the complete output when running turtle, including the stack trace and command used.

Issue Description

I am trying to setup the turtle-cli. I followed steps from https://docs.expo.io/distribution/turtle-cli/?redirected but now when I am running turtle setup:android --sdk-version 37.0.1, it is stuck on “Configuring Android SDK, this may take a while”

Command executed

turtle setup:android --sdk-version 37.0.1

Complete output when running turtle, including the stack trace and command used
 Jul 16 00:31:59 turtle[164107] INFO:  Downloading Android SDK
  platform: "android"
  buildPhase: "setting up environment"
downloading [====================] 99% 0.3sJul 16 00:34:28 turtle[164107] INFO:  Decompressing Android SDK
  platform: "android"
  buildPhase: "setting up environment"
Jul 16 00:34:32 turtle[164107] INFO:  Configuring Android SDK, this may take a while
  platform: "android"
  buildPhase: "setting up environment"

Environment

  Expo CLI 3.22.1 environment info:
    System:
      OS: Linux 4.15 Ubuntu 20.04 LTS (Focal Fossa)
      Shell: 5.0.16 - /bin/bash
    Binaries:
      Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
      Yarn: 1.22.4 - /usr/bin/yarn
      npm: 6.13.4 - ~/.nvm/versions/node/v12.16.1/bin/npm
    npmPackages:
      @expo/webpack-config: ^0.12.12 => 0.12.12 
      expo: ~37.0.9 => 37.0.12 
      react: ~16.9.0 => 16.9.0 
      react-dom: ~16.9.0 => 16.9.0 
      react-native: https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz => 0.61.5 
      react-native-web: ~0.11.7 => 0.11.7 
    npmGlobalPackages:
      expo-cli: 3.22.1

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dsokalcommented, Jul 20, 2020

Happy to hear you’ve managed to fix the original issue. Maybe you’d been experiencing some transient network issues?

Regarding your second issue - I suspect that you’re passing --public-url as well as your Expo username and password at the same time.

  1. If you’re passing both, the public URL takes precedence. The username and password are disregarded.
  2. If you want your app to fetch updates from Expo servers you don’t need to pass the --public-url option. Just pass the username and password.
  3. I’m closing this issue as the second one is not related to the original topic. If you encounter more problems with turtle-cli please open separate issue.
0reactions
shahidcodescommented, Jul 19, 2020

@dsokal problem is disappeared but I am not sure why. I updated to 0.17.0 before running the build this morning so it could be that. But now another problem is turtle can not find my app using URL (https://exp.host:443/@shahdicodes/app-name) on expo. I am passing my expo username and password to turtle. Could this be because my app privacy set to ‘hidden’?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android SDK Manager repeatedly gets stuck while downloading
I have just encountered a similar issue. My downloads got stuck at random percentages and would just set there. Unchecking "Force https://" only ......
Read more >
Visual Studio Installation stuck at Android SDK Setup (API ...
Now I was trying to install additional tools of Visual Studio and its stuck on Android SDK Setup (API Level 19 and 21)....
Read more >
Android SDK Installation got stuck at ndk-bundle installation
It is not stuck, it just takes a long time to download and install it. Depending on your internet connection and machine specs,...
Read more >
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >
Android Emulator Stuck At 5 Bars (Not Responding)
Deleted the Android SDK File and re-installed it; Looked all over the internet for potential answers. Visual Studiowindows 10.0performancevisual ...
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