0

My game has been building find with AGDE in Visual Studio 2022 for some time. I recently updated to the latest AGDE plug-in and NDK and now the packaging step generates this error.

...\Microsoft\VC\v170\Google\Google.Android.Cpp.Packaging.targets(88,5):
error : Multiple outputs named 'C:\MYGAME\SRC\Android\Debug\MyGame-arm64-v8a.apk'
from Gradle were found in
'C:\MYGAME\SRC\Android\app\build\outputs\apk\developmentDebug' or
'C:\MYGAME\SRC\Android\app\build\intermediates\apk\developmentDebug'.
Clean the Gradle output directory and retry build.

Cleaning the directory and rebuilding just keeps generating the same error.

The weird thing is the .apk does actually get generated in the "intermediates" directory as expected. And there is no "apk" directory under "output". So I really don't understand what this error is saying.

Has anyone else seen this, and if so what was causing it and what was your solution?

Bungles
  • 1,969
  • 2
  • 25
  • 54

0 Answers0