Skip to content

Commit e66b921

Browse files
FatmeFatme
Fatme
authored and
Fatme
committed
Merge pull request #750 from NativeScript/fatme/change-runtime-version
Change android runtime version
2 parents 79b62b6 + fc5f102 commit e66b921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/usb-livesync-service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ export class UsbLiveSyncService extends usbLivesyncServiceBaseLib.UsbLiveSyncSer
4343
if(platformLowerCase === this.$devicePlatformsConstants.Android.toLowerCase()) {
4444
this.$projectDataService.initialize(this.$projectData.projectDir);
4545
let frameworkVersion = this.$projectDataService.getValue(platformData.frameworkPackageName).wait().version;
46-
if(semver.lt(frameworkVersion, "1.2.2")) {
47-
let shouldUpdate = this.$prompter.confirm("You need Android Runtime 1.2.2 or later for LiveSync to work properly. Do you want to update your runtime now?").wait();
46+
if(semver.lt(frameworkVersion, "1.2.1")) {
47+
let shouldUpdate = this.$prompter.confirm("You need Android Runtime 1.2.1 or later for LiveSync to work properly. Do you want to update your runtime now?").wait();
4848
if(shouldUpdate) {
4949
this.$platformService.updatePlatforms([this.$devicePlatformsConstants.Android.toLowerCase()]).wait();
5050
} else {

0 commit comments

Comments
 (0)