2017-03-22 11 views
0

エラー: ':app:processDebugManifest'タスクの実行に失敗しました。タスク ':app:processDebugManifest'の実行に失敗しました。

Manifest merger failed : Attribute [email protected] value=(@style/Theme.ActionBarSize) from AndroidManifest.xml:24:9-51 is also present at [com.github.navasmdc:PhoneTutorial:1.2] AndroidManifest.xml:15:9-40 value=(@style/AppTheme). Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest.xml:18:5-72:19 to override.

答えて

0

マニフェストファイルに次の変更操作を行います。ただ、アプリケーションのタグでこの

tools:replace="android:theme"

を追加

<application 
    android:allowBackup="true" 
    android:icon="@mipmap/ic_launcher" 
    android:label="@string/app_name" 
    android:supportsRtl="true" 
    android:theme="@style/AppTheme" 
    tools:replace="android:theme"> 
</application> 

を。

+0

ありがとう@Umair。私はこれらすべてのことをして、エラーを解決する –

0

テーマを適用したアプリケーションマニフェストファイルを確認してください。 もっと明確にするには、コードスナップをここに入力してください。

関連する問題