Nativescript-cli: Unable to apply changes on device: emulator-5554. Error is: No space left on device..

Created on 5 Jun 2018  路  7Comments  路  Source: NativeScript/nativescript-cli

Iam a newbie in Nativescript.
Just created a new app using command-
tns create GroceryApp --template nativescript-template-ng-tutorial

cd GroceryApp
tns run android

.....

Project successfully built.
Installing...
Unable to apply changes on device: emulator-5554. Error is: No space left on device..
Executing after-watch hook from /Users/EmaxSoftware/Apps/NSApps/GroceryApp/hooks/after-watch/nativescript-dev-typescript.js
Stopping tsc watch
Executing after-watch hook from /Users/EmaxSoftware/Apps/NSApps/GroceryApp/hooks/after-watch/nativescript-dev-typescript.js

Android Emulator is launched, but this is what iam getting-
screen shot 2018-06-06 at 12 49 46 am

Most helpful comment

on Windows path (C:\Android\android-sdk\tools\bin), worked with following command:
emulator @My-emulator-name -partition-size 1024

All 7 comments

i found the solution

How?

Find where the avd are stored, for (macOS) it鈥檚 in ~/.android/avd,
every avd has its own directory, with a config.ini file where you can change its config. The parameter you might need to look at is -

disk.dataPartition.size=800M

on Windows path (C:\Android\android-sdk\tools\bin), worked with following command:
emulator @My-emulator-name -partition-size 1024

The path for Windows that @thiagolimacg gives apparently has changed.

C:\Android\android-sdk\emulator>emulator @My-emulator-name -partition-size 1024
also to get your emulator name:
emulator -list-avds

Not working. The same issue
Successfully installed on device with identifier 'emulator-5554'.
Unable to apply changes on device: emulator-5554. Error is: Socket connection timed out..
Stopping tsc watch
Stopping webpack watch

Hi @hideman1975,

This is a closed issue for No space left on device while you are getting Socket connection timed out. Please open a new issue following the issue template in order to allow us to investigate it further.

Was this page helpful?
0 / 5 - 0 ratings