diff --git a/lib/services/usb-livesync-service.ts b/lib/services/usb-livesync-service.ts index 6017f7f9fc..a40c645a2c 100644 --- a/lib/services/usb-livesync-service.ts +++ b/lib/services/usb-livesync-service.ts @@ -156,6 +156,8 @@ 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(); + if(this.$options.companion) { let commands = [ this.liveSyncCommands.SyncFilesCommand() ]; this.livesync(deviceAppData.appIdentifier, deviceAppData.deviceProjectRootPath, commands).wait();