1

我的问题是,我试图改变我的android项目的包名称,当我建立我的项目它给我错误,然后我按ctrl + z按钮来重写我的包名称之前,并尝试再次构建它是不建立我的项目。 我的错误是 错误:执行任务':app:processDebugResources'失败。我的andorid项目构建失败,从不执行该项目?

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\DELL\Documents\adt-bundle-windows-x86-20140702\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

首先,你看到的屏幕短 Screen short of android manifest file

现在你看我的build.gradle文件

apply plugin: 'com.android.application' 
    android { 
     compileSdkVersion 23 
     buildToolsVersion '23.0.2' 

defaultConfig { 
    applicationId "app.tabsample" 
    minSdkVersion 15 
    targetSdkVersion 23 
} 

buildTypes { 
    release { 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 
    } 
} 
} 

dependencies { 
compile 'com.android.support:support-v4:23.1.0' 
compile 'com.google.android.gms:play-services:8.3.0' 
compile 'com.google.android.gms:play-services-ads:8.3.0' 
} 

我有一个最新版本的版本 类路径“com.android.tools.build :gradle:1.3.0' 也试图清理和重建项目,我也试图重新启动android工作室,但错误没有去请帮助我这是我的完整的整个项目 提前致谢。

回答

1

正如第一个错误中写的那样,在类别标记中有一个无效字符的空格,它应该是<category android:name=android.intent.category.default/>

+0

谢谢你为你解答。我发现了这个错误,并且在我发布这个问题的同一天也解决了它。你的回答完全正确。 –