I’m trying to add Facebook’s Audience Network 6.2.1 to my Unity project. When I try to build APK, I get this error and I couldn’t build
AndroidManifest.xml:38: AAPT: error: unexpected element <queries> found in <manifest>.
I tried all the methods in this thread Android - Crash on startup caused by incompatibilities in dependencies · Issue #303 · facebook/facebook-sdk-for-unity · GitHub but I still get that error.
this thread android - How can I fix "unexpected element <queries> found in <manifest>" error? - Stack Overflow says to update gradle but how do I update Unity’s gradle? How do I check Unity’s gradle’s version?
I tried downloading Gradle 6.8 from Gradle | Installation and set Unity’s gradle path in Preferences > External Tools to that new version but I still get the error