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.

Android: Unable to apply changes on device: emulator-xxxx. Error is: Socket connection timed out

See original GitHub issue

The problem seems to be related to the android runtime, because our app used to work when we used tns-android 6.1.0. After upgrading to tns-android 6.1.1 (and also 6.1.2), the app gets installed on device (or emulator), but then you just see the splash screen for a while, then you see the error message

Installing on device emulator-5554...
Successfully installed on device with identifier 'emulator-5554'.
Unable to apply changes on device: emulator-5554. Error is: Socket connection timed out..

Steps to reproduce:

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:18 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
EddyVerbruggencommented, Oct 7, 2019

@felix-idf Yes I do.

0reactions
NazimMertBilgicommented, May 21, 2020

I got the same error on Android. I saw that the mistake was caused by Crashlytcs. I removed the plug-in and installed it again and ran npm run config in the corresponding folder. crashlytcs: false

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to apply changes on device: emulator-xxxx. Error is ...
Error is: Socket connection timed out.. Creating a new project using the latest android runtime 6.1.2 works as expected. We have the following ......
Read more >
[JIRA] (JENKINS-11952) Emulator occasionally hangs ...
The change makes it use TCP connections for the emulators, ... connect emulator-5818 [android] Timed-out after waiting 720 seconds for emulator ...
Read more >
View contents of database file in Android Studio - Stack Overflow
Viewing databases from Android Studio: Option 1: Download and install SQLiteBrowser. Copy the database from the device to your PC: Android Studio versions ......
Read more >
[JENKINS-12821] android.device - Jenkins Jira
The following configuration of the android-maven-plugin will not find the running emulator on Jenkins. Commenting this line will find the emulator.
Read more >
Where is the database file stored on my computer?
db file from Android Studio>Tools>Android>Android Device Monitor. Then, you will see File Explorer tab in a right panel that contains a data ...
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