Compile Error

Hi everyone
I have managed to customized ODK. I have a problem compiling the code.
Below is an error and manifest xml.
Can anyone help please.

Error:(213, -1) android-apt-compiler: [ODK 1.2]
C:\Users\kofi.agyapong\Desktop\Kofi\ODK\Customized\ODK
1.2\AndroidManifest.xml:213: error: Error parsing XML: mismatched tag

Manifest xml

<?xml version="1.0" encoding="utf-8"?>
<uses-feature android:name="android.hardware.location" 

android:required="false" />

<uses-feature android:name="android.hardware.telephony" 

android:required="false" />

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" 

/>





<!--  for Maps v2 functionality, want:
uses-feature android:glEsVersion="0x00020000" android:required="false"
BUT, the gl setting is not modified by the required parameter, so
do not declare anything here - detect capabilities at runtime.
-->

<permission
      android:name="org.opendatakit.tables.permission.MAPS_RECEIVE"
      android:protectionLevel="signature" />
<uses-permission 

android:name="org.opendatakit.tables.permission.MAPS_RECEIVE" />

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8" />

<supports-screens
    android:anyDensity="true"
    android:xlargeScreens="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:smallScreens="true" />

<activity>
    android:name="org.odk.collect.android.application.Collect"
    android:largeHeap="true"
    android:icon="@drawable/notes"
    android:label="@string/app_name"
    android:theme="@style/Collect" >
    <provider
        android:exported="true"
        android:name="org.odk.collect.android.provider.FormsProvider"

android:authorities="org.odk.collect.android.provider.odk.forms" />
<provider
android:exported="true"
android:name="org.odk.collect.android.provider.InstanceProvider"

android:authorities="org.odk.collect.android.provider.odk.instances" />

    <activity
        android:name=".activities.MainMenuActivity"
        android:configChanges="orientation"
        android:label="@string/app_name" >
    </activity>
    <activity
        android:name=".activities.FormEntryActivity"
        android:configChanges="orientation"
        android:label="@string/app_name"
        android:windowSoftInputMode="adjustResize" >
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <action android:name="android.intent.action.EDIT" />

            <category android:name="android.intent.category.DEFAULT" />

            <data 

android:mimeType="vnd.android.cursor.item/vnd.odk.form" />




<activity

android:name="activities.com.google.android.gms.maps.MapFragment"
android:label="com.google.android.gms.maps.MapFragment" />

    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <action android:name="android.intent.action.EDIT" />

        <category android:name="android.intent.category.DEFAULT" />

        <data 

android:mimeType="vnd.android.cursor.dir/vnd.odk.instance" />

    <activity
        android:name=".activities.InstanceChooserTabs"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.FormChooserList"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <action android:name="android.intent.action.EDIT" />
            <action android:name="android.intent.action.PICK" />

            <category android:name="android.intent.category.DEFAULT" />

            <data 

android:mimeType="vnd.android.cursor.dir/vnd.odk.form" />









        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
    </activity>
    <activity
        android:name=".activities.InstanceUploaderActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".preferences.PreferencesActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".preferences.AdminPreferencesActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.FormHierarchyActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointMapActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointMapActivitySdk7"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.BearingActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.SplashScreenActivity"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Dialog" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <!-- Enable Shortcuts for Command Actions -->
    <activity
        android:name=".activities.AndroidShortcuts"
        android:label="ODK Form"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" >
        <intent-filter>
            <action 

android:name="android.intent.action.CREATE_SHORTCUT" />

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
    <receiver
        android:name=".receivers.NetworkReceiver"
        android:enabled="true" >
        <intent-filter>
            <action android:name="android.net.conn.CONNECTIVITY_CHANGE" 

/>




    </application>

    </manifest>

Kofi,

As the compiler says, Line 213 has a mismatched tag. You have
but you don't have anywhere.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, Apr 15, 2014 at 3:20 AM, Kofi kofi853@gmail.com wrote:

Hi everyone
I have managed to customized ODK. I have a problem compiling the code. Below
is an error and manifest xml.
Can anyone help please.

Error:(213, -1) android-apt-compiler: [ODK 1.2]
C:\Users\kofi.agyapong\Desktop\Kofi\ODK\Customized\ODK
1.2\AndroidManifest.xml:213: error: Error parsing XML: mismatched tag

Manifest xml

<?xml version="1.0" encoding="utf-8"?>
<uses-feature android:name="android.hardware.location"

android:required="false" />

<uses-feature android:name="android.hardware.telephony"

android:required="false" />

<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"

/>





<!--  for Maps v2 functionality, want:
uses-feature android:glEsVersion="0x00020000" android:required="false"
BUT, the gl setting is not modified by the required parameter, so
do not declare anything here - detect capabilities at runtime.
-->

<permission
      android:name="org.opendatakit.tables.permission.MAPS_RECEIVE"
      android:protectionLevel="signature" />
<uses-permission

android:name="org.opendatakit.tables.permission.MAPS_RECEIVE" />

<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="8" />

<supports-screens
    android:anyDensity="true"
    android:xlargeScreens="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:smallScreens="true" />

<activity>
    android:name="org.odk.collect.android.application.Collect"
    android:largeHeap="true"
    android:icon="@drawable/notes"
    android:label="@string/app_name"
    android:theme="@style/Collect" >
    <provider
        android:exported="true"
        android:name="org.odk.collect.android.provider.FormsProvider"
        android:authorities="org.odk.collect.android.provider.odk.forms"

/>
<provider
android:exported="true"
android:name="org.odk.collect.android.provider.InstanceProvider"

android:authorities="org.odk.collect.android.provider.odk.instances" />

    <activity
        android:name=".activities.MainMenuActivity"
        android:configChanges="orientation"
        android:label="@string/app_name" >
    </activity>
    <activity
        android:name=".activities.FormEntryActivity"
        android:configChanges="orientation"
        android:label="@string/app_name"
        android:windowSoftInputMode="adjustResize" >
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <action android:name="android.intent.action.EDIT" />

            <category android:name="android.intent.category.DEFAULT" />

            <data

android:mimeType="vnd.android.cursor.item/vnd.odk.form" />




<activity

android:name="activities.com.google.android.gms.maps.MapFragment"
android:label="com.google.android.gms.maps.MapFragment" />

    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <action android:name="android.intent.action.EDIT" />

        <category android:name="android.intent.category.DEFAULT" />

        <data android:mimeType="vnd.android.cursor.dir/vnd.odk.instance"

/>

    <activity
        android:name=".activities.InstanceChooserTabs"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.FormChooserList"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <action android:name="android.intent.action.EDIT" />
            <action android:name="android.intent.action.PICK" />

            <category android:name="android.intent.category.DEFAULT" />

            <data android:mimeType="vnd.android.cursor.dir/vnd.odk.form"

/>









       <category android:name="android.intent.category.DEFAULT" />
   </intent-filter>
    </activity>
    <activity
        android:name=".activities.InstanceUploaderActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".preferences.PreferencesActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".preferences.AdminPreferencesActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.FormHierarchyActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointMapActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.GeoPointMapActivitySdk7"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.BearingActivity"
        android:label="@string/app_name" />
    <activity
        android:name=".activities.SplashScreenActivity"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Dialog" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <!-- Enable Shortcuts for Command Actions -->
    <activity
        android:name=".activities.AndroidShortcuts"
        android:label="ODK Form"
        android:theme="@android:style/Theme.Translucent.NoTitleBar" >
        <intent-filter>
            <action android:name="android.intent.action.CREATE_SHORTCUT"

/>

            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>
    <receiver
        android:name=".receivers.NetworkReceiver"
        android:enabled="true" >
        <intent-filter>
            <action android:name="android.net.conn.CONNECTIVITY_CHANGE"

/>




    </application>

    </manifest>

--
You received this message because you are subscribed to the Google Groups
"ODK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yaw,

Thanks a lot.

··· On Tuesday, April 15, 2014 10:20:33 AM UTC, Kofi wrote: > > Hi everyone > I have managed to customized ODK. I have a problem compiling the code. > Below is an error and manifest xml. > Can anyone help please. > > Error:(213, -1) android-apt-compiler: [ODK 1.2] > C:\Users\kofi.agyapong\Desktop\Kofi\ODK\Customized\ODK > 1.2\AndroidManifest.xml:213: error: Error parsing XML: mismatched tag > > > > *Manifest xml* > > <?xml version="1.0" encoding="utf-8"?> > > package="org.odk.collect.android" > android:versionCode="1039" > android:versionName="1.4.3" > > > android:required="false" /> > android:required="false" /> > android:required="false" /> > > android:required="false" /> > android:required="false" /> > > > > > android:name="android.permission.ACCESS_FINE_LOCATION" /> > android:name="android.permission.ACCESS_COARSE_LOCATION" /> > android:name="android.permission.READ_EXTERNAL_STORAGE" /> > android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> > > > android:name="android.permission.ACCESS_NETWORK_STATE" /> > > > > android:name="org.opendatakit.tables.permission.MAPS_RECEIVE" > android:protectionLevel="signature" /> > android:name="org.opendatakit.tables.permission.MAPS_RECEIVE" /> > android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /> > > > > android:anyDensity="true" > android:xlargeScreens="true" > android:largeScreens="true" > android:normalScreens="true" > android:resizeable="true" > android:smallScreens="true" /> > > > android:name="org.odk.collect.android.application.Collect" > android:largeHeap="true" > android:icon="@drawable/notes" > android:label="@string/app_name" > android:theme="@style/Collect" > > android:exported="true" > android:name="org.odk.collect.android.provider.FormsProvider" > > android:authorities="org.odk.collect.android.provider.odk.forms" /> > android:exported="true" > > android:name="org.odk.collect.android.provider.InstanceProvider" > > android:authorities="org.odk.collect.android.provider.odk.instances" /> > > android:name=".activities.MainMenuActivity" > android:configChanges="orientation" > android:label="@string/app_name" > > > android:name=".activities.FormEntryActivity" > android:configChanges="orientation" > android:label="@string/app_name" > android:windowSoftInputMode="adjustResize" > > > > > > > > android:mimeType="vnd.android.cursor.item/vnd.odk.form" /> > android:mimeType="vnd.android.cursor.item/vnd.odk.instance" /> > > > android:name=".activities.DrawActivity" > android:label="@string/app_name" /> > > android:name="activities.com.google.android.gms.maps.MapFragment" > android:label="com.google.android.gms.maps.MapFragment" /> > android:name=".activities.InstanceChooserList" > android:label="@string/app_name" /> > > > > > > > > android:mimeType="vnd.android.cursor.dir/vnd.odk.instance" /> > > > android:name=".activities.InstanceChooserTabs" > android:label="@string/app_name" /> > android:name=".activities.FormChooserList" > android:label="@string/app_name" > > > > > > > > > android:mimeType="vnd.android.cursor.dir/vnd.odk.form" /> > > > android:name=".activities.FormManagerList" > android:label="@string/app_name" /> > android:name=".activities.FormDownloadList" > android:label="@string/app_name" /> > android:name=".activities.DataManagerList" > android:label="@string/app_name" /> > android:name=".activities.FileManagerTabs" > android:label="@string/app_name" /> > android:name=".activities.InstanceUploaderList" > android:label="@string/app_name"> > > > > > > > > android:name=".activities.InstanceUploaderActivity" > android:label="@string/app_name" /> > android:name=".preferences.PreferencesActivity" > android:label="@string/app_name" /> > android:name=".preferences.AdminPreferencesActivity" > android:label="@string/app_name" /> > android:name=".activities.FormHierarchyActivity" > android:label="@string/app_name" /> > android:name=".activities.GeoPointActivity" > android:label="@string/app_name" /> > android:name=".activities.GeoPointMapActivity" > android:label="@string/app_name" /> > android:name=".activities.GeoPointMapActivitySdk7" > android:label="@string/app_name" /> > android:name=".activities.BearingActivity" > android:label="@string/app_name" /> > android:name=".activities.SplashScreenActivity" > android:label="@string/app_name" > android:theme="@android:style/Theme.Dialog" > > > > > > /> > > > > android:name=".activities.AndroidShortcuts" > android:label="ODK Form" > android:theme="@android:style/Theme.Translucent.NoTitleBar" > > > android:name="android.intent.action.CREATE_SHORTCUT" /> > > > > > android:name=".receivers.NetworkReceiver" > android:enabled="true" > > > android:name="android.net.conn.CONNECTIVITY_CHANGE" /> > > > > > > > android:name="com.google.android.maps.v2.API_KEY" > android:value="AIzaSyBS-JQ-dnaZ_8qsbvSyr_I3rTPFd5fJsYI"/> > > android:name="com.google.android.maps" > android:required="false" /> > > > > >