Error:(52) error: resource mipmap/ic_launcher_round (aka XXXXX:mipmap/ic_launcher_round) not found.
Error:(52) resource mipmap/ic_launcher_round (aka XXXXX/ic_launcher_round) not found.
Error:failed processing manifest.
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'.
Error:(52) resource mipmap/ic_launcher_round (aka XXXXX/ic_launcher_round) not found.
Error:failed processing manifest.
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
解决方案:
只需在工程的gradle.properties文件中添加以下命令:android.enableAapt2=false
另外Android 8.0中引入了自适应图标,支持多种视觉效果,即在不同的设备上可根据设备显示不同启动图标,并且会有不同的视觉效果。
详情查看官方文档。
后续补充该内容。