相关疑难解决方法(0)

“已配置相关功能,但未设置包 ID。” 创建新模块 Android 时

我正在尝试创建一个新模块。这个模块的元素应该对第一个模块可见。这就是我添加的原因implementation project(":messanger")Build.gradle(:app)但它给出了以下错误:

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.0-beta01-6051327-linux Daemon #0: Unexpected error during link, attempting 
 to 
stop daemon.
 This should not happen under normal circumstances, please file an issue if it does.
Run Code Online (Sandbox Code Playgroud)

android-studio android-gradle-plugin android-module

20
推荐指数
3
解决办法
7662
查看次数