So, me and my friend are trying to collaborate on an app, but when he transfers the code to my computer and I try to build it in Android Studio I get an error saying this:
Error:(12) error: unknown element <resources> found.
Error:(12) unknown element <resources> found.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
We use Android Studio and I am almost certain that the error is in the gradle, but I have tried everything and I can't get it to work. If you need more information I am happy to provide it.