BUILD ERROR: Background permission is required

Out of the blue I'm getting:

"BUILD: ERROR: The Background permission is required in the manifest file in order to create a background application."

  1. Not edited the manifest for 3 weeks.
  2. There's no reference to background in the manifest
  3. (It's a watch app, so background is not applicable.)
  4. Built fine two hours ago for the simulator.
  5. No code change since then.
  6. Only running a build for "Build for Device wizard" to install on my physical watch.
  7. Re-started everything including the Mac.

Help!

Mojave 10.14

Eclipse Oxygen

SDK  connectiq-sdk-mac-3.0.12-2019-06-12

BUILD: ERROR: The Background permission is required in the manifest file in order to create a background application.
BUILD: com.garmin.connectiq.common.manifest.ManifestException: [102] The Background permission is required in the manifest file in order to create a background application.
BUILD: 	at com.garmin.monkeybrains.ProjectBuilder.preProcessProject(ProjectBuilder.java:450)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.runPRGCompiler(Monkeybrains.java:1273)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.compileApplication(Monkeybrains.java:1022)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.run(Monkeybrains.java:2223)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:252)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.simpleMain(Monkeybrains.java:234)
BUILD: 	at com.garmin.monkeybrains.Monkeybrains.main(Monkeybrains.java:281)

[RESOLVED]

Somehow my project had become corrupted with the presence of my entire Downloads directory(!), which contained, inter alia all the SDK folders with all the sample projects. Once deleted, all was fine. The error message didn't help discovering the issue.