Question

I'm trying to develop an android app that needs a user to record his voice. I was following the Dev guide on http://developer.android.com/guide/topics/media/audio-capture.html

Eclipse gives me this error in my manifest file

The prefix "adroid" for attribute "adroid:name" associated with an element type "uses-     permission" is not bound.`

This is my manifest file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rectest"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
    android:minSdkVersion="10"
    android:targetSdkVersion="19" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>


<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name="com.example.rectest.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>
Was it helpful?

Solution

Looks like you had a typo error when you first wrote the code.

`The prefix "adroid" for attribute "adroid:name" associated with an element type "uses-       permission" is not bound`.`

As it should have been "android" and not "adroid". The code you attached looks fine, so you should try to Clean and re-build your project. Go to Project -> Clean -> Select your project. If this keeps, try to restart your eclipse.

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top