Dependent features configured but no package ID was set.

 Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > AAPT2 aapt2-4.0.2-6197926-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. 
解决方法

检查作为库依赖的Module中是否有因为测试而设置的id 'com.android.application'
将其改回id 'com.android.library'即可

你可能感兴趣的:(android,studio)