简体   繁体   English

类型 androidx.activity.R$drawable 被定义了多次:

[英]Type androidx.activity.R$drawable is defined multiple times:

When I try to build the project, I get the following error:当我尝试构建项目时,出现以下错误:

Type androidx.activity.R$drawable is defined multiple times: C:\Users\dell\AndroidStudioProjects\Quizzaria\app\build\intermediates\project_dex_archive\debug\out\2f1abb1bf059eed68381ee1f8abbd335bb11b5d842853a70e5bc1943c6dbde23_0.jar:classes.dex, C:\Users\dell\AndroidStudioProjects\Quizzaria\app\build\intermediates\project_dex_archive\debug\out\9af8cb4894b642ee0bf9af510aa81fc1bbe550d01ed87af8f91c58876cd6c749_0.jar:classes.dex Type androidx.activity.R$drawable is defined multiple times: C:\Users\dell\AndroidStudioProjects\Quizzaria\app\build\intermediates\project_dex_archive\debug\out\2f1abb1bf059eed68381ee1f8abbd335bb11b5d842853a70e5bc1943c6dbde23_0.jar:classes.dex, C:\Users\dell \AndroidStudioProjects\Quizzaria\app\build\intermediates\project_dex_archive\debug\out\9af8cb4894b642ee0bf9af510aa81fc1bbe550d01ed87af8f91c58876cd6c749_0.jar:classes.dex

Try to delete the build folder from android->app->build sync the project i hope this will help.尝试从 android->app->build sync the project 中删除 build 文件夹,我希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM