Skip to content

Commit 075321c

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Give full permission to livesync folder so android-runtime can successfully remove it
1 parent 68537d8 commit 075321c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/services/usb-livesync-service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ export class AndroidUsbLiveSyncService extends androidLiveSyncServiceLib.Android
156156

157157
public restartApplication(deviceAppData: Mobile.IDeviceAppData, localToDevicePaths: Mobile.ILocalToDevicePathData[]): IFuture<void> {
158158
return (() => {
159+
this.device.adb.executeShellCommand(["chmod", "777", deviceAppData.deviceProjectRootPath]).wait();
160+
159161
if(this.$options.companion) {
160162
let commands = [ this.liveSyncCommands.SyncFilesCommand() ];
161163
this.livesync(deviceAppData.appIdentifier, deviceAppData.deviceProjectRootPath, commands).wait();

0 commit comments

Comments
 (0)