java - Build Error with Android Studio -


first of first app, , first time using android studio, hoping it's small thing don't understand yet.

here error messages;

agpbi: {"kind":"error","text":"no resource found matches given name (at \u0027icon\u0027 value \u0027@mipmap/ic_launcher\u0027).","sourcepath":"c:\\users\\matt\\androidstudioprojects\\firstapp\\app\\build\\intermediates\\manifests\\full\\debug\\androidmanifest.xml","position":{"startline":13,"startcolumn":23,"startoffset":385,"endcolumn":42,"endoffset":404},"original":""}   failed  failure: build failed exception.  * went wrong: execution failed task ':app:processdebugresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\users\matt\appdata\local\android\sdk\build-tools\21.1.2\aapt.exe'' finished non-zero exit value 1 

this code on manifest xml:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.matt.firstapp" >  <application     android:allowbackup="true"     android:icon="@mipmap/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme" >     <activity         android:name=".mainactivity"         android:label="@string/app_name" >         <intent-filter>             <action android:name="android.intent.action.main" />              <category android:name="android.intent.category.launcher" />         </intent-filter>     </activity> </application>  </manifest> 

with following error message on line 7; cannot resolve symbol '@mipmap/ic_launcher' less... (ctrl+f1) validates resource references inside android xml files.

i have android 21.1.2 installed:

android sdk manager, packages , versions

thanks help!

the unicode escape notation \u0027 stands quote character. thus, error message, looks have similar 'icon' = '@mipmap/ic_launcher' somewhere in androidmanifest.xml, , i'm guessing should more android:icon="@mipmap/ic_launcher".


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -