Android: Unable to apply changes on device: emulator-xxxx. Error is: Socket connection timed out
See original GitHub issueThe 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:
- run the firebase demo app https://github.com/EddyVerbruggen/nativescript-plugin-firebase/tree/master/demo which uses the working android runtime version 6.1.0 -> the app wll sttart as expected
tns platform remove android
tns platform add android@latest
tns run android
- the app is successfully built, but you’re not able to start it anymore
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@felix-idf Yes I do.
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