diff options
Diffstat (limited to 'coin/provisioning/common')
-rw-r--r-- | coin/provisioning/common/01-windows_removethemall.ps1 | 5 | ||||
-rw-r--r-- | coin/provisioning/common/memorypershell.ps1 | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/coin/provisioning/common/01-windows_removethemall.ps1 b/coin/provisioning/common/01-windows_removethemall.ps1 index 8285ddae..9e64a34d 100644 --- a/coin/provisioning/common/01-windows_removethemall.ps1 +++ b/coin/provisioning/common/01-windows_removethemall.ps1 @@ -59,3 +59,8 @@ Function Remove-Path { Remove C:\Python27 Remove-Path C:\python27\scripts Remove-Path C:\python27 + +# Remove Android sdk and ndk +Remove C:\utils\android* +[Environment]::SetEnvironmentVariable("ANDROID_NDK_HOME",$null,"User") +[Environment]::SetEnvironmentVariable("ANDROID_SDK_HOME",$null,"User") diff --git a/coin/provisioning/common/memorypershell.ps1 b/coin/provisioning/common/memorypershell.ps1 new file mode 100644 index 00000000..2a8ebb68 --- /dev/null +++ b/coin/provisioning/common/memorypershell.ps1 @@ -0,0 +1,3 @@ +# This is needed e.g. for Android NDK installation for Windows 7 x86 +echo "Increase value of MaxMemoryPerShellMB to avoid 'out of memory' exception" +set-item wsman:localhost\Shell\MaxMemoryPerShellMB 2048 |