I can't deploy an app anymore, because the system is telling me that there is no space left on the device. I checked with the "My files" app directly on the device and it states:
Internal memory: 11,17 GB / 16,00 GB
That means that there are more than 4 GB left.
Error List:
Error ADB0000: Deployment failed
Error ADB0000: couldn't create file: No space left on device
Warning Failed to delete package file: {0} One or more errors occurred.
Console Output:
1>Project "SomeProject.csproj" (GetCopyToOutputDirectoryItems target(s)):
1>Done building project "SomeProject.csproj".
1>SomeProject.Android -> C:\Projects\SomeProject\SomeProject\SomeProject.Android\bin\Debug\SomeProject.Android.dll
1>No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
1>Failed to delete package file: {0} One or more errors occurred.
1>ADB0000: Deployment failed
1>Mono.AndroidTools.AdbException: couldn't create file: No space left on device
1> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token) in E:\A\_work\488\s\External\androidtools\Mono.AndroidTools\Util\AggregateAsyncResult.cs:line 72
1> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result) in E:\A\_work\488\s\External\androidtools\Mono.AndroidTools\Adb\AdbSyncClient.cs:line 771
1> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
1>ADB0000: couldn't create file: No space left on device
1> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token) in E:\A\_work\488\s\External\androidtools\Mono.AndroidTools\Util\AggregateAsyncResult.cs:line 72
1> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result) in E:\A\_work\488\s\External\androidtools\Mono.AndroidTools\Adb\AdbSyncClient.cs:line 771
1> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
1>Done building project "SomeProject.Android.csproj" -- FAILED.
1>Build FAILED.
1>Deployment failed to Samsung SM-T390.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Device Log doesn't seem to update itself ...
What I tried:
What else can I try and what can I do against it happening again?
Update:
Now I uninstalled other apps. Deployment worked only one time. Than I got
FastDevDirectoryCreationFailed
I disabled fast deployment and I'm getting again
No space left on device ...
Is resetting the device my only option? Or is this a bug with the build tools?
My only solution so far is to create new device in the emulator every time this happens. It keeps happening after I deployed my app several times (more that 50 deploys).
Update:
If you use android device.You can operate the factory-reset(open the settings=>System=>Reset optionss=>Erase all data(factory-reset)) to the reset from the device.
If you use a android emulator, You can open Andorid Device manager, then delete the old one and create a new emulater.