Could not read script '~/Desktop/flutter/packages/flutter_tools/gradle/app_plugin_loader.gradle' as it does not exist

Steps to Reproduce

Run flutter create bug.
Run flutter run

Expected results:
The Template Application should run on the connected device
Actual results:

Logs

[ +135 ms] executing: [/Users/ajil/Desktop/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +62 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 916c3ac648aa0498a70f32b5fc4f6c51447628e3
[   +2 ms] executing: [/Users/ajil/Desktop/flutter/] git tag --contains HEAD
[ +349 ms] Exit code 0 from: git tag --contains HEAD
[        ] 1.20.0
           1.20.0-7.4.pre
           1.20.1
[  +16 ms] executing: [/Users/ajil/Desktop/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/ajil/Desktop/flutter/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[  +81 ms] executing: [/Users/ajil/Desktop/flutter/] git rev-parse --abbrev-ref HEAD
[  +15 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +32 ms] executing: sw_vers -productName
[  +45 ms] Exit code 0 from: sw_vers -productName
[   +1 ms] Mac OS X
[        ] executing: sw_vers -productVersion
[  +33 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.4
[        ] executing: sw_vers -buildVersion
[  +26 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19E287
[  +56 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +36 ms] executing: /Users/ajil/Library/Android/sdk/platform-tools/adb devices -l
[  +48 ms] executing: /usr/bin/xcode-select --print-path
[  +14 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[   +3 ms] /Applications/Xcode.app/Contents/Developer
[   +4 ms] executing: /usr/bin/xcodebuild -version
[ +865 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[        ] Xcode 11.3.1
           Build version 11C504
[   +1 ms] executing: xcrun --find xcdevice
[  +10 ms] Exit code 0 from: xcrun --find xcdevice
[        ] /Applications/Xcode.app/Contents/Developer/usr/bin/xcdevice
[   +1 ms] executing: xcrun xcdevice list --timeout 2
[   +4 ms] /usr/bin/xcrun simctl list --json devices
[        ] executing: /usr/bin/xcrun simctl list --json devices
[  +46 ms] List of devices attached
           6845ff50               device usb:336789504X product:RMX1921 model:RMX1921 device:RMX1921 transport_id:8
[ +149 ms] {
                      "devices" : {
                        "com.apple.CoreSimulator.SimRuntime.watchOS-6-0" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 4 - 40mm",
                            "udid" : "F90F0571-4DF1-4184-AEF9-6DEBCFF772F7",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 4 - 44mm",
                            "udid" : "66E3FAD3-5001-4C3F-89A8-99E453E28DAF",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 5 - 40mm",
                            "udid" : "A735715A-3572-4B4C-8E18-BD3F1CE6EF9B",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 5 - 44mm",
                            "udid" : "9940AAFD-6703-45A3-A35D-8C458AB362BF",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-1" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8",
                            "udid" : "BC53221B-EDB9-465A-99C8-D698DE9BB325",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8 Plus",
                            "udid" : "12DBF456-F04F-4FEF-AD6D-0FAF87246AAE",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 11",
                            "udid" : "E40C8777-0423-4E10-9DE5-6BC66D9975C4",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 11 Pro",
                            "udid" : "547C3F12-0A01-4E15-9B9B-7ACF173A3CEE",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 11 Pro Max",
                            "udid" : "B6E385B1-D67F-4772-87DF-8EAE4D003B13",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (9.7-inch)",
                            "udid" : "54FD74D9-6CCB-4ABC-8DC7-116B241A19BD",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (11-inch)",
                            "udid" : "61B28E5E-0A1F-412A-A4FD-176621F466FA",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (12.9-inch) (3rd generation)",
                            "udid" : "E8304019-7B20-46FA-91D6-CBA3099F2A0E",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Air (3rd generation)",
                            "udid" : "57C6770F-F3DF-4BCD-AE60-182A59432DAB",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.tvOS-12-2" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV",
                            "udid" : "F42A2D83-0FC0-40A9-998B-E186E2E5C6E7",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV 4K",
                            "udid" : "574467CA-E8E2-48F2-958A-AFB3A1F1D3A6",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV 4K (at 1080p)",
                            "udid" : "53B8E7BF-E83D-40EA-8E87-A59B0DFFB591",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-12-2" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 5s",
                            "udid" : "410EFB5C-4973-48DE-B194-5FCCF758907E",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 6 Plus",
                            "udid" : "4C2A278F-0E85-4C9D-929F-3CC907CCEC55",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 6",
                            "udid" : "69141094-6BF7-4B8F-A821-C82BCA1C65DB",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 6s",
                            "udid" : "26D37A23-307F-4666-8C68-B84015A4CA4F",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 6s Plus",
                            "udid" : "19D89D57-0F26-40D3-A481-1A63E3CB2F2A",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone SE",
                            "udid" : "ACB102A3-CC67-4C32-B528-3F4314A24646",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 7",
                            "udid" : "655B6B0E-413C-4F8A-A564-D49C156825C4",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 7 Plus",
                            "udid" : "169F1B0C-908A-4332-BDB4-04BD4E7C0D46",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8",
                            "udid" : "C7903BAB-9B10-43A3-B0F6-45289896780E",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8 Plus",
                            "udid" : "970952A8-9E1D-40EA-B77D-0D8249D366EA",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone X",
                            "udid" : "B8B7B7A2-9B33-4CA9-B130-07864E9189A5",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone Xs",
                            "udid" : "ABED7DF4-B105-4DA5-9629-FC7380151A95",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone Xs Max",
                            "udid" : "95E28EC5-05A3-463A-88D0-2631831BF62B",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone Xʀ",
                            "udid" : "06104349-A33D-4B61-8DEB-6AF868DEB30E",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Air",
                            "udid" : "55E13C9C-255A-42C0-826C-D2D329E7D4ED",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Air 2",
                            "udid" : "D70CCAF5-F1B1-4150-9539-A3A4AB754E32",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (9.7-inch)",
                            "udid" : "0ACCE2E9-1856-4548-9711-00278050972F",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (12.9-inch)",
                            "udid" : "3F06BEB5-BCC8-49DF-95E3-350B329B59AF",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad (5th generation)",
                            "udid" : "800FE181-1B77-44C9-9674-92981DEAFB9D",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (12.9-inch) (2nd generation)",
                            "udid" : "A6F5EDBD-F72C-4591-8D61-30BF28FC2D28",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (10.5-inch)",
                            "udid" : "A1222E7B-2028-47B5-B7E7-AD66F38CF7F8",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad (6th generation)",
                            "udid" : "74658496-A597-4ED3-88AA-7A3F1AE93391",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (11-inch)",
                            "udid" : "CB5CBCF9-9747-4DF7-9375-615E2DBE00DA",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (12.9-inch) (3rd generation)",
                            "udid" : "161702D5-CC59-4260-8129-B26D19D437D9",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Air (3rd generation)",
                            "udid" : "53D8C0EF-A639-4D7A-90C7-DD0FCF59245F",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-3" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 8",
                            "udid" : "14C05261-0FE1-42E8-8D68-F611BCA191C4"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 8 Plus",
                            "udid" : "CE21DFBA-232E-4280-B69F-4CC5626D229A"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11",
                            "udid" : "76147657-1BAD-4EFF-B417-601F6A4536C8"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11 Pro",
                            "udid" : "2E9D8DE5-7BB7-4DBB-AA74-9C0ADB3538FF"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPhone 11 Pro Max",
                            "udid" : "6E798D87-D817-47DE-8EC3-57E9CBC517FD"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (9.7-inch)",
                            "udid" : "379D12F1-4EED-4B2C-A6F7-952B7D266E06"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad (7th generation)",
                            "udid" : "48AC2EFF-05FC-4BB3-8D7F-C1FC9AB213C2"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (11-inch)",
                            "udid" : "86BB12F3-BADF-4B13-8EEB-37718BE0F5BB"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Pro (12.9-inch) (3rd generation)",
                            "udid" : "60920099-F332-4339-B0EF-1129C0A12B7A"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "iPad Air (3rd generation)",
                            "udid" : "F972B028-64A7-48EA-8225-F519A559C5B8"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.watchOS-6-1" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 4 - 40mm",
                            "udid" : "0117A586-CC7C-4F2D-AF70-90AAE25F6C3F"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 4 - 44mm",
                            "udid" : "2938466F-5C01-467A-B5C1-4E78A4B0B57D"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 5 - 40mm",
                            "udid" : "8FD5E393-1816-4AFE-83AB-99CEECD0944D"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple Watch Series 5 - 44mm",
                            "udid" : "B767D454-7594-483B-B5E8-FE97D740DBED"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.iOS-13-0" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8",
                            "udid" : "205332F0-D17A-4D36-9161-90D955C9DACE",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 8 Plus",
                            "udid" : "0998C66C-FDEA-4F73-9661-B5C561BF6FE2",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPhone 11",
                            "udid" : "74F17699-9CAC-461B-8042-73B29560E1B5",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Creating",
                            "isAvailable" : false,
                            "name" : "iPhone 11 Pro",
                            "udid" : "567E6932-32C2-4AAD-B9D2-845642FDA889",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Creating",
                            "isAvailable" : false,
                            "name" : "iPhone 11 Pro Max",
                            "udid" : "9E58C5B2-A890-4248-AA91-21183E3BC098",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (9.7-inch)",
                            "udid" : "0283FFB6-4273-4850-B351-72695E4F7B0C",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (11-inch)",
                            "udid" : "27E99C35-0889-465F-8E32-A1240894FB6D",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Pro (12.9-inch) (3rd generation)",
                            "udid" : "38EB87DB-9E59-4311-8D98-D3F633744366",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "iPad Air (3rd generation)",
                            "udid" : "A47237CA-E7E0-4ECF-B6B7-52181648DC03",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.tvOS-13-0" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV",
                            "udid" : "85BFF557-90BE-4CFC-A533-E1EEBDF462E2",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV 4K",
                            "udid" : "60AC68E9-5E95-49A9-BC70-A4877BAB2612",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple TV 4K (at 1080p)",
                            "udid" : "F7253645-D3A5-434A-9360-296D081A4294",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.watchOS-5-2" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 2 - 38mm",
                            "udid" : "CBEC7921-C358-4EF1-B9FB-0EE5DDEA7517",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 2 - 42mm",
                            "udid" : "ED38AB1C-5BAE-452A-BEB6-0AC105861AA1",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 3 - 38mm",
                            "udid" : "41A4842E-0CAE-4902-8237-C93E0BBA2BD5",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 3 - 42mm",
                            "udid" : "D5AE12BB-16C2-4AC9-979A-51909F587102",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 4 - 40mm",
                            "udid" : "6A6CF79B-ABD6-470A-B342-10B3BF8D9F6C",
                            "availabilityError" : "runtime profile not found"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : false,
                            "name" : "Apple Watch Series 4 - 44mm",
                            "udid" : "2ACEB04B-A554-450B-A7D7-C0C921E1CDAA",
                            "availabilityError" : "runtime profile not found"
                          }
                        ],
                        "com.apple.CoreSimulator.SimRuntime.tvOS-13-3" : [
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV",
                            "udid" : "1360C2DF-4852-48E1-B93E-D00FB237EB5A"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV 4K",
                            "udid" : "3E2D8323-F831-4BFF-BC96-EA9769BD141E"
                          },
                          {
                            "state" : "Shutdown",
                            "isAvailable" : true,
                            "name" : "Apple TV 4K (at 1080p)",
                            "udid" : "6B42B023-2E1C-4A53-AE5E-C9972997CBC8"
                          }
                        ]
                      }
                    }
[+3436 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad7,12",
                        "identifier" : "48AC2EFF-05FC-4BB3-8D7F-C1FC9AB213C2",
                        "architecture" : "x86_64",
                        "modelName" : "iPad (7th generation)",
                        "name" : "iPad (7th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "3E2D8323-F831-4BFF-BC96-EA9769BD141E",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV 4K",
                        "name" : "Apple TV 4K"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad6,4",
                        "identifier" : "379D12F1-4EED-4B2C-A6F7-952B7D266E06",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (9.7-inch)",
                        "name" : "iPad Pro (9.7-inch)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,3",
                        "identifier" : "8FD5E393-1816-4AFE-83AB-99CEECD0944D",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 5 - 40mm",
                        "name" : "Apple Watch Series 5 - 40mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV5,3",
                        "identifier" : "1360C2DF-4852-48E1-B93E-D00FB237EB5A",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV",
                        "name" : "Apple TV"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad11,3",
                        "identifier" : "F972B028-64A7-48EA-8225-F519A559C5B8",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Air (3rd generation)",
                        "name" : "iPad Air (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch5,4",
                        "identifier" : "B767D454-7594-483B-B5E8-FE97D740DBED",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 5 - 44mm",
                        "name" : "Apple Watch Series 5 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,5",
                        "identifier" : "6E798D87-D817-47DE-8EC3-57E9CBC517FD",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11 Pro Max",
                        "name" : "iPhone 11 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,3",
                        "identifier" : "2E9D8DE5-7BB7-4DBB-AA74-9C0ADB3538FF",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11 Pro",
                        "name" : "iPhone 11 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17K446)",
                        "available" : true,
                        "platform" : "com.apple.platform.appletvsimulator",
                        "modelCode" : "AppleTV6,2",
                        "identifier" : "6B42B023-2E1C-4A53-AE5E-C9972997CBC8",
                        "architecture" : "x86_64",
                        "modelName" : "Apple TV 4K (at 1080p)",
                        "name" : "Apple TV 4K (at 1080p)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone12,1",
                        "identifier" : "76147657-1BAD-4EFF-B417-601F6A4536C8",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 11",
                        "name" : "iPhone 11"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,4",
                        "identifier" : "14C05261-0FE1-42E8-8D68-F611BCA191C4",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 8",
                        "name" : "iPhone 8"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,4",
                        "identifier" : "2938466F-5C01-467A-B5C1-4E78A4B0B57D",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 4 - 44mm",
                        "name" : "Apple Watch Series 4 - 44mm"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,5",
                        "identifier" : "60920099-F332-4339-B0EF-1129C0A12B7A",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (12.9-inch) (3rd generation)",
                        "name" : "iPad Pro (12.9-inch) (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad8,1",
                        "identifier" : "86BB12F3-BADF-4B13-8EEB-37718BE0F5BB",
                        "architecture" : "x86_64",
                        "modelName" : "iPad Pro (11-inch)",
                        "name" : "iPad Pro (11-inch)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "13.3 (17C45)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone10,5",
                        "identifier" : "CE21DFBA-232E-4280-B69F-4CC5626D229A",
                        "architecture" : "x86_64",
                        "modelName" : "iPhone 8 Plus",
                        "name" : "iPhone 8 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "6.1.1 (17S445)",
                        "available" : true,
                        "platform" : "com.apple.platform.watchsimulator",
                        "modelCode" : "Watch4,3",
                        "identifier" : "0117A586-CC7C-4F2D-AF70-90AAE25F6C3F",
                        "architecture" : "i386",
                        "modelName" : "Apple Watch Series 4 - 40mm",
                        "name" : "Apple Watch Series 4 - 40mm"
                      }
                    ]
[   +8 ms] /Users/ajil/Library/Android/sdk/platform-tools/adb -s 6845ff50 shell getprop
[  +91 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +5 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +226 ms] Generating /Users/ajil/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +30 ms] ro.hardware = qcom
[  +69 ms] Starting incremental build...
[   +2 ms] Initializing file store
[  +13 ms] Skipping target: gen_localizations
[  +10 ms] complete
[   +4 ms] Launching lib/main.dart on RMX1921 in debug mode...
[  +10 ms] /Users/ajil/Desktop/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/ajil/Desktop/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/ajil/Desktop/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill /var/folders/w1/d8fyf6cx421c5gf6xbn6zg4c0000gp/T/flutter_tools.AcX2Dm/flutter_tool.flRDdN/app.dill
--packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +29 ms] executing: /Users/ajil/Library/Android/sdk/platform-tools/adb -s 6845ff50 shell -x logcat -v time -t 1
[ +192 ms] Exit code 0 from: /Users/ajil/Library/Android/sdk/platform-tools/adb -s 6845ff50 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-10 19:18:28.012 D/SensorService( 1961): VERSION is NULL
[   +2 ms] executing: /Users/ajil/Library/Android/sdk/platform-tools/adb -s 6845ff50 shell -x logcat -v time -t 1
[ +183 ms] Exit code 0 from: /Users/ajil/Library/Android/sdk/platform-tools/adb -s 6845ff50 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-10 19:18:28.012 D/SensorService( 1961): VERSION is NULL
[  +25 ms] <- compile package:bug/main.dart
[  +18 ms] executing: /Users/ajil/Library/Android/sdk/platform-tools/adb version
[  +34 ms] Android Debug Bridge version 1.0.41
           Version 30.0.3-6597393
           Installed as /Users/ajil/Library/Android/sdk/platform-tools/adb
[   +8 ms] executing: /Users/ajil/Library/Android/sdk/platform-tools/adb start-server
[   +9 ms] Building APK
[  +36 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets `android.enableR8`
[  +12 ms] Using gradle from /Users/ajil/bug/android/gradlew.
[        ] /Users/ajil/bug/android/gradlew mode: 33261 rwxr-xr-x.
[  +11 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +38 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.j
ar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar
","JVMVersion":"1.8*,1.8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"Android
Studio4.0","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"A
n application in Android Studio requests access to the user's Desktop
folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-193.69<IP_ADDRESS>26763","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"
An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All
documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSw
itching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.0","NSMicrophoneUs
ageDescription":"An application in Android Studio requests access to the device's
microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests
access to the user's location
information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]
}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSy
stemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents
folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads
folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android
Studio 4.0, build AI-193.69<IP_ADDRESS>26763. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android
Studio requests access to files on a removable volume."}
[  +12 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +154 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +3 ms] executing: [/Users/ajil/bug/android/] /Users/ajil/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-arm64
-Ptarget=/Users/ajil/bug/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[ +828 ms] FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[        ] Settings file '/Users/ajil/bug/android/settings.gradle' line: 11
[        ] * What went wrong:
[        ] A problem occurred evaluating settings 'android'.
[        ] > Could not read script '/Users/ajil/Desktop/flutter/packages/flutter_tools/gradle/app_plugin_loader.gradle' as it does not exist.
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full
insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 669ms
[ +352 ms] Running Gradle task 'assembleDebug'... (completed in 1.4s)
[+4304 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +2 ms] "flutter run" took 11,405ms.
[   +7 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:591:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:860:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #19     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #20     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
           #21     _rootRunUnary (dart:async/zone.dart:1198:47)
           #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #23     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #24     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #25     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #27     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #28     _rootRun (dart:async/zone.dart:1190:13)
           #29     _CustomZone.run (dart:async/zone.dart:1093:19)
           #30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #31     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #34     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #35     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[ +152 ms] ensureAnalyticsSent: 148ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +5 ms] Shutdown hooks complete
[        ] exiting with code 1

Not sure if it helps, but if I run
cat /Users/ajil/Desktop/flutter/packages/flutter_tools/gradle/app_plugin_loader.gradle

I get this
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file is included from `<app>/android/settings.gradle`,
// so it can be versioned with the Flutter SDK.

import groovy.json.JsonSlurper

def flutterProjectRoot = rootProject.projectDir.parentFile

// Note: if this logic is changed, also change the logic in module_plugin_loader.gradle.
def pluginsFile = new File(flutterProjectRoot, '.flutter-plugins-dependencies')
if (!pluginsFile.exists()) {
  return
}

def object = new JsonSlurper().parseText(pluginsFile.text)
assert object instanceof Map
assert object.plugins instanceof Map
assert object.plugins.android instanceof List
// Includes the Flutter plugins that support the Android platform.
object.plugins.android.each { androidPlugin ->
  assert androidPlugin.name instanceof String
  assert androidPlugin.path instanceof String
  def pluginDirectory = new File(androidPlugin.path, 'android')
  assert pluginDirectory.exists()
  include ":${androidPlugin.name}"
  project(":${androidPlugin.name}").projectDir = pluginDirectory
}

Analyzer Logs
Analyzing bug...
No issues found! (ran in 2.2s)

Flutter Doctor
[✓] Flutter (Channel beta, 1.20.0, on Mac OS X 10.15.4 19E287, locale en-US)
    • Flutter version 1.20.0 at /Users/ajil/Desktop/flutter
    • Framework revision 916c3ac648 (9 days ago), 2020-08-01 09:01:12 -0700
    • Engine revision d6ee1499c2
    • Dart version 2.9.0 (build 2.9.0-21.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/ajil/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.13.2

[✓] Connected device (3 available)
    • RMX1921 (mobile) • 6845ff50   • android-arm64  • Android 10 (API 29)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

I have already tried the following and nothing worked.

Uninstalling and reinstalling Flutter
Switching to master
Switching to stable
Deleting /bin/cache and then running flutter run

Everything was working till yesterday. I didn't update flutter today. This came out of the blue. Any pointers to get it fixed would be appreciated.

Hi @ajilo297,
There's similar open issue describing your case, 55619.
Please follow-up there for updates.
Closing this as duplicate. If you disagree, write in comments and I'll reopen.
Thanks.


A Spark pool cannot have 1 nodes; it must have between 3 and 200 nodes.

While running the installation script, there is another error about Spark autoscaling configuration
{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "DeploymentFailed",\r\n        "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",\r\n        "details": [\r\n          {\r\n            "code": "Conflict",\r\n            "message": "{\r\n  \"status\": \"Failed\",\r\n  \"error\": {\r\n    \"code\": \"ResourceDeploymentFailure\",\r\n    \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"DeploymentFailed\",\r\n        \"message\": \"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.\",\r\n        \"details\": [\r\n          {\r\n            \"code\": \"BadRequest\",\r\n            \"message\": \"{\\r\\n  \\\"error\\\": {\\r\\n    \\\"code\\\": \\\"ValidationFailed\\\",\\r\\n    \\\"message\\\": \\\"Spark pool request validation failed.\\\",\\r\\n    \\\"details\\\": [\\r\\n      {\\r\\n        \\\"code\\\": \\\"NodeCountNotValid\\\",\\r\\n        \\\"message\\\": \\\"The autoscale minimum node count is not valid. A Spark pool cannot have 1 nodes; it must have between 3 and 200 nodes.\\\"\\r\\n      }\\r\\n    ]\\r\\n  }\\r\\n}\"\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}"\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}"}]}}

Setting up synapseAutoScaleMinNodeCount int = 3 in synapse.sparkpool.bicep and pipeline.bicep fixes the issue

I guess that Azure Synapse team changed the min scaling number recently. When we worked on this project, we didn't notice this restriction. It would be nice if we see contributions from outside.

I guess that Azure Synapse team changed the min scaling number recently. When we worked on this project, we didn't notice this restriction. It would be nice if we see contributions from outside.

I have a proposal about how this could be fixed, as pointed out above, but I am not convinced in triggering a pull request.


Postgres JSON operators not supported when formatting

Describe the bug
Certain special Postgres JSON operators (such as @>) aren't handled by the sqltools formatter and cause the query to become invalid, for example:
SELECT json_col
FROM (
        SELECT '[{"a":"foo"},{"b":"bar"},{"c":"baz"}]' :: jsonb json_col
    ) AS tbl
WHERE json_col @> '[{"c":"baz"}]';

is transformed to the below when formatted (space added between @ & >):
SELECT json_col
FROM (
        SELECT '[{"a":"foo"},{"b":"bar"},{"c":"baz"}]' :: jsonb json_col
    ) AS tbl
WHERE json_col @ > '[{"c":"baz"}]';

To Reproduce
Steps to reproduce the behavior:

Open a new sql file and paste the following query:SELECT json_col
FROM (
        SELECT '[{"a":"foo"},{"b":"bar"},{"c":"baz"}]' :: jsonb json_col
    ) AS tbl
WHERE json_col @> '[{"c":"baz"}]';

Format the document (or simply save if format on save is configured)
Attempting to execute the query will now result in an error:
operator does not exist: jsonb @

Expected behavior
The document should be formatted as usual but any special JSON operators (https://www.postgresql.org/docs/current/functions-json.html) should remain valid, and not be split with a space.
Desktop:

SQLTools Version: 0.22.4
VSCode Version: 1.45.1
Driver Used/Version: SQLTools PostgreSQL/Redshift Driver / 0.0.4
OS: Mac

That was incredibly fast, thanks so much @mtxr 🙇♂

I'll release this later today, ok?

Absolutely, I was never expecting you to get to this so quickly. Thanks so much, and thanks for a super valuable extension 👍 .


Allowing customization of the Catalog Page

Feature Suggestion
Right now the Catalog Page hardcodes the types of Components visible to Services, Websites, Libraries, Documentation and Other. This mean custom component types defined appear in Other.
Possible Implementation
A simplistic way is to pull that via a Config Array but that seems like Config Bloat.
Maybe a similar implementation to EntityPage which sits in the application itself and not the plugin and thus allows customization?
Open to other suggestions.
Happy to work on this given a proposed implementation.

@althafh - I started #2791 which is exactly meant address this. I e since gotten side tracked with some other things so I'd be perfectly happy if you wanted take this over and/or use the code I started on.

Oh perfect! Let me take a look at it next week!

Thanks! Assigned to you @althafh!

Being worked on in #2791

Work moved to #5643. Assigning to you @timbonicus.

Closed via #5643. This should no longer need customization, since that PR switches the tabs to a select list that loads all types registered in the catalog.


French language file submit

I've made the french translation of the language file. This is my native language and I checked with an integrated kitchen vendor to make sure I was using the right terms and not what little idiom remain, so it should be accurate.
fr_fr.zip

It's better to make a pull request (and easier for the developer).

Oh, I see, thank you. This is my first actual contribution aside from raising issues, so now I've looked up the documentation to do this properly.
It'is now in pull request 411.

Thanks.


WIP Picking up latest Docsy theme updates

This change is

Issue https://github.com/kubeflow/website/issues/477 is partially fixed, but we still need to override the custom sidebar partial to ensure there's enough space at the top of the sidebar.
Despite some Docsy fixes to colour contrasts, the code formatting embedded in tables is still hard to read: https://github.com/kubeflow/website/issues/730
I'm going to skip doing this update for now, as it does not offer us enough improvements to be worth the testing. It's worth referring back to this PR when we do decide to move to a later version of Docsy.


Remove all enclaves with a single command.

Background & motivation
It would be great to be able to remove all running enclaves instead of doing it one by one.
Desired behaviour
Have a flag or option to take more than one arg for
For example:
kurtosis enclave rm -f <enclaveName1> <enclaveName2> ... <enclaveName100> (with tab complete support)
or
kurtosis enclave rm -f --all-enclaves
How important is this to you?
Nice to have; this feature would make using Kurtosis more enjoyable.

Hey @barnabasbusa!
What about using kurtosis clean -a? This removes all enclaves, running or stopped. It basically leaves only the kurtosis engine running.
Would that help or are you looking for something more specific?
It's true that we don't have a way to remove multiple named enclave in one command. We could easily make kurtosis enclave rm greedy though, enabling something like kurtosis enclave rm enclave-1 enclave-2 enclave-3

Ah didn't know kurtosis clean takes an arg.  In this case it makes sense.
Would still be a good idea to enable the deletion of multiple enclaves in one command imho.

Yup that feature makes sense to me, and AFAICT that's a quick fix so I'll submit a PR. Thanks for flagging :)
I'll keep this issue open until the PR is merged

Super nitpick but would it be possible to remove the already selected enclaves from the tab complete?
E.g:
I have 3 enclaves:
rustling-peak  winter-ocean  winter-peak
I do kurtosis rm -rf -f <tab>
It lists all 3, then I select one with enter, then
`kurtosis rm -rf -f rustling-peak
it should return only 2 of the remaining items, instead of all 3.


[hud-fixes] Add option to toggle floating health replacement

Is your feature request related to a problem? Please describe.
Add an option to disable the ally health replacement feature to Hud Editor, or maybe add some config options for the optional content to help players with telling what each optional feature is and what files correspond to them by perhaps making them into a True/False variable in a config file
Additional context

The floating health customization has been removed in the previous hud-fixes update so this is no longer required.


Appstudio update test-component-pac-fydf

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-fydf-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
25 seconds
clone-repository

✅ Succeeded
47 seconds
build-container

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
inspect-image

✅ Succeeded
1 minute
clair-scan

✅ Succeeded
36 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
10 seconds
optional-label-check

✅ Succeeded
10 seconds
label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-fydf-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
25 seconds
clone-repository

✅ Succeeded
47 seconds
build-container

✅ Succeeded
13 seconds
inspect-image

✅ Succeeded
17 seconds
deprecated-base-image-check

✅ Succeeded
1 minute
clair-scan

✅ Succeeded
36 seconds
clamav-scan

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
10 seconds
label-check

✅ Succeeded
10 seconds
optional-label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-fydf-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
26 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
35 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
19 seconds
optional-label-check

✅ Succeeded
19 seconds
label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-fydf-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
17 seconds
clone-repository

✅ Succeeded
26 seconds
build-container

✅ Succeeded
11 seconds
inspect-image

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
35 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
19 seconds
label-check

✅ Succeeded
19 seconds
optional-label-check

✅ Succeeded
7 seconds
show-summary


rules.abaplint.org ideas and todo

use jekyll?
show and edit full default configuration
editor for good and bad examples

Scale the svg icons correctly in firefox? ;)

heh, I'll take a look

no problems in v.75,

Seems like I am on the ESR release channel. I only noticed because I recently got firefox pushed as the default browser by group policy, causing the vscode links open using it.

Feel free to ignore then I guess

also feel free to submit fix, I wont look more into it

closing this, opening specifc issues instead


Enable Argo workflow to use shared volume between containers

Currently, containers (cells) do not have a shared file system for exchanging temporary files.
We want to enable artifacts or any shared file system between containers.
The storage should be fast enough for frequency file exchange.
The size of the files should be around ~300MB
https://argoproj.github.io/argo-workflows/walk-through/artifacts/

We need to configure Argo and perhaps to make changes to the workflow template

Solved by https://github.com/QCDIS/NaaVRE/pull/865


As a project coordinator, I want to see each report's status in its header, so that I can see its status at a glance

Description:
Each milestone/quarterly/annual report item should show the status in the header. These statuses are already returned by a computed column on form_change and can be retrieved by adding reportingRequirementStatus to the fragment. Any Completed item should also show the date it was received.
Figma Wireframe: https://www.figma.com/file/PzOY8RyQnVXnjZJdSv2AqQ/Wireframing_Figma?node-id=989%3A2796
Acceptance Criteria:
Given I am viewing a reporting requirement item in its respective page (milestone/quarterly/annual)
When it has a due date that has passed and there is no received date
Then I see a status of Late
Given I am viewing a reporting requirement item in its respective page (milestone/quarterly/annual)
When it has a due date that has not yet passed and there is no received date
Then I see a status of On track
Given I am viewing a reporting requirement item in its respective page (milestone/quarterly/annual)
When it has a due date and a received date
Then I see a status of Completed
Development Checklist:

[ ] Each report item on a page shows the status in the header
[ ] Completed items also show the date
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[x] User story is included
[x] User role and type are identified
[x] Acceptance criteria are included
[x] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[x] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Done in #725


Re-enable gradle plugin

Ensure same feature set to re-align the gradle plugin with the maven plugin.
framework:
:white_check_mark: ensure gradle 2.10+ and gradle 3 compatibility (is that sufficient?)
:white_check_mark: java
feature set:
:white_check_mark: use single input file instead of a source set as swagger source definition
❓ : apply same defaults as the maven plugin
:white_check_mark: ensure interoperability with compile phase
testing:
:white_check_mark: smoke test using gradle testKit
:white_check_mark: at least one unit test for critical path
releasing:
🚧 release 0.4.38 to the gradle plugin portal

Here is the current work-in-progress:
https://github.com/otrosien/swagger-codegen-gradle-plugin2

gradle and maven seem to write to different locations in the yamltojson use case. @jbellmann could you clarify what's the use case and the desired output directory?

@otrosien sure, I can :-)
We mostly define apis in yaml. The swagger-ui instead expects a json to be served for rendering. That's the reason for a yaml->json transformation. So if you want your application to expose an swagger-ui-endpoint that the way to go.
Have a look into this module to get an idea.

Is there any update to this? https://github.com/zalando-incubator/swagger-codegen-gradle-plugin does no longer exists

There has been a cleanup process in zalando-incubator, and this work-in-progress was part of the removal. Unfortunately I didn't succeed in pushing the official swagger-codegen project towards integrating a gradle project. There has been lots of discussion without outcome. ( https://github.com/swagger-api/swagger-codegen/issues/4758 )


[FLINK-6311] [Kinesis Connector] NPE in FlinkKinesisConsumer if sourc…

…e was closed before run.
Thanks for contributing to Apache Flink. Before you open your pull request, please take the following check list into consideration.
If your changes take all of the items into account, feel free to open your pull request. For more information and/or questions please refer to the How To Contribute guide.
In addition to going through the list, please provide a meaningful description of your changes.

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

Looks good. To make this really safe, we should actually make the mainThread variable volatile.

@StephanEwen  Shouldn't we also make shardConsumersExecutor variable volatile as well ?

The shardConsumersExecutor variable is final. No need to make it volatile.

LGTM after Stephan's comment on making mainThread variable volatile is addressed.
Could you do that @zhangminglei?
Once updated I'll proceed to merge this, thanks :)

@StephanEwen @tzulitai Thanks for telling me so useful information. I will fix it soon enough. Very appreciate it.

@tzulitai Hi, I have updated the code. Please check it out. Thanks and appreciate it.

Thanks @zhangminglei. LGTM!
Merging to {{master}} and {{release-1.2}} (will merge a bit later today ;) ) ..

@tzulitai  You are very welcome . It is my pleasure ~


Turn dfe-object into DataFactoryElement<object> instead of DataFactoryElement<BinaryData>

Description
To be honest I'm not sure what BinaryData is supposed to represent, but ADF SetVariable accepts any JSON value either 123 or "some String", so it seems better to use DataFactoryElement<object>, because DataFactoryElement<BinaryData> throws exception when it sees raw 123... This depends on https://github.com/Azure/azure-sdk-for-net/pull/39436 being merged first...
Checklist
To ensure a quick review and merge, please ensure:

[x] The PR has a understandable title and description explaining the why and what.
[x] The PR is opened in draft if not ready for review yet.

Well I want someone with better understanding of things to look into this and say I talk nonsense or that, yes this should be merged...

[x] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

It is not quite a good idea that we use object in the generated libraries. If the object type gives the users of our libraries an illusion that the SDK could handle any type - even if it is a type created by them, but actually it is not, the generated libraries could only handle a very limited set of types. When this kind of requirement occurs, we use BinaryData because it is a "data holder" which handles everything.
We might need to change to another perspective if we are meeting problems when using the BinaryData type

I'm fine with leaving BinaryData, but in that case it needs to be able to parse 123 or "someString" as input, and not always expect json object, maybe I'm missunderstanding something here...
Notice that dfe-object is very specific, in sense that it is not expected of ADF or SDK to understand this value, since this is parameter set by user/developer to be passed hence they can set any object and ADF passes it as is without any processing...

integers, strings, they are all valid json elements, therefore you could use BinaryData.FromObjectAsJson to convert them to BinaryData instance (which might not be intuitive). Please note if you want literal string, you need to include the quote inside your strings, such as
var data = BinaryData.FromObjectAsJson("\"something\"");

I suppose, invocations like this:
var data = new BinaryData(123);

might also work for integers (but you need to verify, I am not quite sure).
There are some ToByteArray or something like this APIs for strings in the Encoding class which could let you convert a string to bytes, and that is also OK to pass into the ctor of BinaryData.
The point is that BinaryData has the ability to represent everything, and it is really not a good idea for an SDK to export object for input, because the library itself cannot really guarantee it could handle all the types properly.

I believe proper fix is here: https://github.com/Azure/azure-sdk-for-net/pull/39467


Web Serial and WebUSB non-functional on Windows XP

Description
When the browser is running on Windows XP, it is not able to establish link to USB devices and devices communicating over COM port when requested by web applications utilizing Web Serial or WebUSB APIs.
To Reproduce - Web Serial
Steps to reproduce the behavior:

Have any device connected to the computer and ready that communicates over COM port, be it real or virtual (eg. Serial over USB).
Verify proper functioning using any terminal program, eg. PuTTY.
Close terminal program, go to https://www.serialterminal.com/ or https://sparkfunx.github.io/WebTerminalDemo/.
Click on Connect or Open.
A prompt with an empty list will appear, which can only be cancelled.

Expected behavior
Serial ports (COM) as seen in Windows' Device Manager under Ports (COM & LPT) should be listed in the prompt, after selecting the port and confirming it, communication with connected device should be possible.
To Reproduce - WebUSB
Steps to reproduce the behavior:

For the simplest test, having any USB device connected to the computer will do.
Open Windows' Device Manager, open properties of any USB devices, go to Details tab, select Hardware Ids, note down Vendor ID and Product ID (VID_ABCD and PID_ABCD).
Go to https://larsgk.github.io/webusb-tester/, enter Vendor and Product IDs noted earlier in the appropriate fields and click on PAIR NEW DEVICE.
A prompt with an empty list will appear, which can only be cancelled.

Expected behavior
Device whose ID was picked should be listed in the prompt, after selecting it, the tester should list basic information about the device.
Screenshot showing empty list of COM ports, despite them being available

Desktop:

OS: Windows XP x64 SP2
Supermium 122.0.6261.152 (R6) - 32-bit

as slight simplification for WebUSB - you may leave fields blank and popup should list all connected devices
also can reproduce WebUSB issue on VM with Windows XP SP3 x32 and x64(this one is full vanilla) with 122.0.6261.152 R6 x32 and x64

Right, guess I just assumed it doesn't work with empty fields. Another option for USB is to just check the device list on chrome://usb-internals page.


Switching to ESLint for linting

When asking about the best JavaScript linting tools?  ESLint is ranked 1st while JSHint is ranked 2nd.
ESLint allows customizing rules for errors, best practices, variable declarations, ES6, style and JS running on Node. Additionally, custom rules can be applied whereas JSHint is lacking the extension mechanism,  it’s  difficult to know which rule is causing an error and  not support of  customizing rules

gulpfile.js needs updating as well

On a side note, I don't agree with the quotes: ['error', 'single']. I [try to] use quotes the way I do in Python. See https://softwareengineering.stackexchange.com/a/155188
I know this is not Python and that single/double quotes make no difference in either language, it's just a matter of personal taste.

Oh my, not again a thread about single vs double quote... Even in Python usually used single quotes.
I can't recommend enough Standard instead of pure ESLint. Save yourself from codestyle holywars, write code with quotes you like and then just use standard --fix. Problem solved, world saved.


Consider putting "Soma Recording Studios" on separate lines when screen width is scarce

Something like this, but with the "menu" button also vertically centered:

This would need to occur at screen sizes under 367px wide, at a minimum. Need to look for the closest breakpoint in the CSS.


Background notifications not triggering on('notification') iOS

Expected Behaviour
Ionic application with the plugin installed. Using AWS SNS to call APNS. Expected behavior is that when sending "content-available: 1", the onNotification callback is fired and I can do some background work, int this case, extrac an ID from the payload and add to list (in a service) for a view.
Actual Behaviour
When running the app in the foreground the event is triggered and the list is populated. But, when in background mode the event never fires.... Except, when running through xcode!!!
If i have the app connected to xcode and start the app through xcode, everything works. But when unplugging and run again it does not work. Push messages are received (confirmed through badge and sound) but the actual onNotification event never runs.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
IOS 9.3.1
Push 1.6.2
Cordova CLI version and cordova platform version
cordova --version                                    # e.g. 6.0.0
cordova platform version ios                    # e.g. 4.1.0

Plugin version
cordova plugin version | grep phonegap-plugin-push   # e.g. 1.6.2

Sample Push Data Payload
{
"APNS_SANDBOX":"{"aps":{"badge":12, "sound":"default", "content-available":1, "alert":"alert text"}}"
}
Logs taken while reproducing problem
No error logs....
All help would be highly appreciated.
Thanks.

@andreasj80 after you disconnect from Xcode make sure your app is still running in the background. If your app is killed then the notification won't be fired on the JS side as there is no webview to run it.

@macdonst
Thank you for a fast reply.
I have tried different shutdown/reboot scenarios without any luck. When stoppkng xcode I make sure to start the app againand first receive a notification in the foregrouns before pressing home and send a new notification.... which arrives but does not fire the event.
If I use "alert" data, and press the toast, the event fires, but only then. At the moment all I try to do is to add a dummy object to a list in the background, which works through Xcode.

@andreasj80 sorry, I can't reproduce this at all.

I am getting the exact same issue. I have been using phonegap-plugin-push since last October and it had been working great for us until the past few days.
When my app is in foreground, things work just as expected. When the app is put in background, my iOS device receives push notification just fine but, as the OP mentioned, the onNotification event handler never gets called. I have tried to dig deeper into the problem by debugging in xcode, but the issue is nowhere to be seen while connecting to xcode.
To make matters even more complicated, with the same app code base, same Cordova version, same cordova-ios version, same set of cordova plugin and same iOS version, this issue does not happen on my other iOS device.  Besides having different sets of apps installed, the only difference between the two iOS devices is the one with the issue is an iPhone 6 while the other one is 6s.
Info about the running environment:

iOS 10.3.1
cordova 6.5.0
cordova ios platform 4.3.1
<EMAIL_ADDRESS>cordova plugins:

cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-ios-disableshaketoedit 1.0.0 "iOS Disable Shake to Edit"
cordova-plugin-media 3.0.1 "Media"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-vibration 2.1.5 "Vibration"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-plugin-x-socialsharing 5.1.8 "SocialSharing"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 1.10.3 "PushPlugin"

Like I said, I have only started to notice this problem on one of my two iOS phones in the last couple days. Other than installing a few other apps, I don't recall doing anything to the phone, such as updating iOS, during this period. My head is banging against the wall now, as I am run out of ideas of how to continue with the troubleshooting.
@macdonst - Can you think of anything else that I could try? Or any idea what might be causing the issue? Thanks.
@andreasj80 - It's been over a year since you reported the issue. Did you resolve it or find a way to get around it eventually? Or do you have more insight to the issue? Thanks.

Below is the log I got from running in Xcode. The log is probably not that helpful here, as the issue does not happen when running in Xcode. I am including it anyway in case there's useful info in there that I am not aware of.

2017-05-26 13:53:03.222861-0700 xxxxxx[281:13795] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/E77ABD35-B9E6-47AF-B4D9-D020303EE5BF/Library/Cookies/Cookies.binarycookies
2017-05-26 13:53:03.466675-0700 xxxxxx[281:13795] Apache Cordova native platform version 4.3.1 is starting.
2017-05-26 13:53:03.467610-0700 xxxxxx[281:13795] Multi-tasking -> Device: YES, App: YES
2017-05-26 13:53:03.585094-0700 xxxxxx[281:13795] Using UIWebView
2017-05-26 13:53:03.587610-0700 xxxxxx[281:13795] [CDVTimer][handleopenurl] 0.147998ms
2017-05-26 13:53:03.589604-0700 xxxxxx[281:13795] [CDVTimer][intentandnavigationfilter] 1.895010ms
2017-05-26 13:53:03.589810-0700 xxxxxx[281:13795] [CDVTimer][gesturehandler] 0.123024ms
2017-05-26 13:53:03.609446-0700 xxxxxx[281:13795] [CDVTimer][splashscreen] 19.514024ms
2017-05-26 13:53:03.611336-0700 xxxxxx[281:13795] [CDVTimer][keyboard] 1.699984ms
2017-05-26 13:53:03.614560-0700 xxxxxx[281:13795] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2017-05-26 13:53:03.616673-0700 xxxxxx[281:13795] [MC] Filtering mail sheet accounts for bundle ID: com.xxx.mobileapp, source account management: 1
2017-05-26 13:53:03.620502-0700 xxxxxx[281:13795] [MC] Result: YES
2017-05-26 13:53:03.620673-0700 xxxxxx[281:13795] [MC] Filtering mail sheet accounts for bundle ID: com.xxx.mobileapp, source account management: 1
2017-05-26 13:53:03.621679-0700 xxxxxx[281:13795] [MC] Result: YES
2017-05-26 13:53:03.654392-0700 xxxxxx[281:13795] [CDVTimer][socialsharing] 42.941988ms
2017-05-26 13:53:03.677416-0700 xxxxxx[281:13795] [CDVTimer][file] 22.359014ms
2017-05-26 13:53:03.677665-0700 xxxxxx[281:13795] DisableShakeToEdit plugin initialized.
2017-05-26 13:53:03.677714-0700 xxxxxx[281:13795] [CDVTimer][disableshaketoedit] 0.194013ms
2017-05-26 13:53:03.677941-0700 xxxxxx[281:13795] [CDVTimer][TotalPluginStartup] 90.511978ms
2017-05-26 13:53:03.815861-0700 xxxxxx[281:13795] createNotificationChecker
2017-05-26 13:53:03.815944-0700 xxxxxx[281:13795] not coldstart
2017-05-26 13:53:03.817690-0700 xxxxxx[281:13795] active
2017-05-26 13:53:03.818055-0700 xxxxxx[281:13795] PushPlugin skip clear badge
2017-05-26 13:53:03.919879-0700 xxxxxx[281:13943] libMobileGestalt MobileGestaltSupport.m:153: pid 281 (xxxxxx) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
2017-05-26 13:53:03.919978-0700 xxxxxx[281:13943] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see rdar://problem/11744455)
2017-05-26 13:53:04.631104-0700 xxxxxx[281:13795] [MC] Reading from public effective user settings.
2017-05-26 13:53:04.921844-0700 xxxxxx[281:13795] Resetting plugins due to page load.
2017-05-26 13:53:06.795178-0700 xxxxxx[281:13795] Finished load of: file:///var/containers/Bundle/Application/7434DD0D-575E-4956-860C-EB3B3EFBE040/xxxxxx.app/www/index.html#/intro
2017-05-26 13:53:06.803603-0700 xxxxxx[281:13795] Found resource '/var/containers/Bundle/Application/7434DD0D-575E-4956-860C-EB3B3EFBE040/xxxxxx.app/www//sound/in-app-notification_waterdrop.m4a' in the web folder.
2017-05-26 13:53:55.869553-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:53:55.871619-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:53:55.872612-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:53:55.873280-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:53:55.873420-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:53:55.873567-0700 xxxxxx[281:13795] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
2017-05-26 13:54:10.164595-0700 xxxxxx[281:14308] Push Plugin register called
2017-05-26 13:54:10.165906-0700 xxxxxx[281:14308] PushPlugin.register: setting badge to false
2017-05-26 13:54:10.166149-0700 xxxxxx[281:14308] PushPlugin.register: clear badge is set to 0
2017-05-26 13:54:10.166225-0700 xxxxxx[281:14308] PushPlugin.register: better button setup
2017-05-26 13:54:10.180022-0700 xxxxxx[281:14308] GCM Sender ID (null)
2017-05-26 13:54:10.180186-0700 xxxxxx[281:14308] Using APNS Notification
2017-05-26 13:54:10.898551-0700 xxxxxx[281:13795] Push Plugin register success: <16ff6e54 ee4dc295 11b9181c 29f97bfb 9f264fb6 0696cc8b 4e53cf5d b884f5d8>
2017-05-26 13:54:13.761912-0700 xxxxxx[281:13795] active
2017-05-26 13:54:13.762130-0700 xxxxxx[281:13795] PushPlugin skip clear badge
2017-05-26 13:54:13.806686-0700 xxxxxx[281:13795] Push Plugin register success: <16ff6e54 ee4dc295 11b9181c 29f97bfb 9f264fb6 0696cc8b 4e53cf5d b884f5d8>
2017-05-26 13:54:38.427162-0700 xxxxxx[281:13795] didReceiveNotification with fetchCompletionHandler
2017-05-26 13:54:38.427296-0700 xxxxxx[281:13795] app active
2017-05-26 13:54:38.427408-0700 xxxxxx[281:13795] Notification received
2017-05-26 13:54:38.427605-0700 xxxxxx[281:13795] Push Plugin key: alert
2017-05-26 13:54:38.427754-0700 xxxxxx[281:13795] Push Plugin key: badge
2017-05-26 13:54:38.427840-0700 xxxxxx[281:13795] Push Plugin key: content-available
2017-05-26 13:54:38.642393-0700 xxxxxx[281:14308] Playing audio sample '/sound/in-app-notification_waterdrop.m4a'
2017-05-26 13:54:39.432010-0700 xxxxxx[281:13795] Finished playing audio sample '/sound/in-app-notification_waterdrop.m4a'
2017-05-26 13:54:50.007783-0700 xxxxxx[281:13795] Cannot snapshot view (<UIKeyboardImpl: 0x100462700; frame = (0 0; 375 216); layer = <CALayer: 0x17002e180>>) with afterScreenUpdates:NO, because the view is not in a window. Use afterScreenUpdates:YES.
2017-05-26 13:54:59.149913-0700 xxxxxx[281:13795] didReceiveNotification with fetchCompletionHandler
2017-05-26 13:54:59.150069-0700 xxxxxx[281:13795] app in-active
2017-05-26 13:54:59.150151-0700 xxxxxx[281:13795] this should be a silent push
2017-05-26 13:54:59.150333-0700 xxxxxx[281:13795] Push Plugin notId inAppNotif-919
2017-05-26 13:54:59.150422-0700 xxxxxx[281:13795] Notification received
2017-05-26 13:54:59.150608-0700 xxxxxx[281:13795] Push Plugin key: alert
2017-05-26 13:54:59.150753-0700 xxxxxx[281:13795] Push Plugin key: badge
2017-05-26 13:54:59.150838-0700 xxxxxx[281:13795] Push Plugin key: content-available
2017-05-26 13:54:59.392411-0700 xxxxxx[281:13795] Push Plugin finish called
2017-05-26 13:54:59.587607-0700 xxxxxx[281:13795] Push Plugin stopBackgroundTask called
2017-05-26 13:54:59.587923-0700 xxxxxx[281:13795] Push Plugin handlerObj
2017-05-26 13:54:59.595004-0700 xxxxxx[281:13795] Push Plugin: stopBackgroundTask (remaining t: 29.561345)
2017-05-26 13:55:07.376901-0700 xxxxxx[281:13795] active
2017-05-26 13:55:07.377056-0700 xxxxxx[281:13795] PushPlugin skip clear badge

@tamakisquare
Unfortunately I did not make it work at the time. I don't use background notifications at all in the app I'm developing. So, I solved my use case through coding around it.

@andreasj80: That's too bad for me. But thanks for your update. Cheers.

@tamakisquare can you open a new issue, filling out the issue template? It's easier to deal with one user per issue and @andreasj80 has worked around the issue.


Docker build issues for SessionManagement

Need to update the gradle jar path before building the docker image. Completed that.


Optimize live value handling

I've done some performance analysis of cranelift that shows handling of live values, particularly the partition_slice function, can be hot. For example, in the oryol-quad benchmark the live value list frequently has over 500 values in it, and having to repeatedly partition it is slow.
I have a sketch of a redesign for LiveValueVec that might speed things up. It's a bit complicated because LiveValueVec gets used in three different ways.
First, in LiveValueTracker::ebb_top, the LiveValueVec is first cleared. Then we add the live_in values, followed by the args. We subsequently iterate over the live_in values, then the args. So this suggests a structure like so:
  live_ins: Vec<LiveValue>, args: Vec<LiveValue>

Second, within process_inst, we need to partition the LiveValues by endpoint (giving throughs and kills) and then add zero, one or two defs. This suggests a structure like so:
  throughs: FxHashMap<Inst, Vec<LiveValue>>,
  kills: Vec<LiveValue>,
  defs: Vec<LiveValue>,

throughs is pre-partitioned -- all LiveValues that share the same endpoint will be in the same Vec. That way partitioning it to extract all the LiveValues with a particular endpoint is just a hash table removal. That removed Vec then becomes kills. And we can just append the defs.
Third, once drop_dead exits, we don't need the throughs/kills/defs distinction, so we would just combine those three pieces into a single piece like so:
  values: FxhashMap<Inst, Vec<LiveValue>>

This is then ready for the next call to process_inst.
I hope this will speed things up because partitioning is an O(1) operation (a hash table lookup) rather than O(n). But there will be more allocations for the nested data structure, and there's some fiddling about to convert between the three forms as necessary. Also, it's not entirely clear to me what the best way to represent this is... maybe an enum with three variants?

The new backend framework uses a different register allocator.

Indeed, closing; addressed with regalloc.rs.


postinstall script breaks projects

This postinstall script also tries to run when installing this dependency in a parent project:
https://github.com/syJSdev/rollup-plugin-copy-merge/blob/bb66b9464b4ecfa0339f68496a6ea666d500ba02/package.json#L19
It breaks npm install since those packages are not necessarily installed in the parent project. I think it might work to use prepare hook instead.

Hi @rchl ,

Yarn 2+ doesn't support prepare lifecycle script, so husky needs to be installed differently (this doesn't apply to Yarn 1 though). See Yarn 2+ install.

It seems husky updated their documentation for the yarn 2.
Thanks for the bug report and will fix it soon.