コンパイルエラーログ:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
> AAPT2 aapt2-7.0.3-7396180-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.
エラー処理:
これは、同じプロジェクト内に複数のモジュールが存在しますが、それらはすべて com.android.application プラグインで構成されているためです。
そのうちの 1 つを com.android.library に変更する必要があります
参考記事: