相关文章推荐
低调的风衣  ·  【转】C# ...·  1 周前    · 
宽容的楼梯  ·  Spring JDBC-使用Spring ...·  9 月前    · 
风流的凳子  ·  Newtonsoft.Json.Linq.J ...·  1 年前    · 

Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou

ZhangJiQunMXP

Can t process attribute android:fillColor=@color/camera_progress_delete: references to other resou

Can't process attribute android:fillColor="@color/camera_progress_delete": references to other resources are not supported by build-time PNG generation.

ErrorwhileprocessingC:\Users\zhangjiqun\callshow\callshow1\callshow\videorecord\src\main\res\drawable\ic_accept_active.xml : Can't process attribute android:fillColor="@color/camera_progress_delete": references to other resources are not supported by build-time PNG generation. See developer.android.com/tools/help/… for details.
> A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction
> Error while processing C:\Users\zhangjiqun\callshow\callshow1\callshow\videorecord\src\main\res\drawable\ic_delete_active.xml : Can't process attribute android:fillColor="@color/camera_progress_delete": references to other resources are not supported by build-time PNG generation. See developer.android.com/tools/help/… for details.
> A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction

> Error while processing C:\Users\zhangjiqun\callshow\callshow1\callshow\videorecord\src\main\res\drawable\ic_delete_active.xml : Can't process attribute android:fillColor="@color/camera_progress_delete": references to other resources are not supported by build-time PNG generation. See developer.android.com/tools/help/… for details.

再加入新的module时遇到这个问题,是由于新的moddule是旧的项目,而android studio升级了,gradle升级了一般是4.0以后的版本造成的。

解决办法:
在app的gradle的defaultConfig中加入:vectorDrawables.useSupportLibrary = true
在引入的module的gradle的defaultConfig中加入:vectorDrawables.useSupportLibrary = true
如下所示:
defaultConfig { vectorDrawables.useSupportLibrary = true }

Could not find symbol “gHotSpotVMTypes“ ... Can‘t attach the process:ptrace(PTRACE_ATTACH) ...

最近,在查看基于docker部署的应用的gc情况时,遭遇了一系列问题,下面从一个个问题分析并解决。1.执行 jps、jmap、jinfo 等命令时提示[root@90a7d18b7758 /]# jpsbash: jps: command not found[root@90a7d18b7758 /]