After following the basic steps in a new scene I get this error
mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
Please help or provide a working mainTemplate.gradle
you can just delete the gradle files and also disable custom gradle templates in the Android player settings... these files ensured compatibility of our sample project with Android 11 and our supported Unity version, which is 2019.4. Unity version above 2020.1 don't need these files (as described in the Android documentation).
Could you please provide the following details:
Thx and greetings