When developing Android, you sometimes encounter such problems
Error:Execution failed for task ':app:processBaiduDebugMainManifest'. > Manifest merger failed with multiple errors, see logs
The processing method is as follows:
Enter the command line first, and pay attention to adding ./ on Mac when entering the command,
./gradlew processBaiduDebugMainManifest –stacktrace
Here processBaiduDebugMainManifest will replace according to the specific information of your error report, and may also encounter the problem of no permission, as shown in the following figure
The simplest solution is to add bash before the command. The complete command is:
bash ./gradlew processBaiduDebugMainManifest –stacktrace
This command will get more log information.
With specific error information, you can purposefully solve the problem.