From f086f2bb16a40475d9a358f2c8ba26d5c3adff83 Mon Sep 17 00:00:00 2001 From: Fatme Havaluova Date: Wed, 9 Sep 2015 14:47:35 +0300 Subject: [PATCH] Give full permissions to /data/local/tmp/appIdentifier folder --- lib/services/usb-livesync-service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/services/usb-livesync-service.ts b/lib/services/usb-livesync-service.ts index a40c645a2c..0cd0938209 100644 --- a/lib/services/usb-livesync-service.ts +++ b/lib/services/usb-livesync-service.ts @@ -157,6 +157,7 @@ export class AndroidUsbLiveSyncService extends androidLiveSyncServiceLib.Android public restartApplication(deviceAppData: Mobile.IDeviceAppData, localToDevicePaths: Mobile.ILocalToDevicePathData[]): IFuture { return (() => { this.device.adb.executeShellCommand(["chmod", "777", deviceAppData.deviceProjectRootPath]).wait(); + this.device.adb.executeShellCommand(["chmod", "777", `/data/local/tmp/${deviceAppData.appIdentifier}`]).wait(); if(this.$options.companion) { let commands = [ this.liveSyncCommands.SyncFilesCommand() ];