Error:Execution failed for task ‘:app:processDebugResources‘.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process ‘command ‘E:\andorid\android-studio-bundle-windows\sdk\build-tools\24.0.0-preview\aapt.exe‘‘ finished with non-zero exit value 1
在写Intent隐式跳转由页面一到页面二时,在配置AndroidManifest.xml 文件中时,
<activity android:name="com.smart.SecondActivity">
<intent-filter >
<action android:name="com.sina.www"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
当gardle时突然出现上诉错误,其中
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.shinelon.intend2"一直报错,郁闷。。。。。。
期间我重建了项目、clean、重新编译等均无用 我坚信不是我的程序代码字面错误,
然后我回头发现系统R文件都不能用了,
无奈之下,把布局文件中命名空间删除了,
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
然后gardle
好了,,,,,,
再回撤,没问题了,,,,,至今我也还没有想通这是怎么回事,估计是预览版不稳定吧
Error:Execution failed for task ':app:processDebugResources'.
原文:http://www.cnblogs.com/1126142692qq/p/5371932.html