且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android:导入v7 appcompat后R的问题

更新时间:2023-01-27 18:59:54

听起来像您的风格在您的项目RES文件夹中定义。那个风格也在v7支持库中定义,所以现在定义了两次。从您的RES xml中删除它。

It sounds like your styleable is defined in your project RES folder. That styleable is also defined in the v7 support library, so it is now defined twice. Remove it from your RES xml.

看到这篇文章:在Android Studio中添加全屏活动后构建错误