3

プロジェクトでACRAを使用しようとしていますが、アプリを起動するたびにログに次のメッセージが表示されます。

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="your.account@domain.com"

以下は私の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>
4

1 に答える 1

0

JB で READ_LOGS 権限が削除されたため、JellyBean で実行したときにこの問題が発生しました。

API 16 以降でこの問題を回避する方法については、次の質問を参照してください: Jelly Bean (api 16) に対する READ_LOGS 権限

于 2013-02-01T23:21:58.840 に答える