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

謝謝你爲你解答。我發現了這個錯誤,並且在我發佈這個問題的同一天也解決了它。你的回答完全正確。 –