android - R not generated, XML file contains error but which XML file? -


my r file not generated after clean project. , according research on stack overflow, think have error in xml file dont know xml contains bug. went through of them including androidmanifest file.

is there way or tool me find out xml contains error? have been stuck problem 10 hours. please help!

p.s have 2 different custom view both have same namespace (but uses in separate xml file), problem?

androidmanifest file

<manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="com.packagename.appname"     android:versioncode="1"     android:versionname="1.0" >      <uses-sdk         android:minsdkversion="15"         android:targetsdkversion="15" />      <application         android:allowbackup="true"         android:icon="@drawable/ic_launcher"         android:label="@string/app_name"         android:theme="@android:style/theme.holo.noactionbar.fullscreen" >         <activity             android:name="com.packagename.appname.activity.splashscreenactivity"             android:icon="@drawable/ic_app"             android:label="@string/app_name"             android:nohistory="true" >             <intent-filter>                 <action android:name="com.google.android.glass.action.voice_trigger" />             </intent-filter>              <meta-data                 android:name="com.google.android.glass.voicetrigger"                 android:resource="@xml/voice_trigger" />         </activity>          <activity             android:name="com.packagename.appname.activity.mainactivity"             android:enabled="true"             android:label="@string/app_name" >         </activity>          <activity             android:name="com.packagename.appname.activity.selectactionactivity"             android:enabled="true"             android:label="@string/app_name" >         </activity>     </application>  </manifest> 

problems view

this how problem view looks like. dont see useful here.

found bug... declared same id twice in ids.xml. share how found xml contains error. copied out individual xml content , deleting them project see if r file generated. non-xml, set them not including build path time being. not best way find error way. reply question. happy coding.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -