VS2022 gradlew.bat failed error Android.Common.target line 546

BlueSky 0 Reputation points
2024-07-25T21:58:15.7766667+00:00

Dear community,

I created an empty basic android application with the wizard in VS2022 for a mobile. The driver for the mobile is installed. The mobile target is displayed in the build settings. When I then try to build the project, I get the message "The command gradlew.bat ... assembleARM8Debug is terminated with code 1". Possible source of the error Android.Common.targets line 546.

Can you please help me, to solve the issue?

Windows for business | Windows Client for IT Pros | Devices and deployment | Set up, install, or upgrade
Microsoft Security | Intune | Microsoft Intune Android
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.