在Android Studio的Hello word在增加了个部局XML内容后报错,如下错误:
Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable
修改的文件:
其实就是多了个头声明:<?xml versinotallow="1.0" encoding="utf-8"?>
去掉就可以了,运行如下图:
OK,错误一样但是修正方法不一样。
标签:Caused,workers,gradle,failure,internal,org,WorkExecutionException From: https://blog.51cto.com/u_16269709/8284558