[英]Android Voice Recording
I'm trying to develop an android app that needs a user to record his voice.我正在尝试开发一个需要用户录制他的声音的 android 应用程序。 I was following the Dev guide on http://developer.android.com/guide/topics/media/audio-capture.html我正在关注http://developer.android.com/guide/topics/media/audio-capture.html上的开发指南
Eclipse gives me this error in my manifest file Eclipse 在我的清单文件中给了我这个错误
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>
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".因为它应该是“android”而不是“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.如果这种情况一直存在,请尝试重新启动您的日食。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.