When using Android Studio, we sometimes encounter this error at compile time. There are many reasons for this, such as the same name of the resource and the duplication of the Android :allowBackUp field in the manifest. What action should we take before we know the cause? You can use terminal in Android Studio and type gradlew processDebugManifest — stackTrace to get more Log information. And then you’ll see the result after a while.