2012-10-14 3 views
3

내 프로젝트에 ACRA을 사용하려고하는데 내 앱이 시작될 때마다 로그에 다음 메시지가 표시됩니다.Android 앱의 인터넷 권한이 부여되지 않았습니다.

E/ACRA (11618): com.example.TestApp should be granted permission android.permission.INTERNET if you want your crash reports to be sent. If you don't want to add this permission to your application you can also enable sending reports by email. If this is your will then provide your email address in @ReportsCrashes(mailTo="[email protected]" 

다음은 여기에 무슨 일이 일어나고 있는지 확신하지, 인터넷 권한이 내 AndroidManifest.xml입니다. 어떤 도움을 주셔서 감사합니다!

<manifest xmlns:android="http://schemas.android.com/apk/res/android" 
    package="com.example.TestApp" 
    android:versionCode="1" 
    android:versionName="1.0" > 

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

    <application 
     android:icon="@drawable/ic_launcher" 
     android:name="TestApplication" 
     android:label="@string/app_name" > 
     <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> 

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

</manifest> 
+0

당신이 청소하고 다시 시도 않았다

는 API 16 이상에서이 문제를 해결하는 방법은이 질문을 참조하십시오? – jagsler

+0

ACRA 소스 코드를 로깅 할 때 ACRA 소스 코드를 보면 무엇을 찾았습니까? – CommonsWare

+0

@CommonsWare 그것은'PackageManager'를 사용하여 아주 간단한 권한 확인입니다. 나는이 문제가 실제로 ACRA와 관련이 없다고 생각한다. –

답변