Autore Topic: Could not find class 'android.app.AppOpsManager'  (Letto 1094 volte)

Offline Angelus84

  • Utente junior
  • **
  • Post: 59
  • Respect: +1
    • Google+
    • Mostra profilo
  • Dispositivo Android:
    Samsung Galaxy Next
  • Play Store ID:
    Angelus
  • Sistema operativo:
    Windows 7
Could not find class 'android.app.AppOpsManager'
« il: 19 Gennaio 2016, 13:30:58 CET »
0
Salve a tutti,
ho un problema che proprio non riesco a risolvere spero in un vostro aiuto. Ho provato un semplice esempio di visualizzazione mappe  ma mi da sempre lo stesso errore.

Codice (XML): [Seleziona]
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   package="com.javacodegeeks.androidgooglemapsexample"
   android:versionCode="1"
   android:versionName="1.0" >

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

    <uses-feature
       android:glEsVersion="0x00020000"
       android:required="true" />

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

    <!--
    The following two permissions are not required to use
    Google Maps Android API v2, but are recommended.
   -->
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

    <application
       android:allowBackup="true"
       android:icon="@drawable/ic_launcher"
       android:label="@string/app_name"
       android:hardwareAccelerated="true" >
        <activity
           android:name=".AndroidGoogleMapsActivity"
           android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <meta-data
           android:name="com.google.android.gms.version"
           android:value="@integer/google_play_services_version" />
        <meta-data
           android:name="com.google.android.maps.v2.API_KEY"
           android:value="AIzaSyDHe_Ug_LbxoersJJDX-Qa8qlPl5XREBh8" />
    </application>

</manifest>

logcat:
01-19 13:28:18.412: E/dalvikvm(20126): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.zze.zzb
01-19 13:28:18.640: E/dalvikvm(20126): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.nb.a
01-19 13:28:18.856: E/dalvikvm(20126): Could not find class 'android.app.AppOpsManager', referenced from method com.google.android.gms.common.mw.a
01-19 13:28:21.310: A/libc(20126): @@@ ABORTING: LIBC: ARGUMENT IS INVALID HEAP ADDRESS IN dlfree addr=0x62655210