Tutorial #34: Using Google Maps Android API v2

Starting from December 3rd, 2012 Google had officially deprecated the use of the Google Maps Android API version 1. The new version 2 of the API automatically handles access to Google map servers, downloading of data etc. Using this version you can also add markers, polygons and overlays to a basic map and allow user interaction with the map.

Some key features provided by Google Maps Android API v2 are:

    1) Icons anchored to specific positions on the map (Markers)

    2) Sets of line segments (Polylines)

    3) Enclosed segments (Polygons)

    4) Bitmap graphics anchored to specific positions on the map (Ground Overlays)

    5) Sets of images which are displayed on top of the base map tiles (Tile Overlays)

In this tutorial I will explain how to get a Google Map API key followed by a demo of Google Maps in action on Android!

Pre-requisites: Windows 7 (64 bit OS), Eclipse IDE, Android SDK

Step 1: Obtaining the Google Map API key

To use google maps you need to get a map key. However, even before that you need to get a SHA-1 fingerprint from your jdk installation. Open command prompt, navigate to your jdk directory and use the keytool executable to generate your key.

Generate MD5 key

Generate SHA-1 fingerprint


Syntax for using keytool

C:\<path-to-jdk-dir>\bin\keytool.exe -list -alias androiddebugkey -keystore "C:\users\<user-name>\.android\debug.keystore" -storepass android -keypass android

Now, you need to sign up for the Android Maps API by logging in with your Gmail account from over here.

Create a new Android key and paste your above generated SHA-1 fingerprint along with your project package name in the box provided.

android_google_maps_2

android_google_maps_3

Step 2: Download Google play services

In order to use Google maps in your Android projects you would need to download and install the Google play services from your Android SDK manager. As you can see in the below screenshot I have already installed the play services. You would need to check the same and then install it.

Installing Google play services

Step 3: Import Google Play services library project

Once you have installed the google play services successfully, you will find a library project at location C:\path-to-adt-bundle\sdk\extras\google\google_play_services. Open Eclipse IDE and import this existing project by using File –> Import –> Existing Android Projects into workspace.

Step 4: Create new Android project

Create a new Android project named AndroidGoogleMapsDemo with package name com.example. The package name should be same as that mentioned while creating SHA-1 fingerprint in step 1. Select Target SDK as Android 4.2 and create activity named MainActivity. Also, add reference to google-play-services_lib project as follows!

android_google_maps_5

To add reference to library project, right click your Project –> Properties –> Android. Click on Add and select project.

android_google_maps_6

Make changes to AndroidManifest.xml file as follows!

AndroidManifest.xml

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

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

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

    <permission android:name="com.example.permission.MAPS_RECEIVE" android:protectionLevel="signature"/>
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="com.example.permission.MAPS_RECEIVE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="com.mapexplore.permission.MAPS_RECEIVE" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
     
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.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>
        
         <!-- Your API key needs to be added over here -->
         <meta-data
            android:name="com.google.android.maps.v2.API_KEY"
            android:value="AIzaSyAJ90gij_G7VaGy9w8L6EvO-zu8CHtTLRI" />
         
    </application>
</manifest>

MainActivity.java

package com.example;

import android.os.Build;
import android.os.Bundle;
import com.google.android.gms.maps.CameraUpdateFactory;
import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.view.Menu;


@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public class MainActivity extends Activity 
 {

	  static final LatLng MUMBAI = new LatLng(19.0144100, 72.8479400);
	  private GoogleMap map;

	  @Override
	  protected void onCreate(Bundle savedInstanceState) 
          {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.activity_main);
	    map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();
	    map.moveCamera(CameraUpdateFactory.newLatLngZoom(MUMBAI, 15));

	    // Zoom in, animating the camera.
	    map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null);
	  }
}

activity_main.xml


<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >

     <fragment
        android:id="@+id/map"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        class="com.google.android.gms.maps.MapFragment" />

</RelativeLayout>

Finally, run the project and you should see the following output! Thanks and happy coding! :)

Output

Karan Balkar About Karan Balkar
self proclaimed extraterrestrial fandroid, computer engineer, amateur gamer and die hard punk rock fan!

72 thoughts on “Tutorial #34: Using Google Maps Android API v2

  1. Hi Karan,

    How to display route or driving direction between two geocodes ? can u suggest something gud? thanks in advance for your time and consideration.

  2. hi karan i get problem when compile
    i get error this

    06-26 22:31:07.202: E/AndroidRuntime(780): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.raion.map/com.raion.map.Mainmap}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment

    can you help me?

    • may be something is wrong with your XML files…Please post all your layout XML files over here so that I check them. Also check your AndroidManifest.xml file for any errors!

      Thanks for visiting! :)

  3. Pingback: ????

  4. hi karan, yesterday i fixed the problem about layout xml
    but i have new problem again
    this error

    java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable

  5. Pingback: Using Google Maps Android API v2 » Monsieur Yusro

  6. hi am new from android .. how to draw a line from hyderabad to United States of Kingdom . my code is working with in the country only …
    other drawed a line Out of memory (enhaused) Occured .. am checking for this type of blogs

    last two months onwords .. please help me ..

    i think waiting for response

    • hi karan Sir , ur link i checked only horizontal and vertical lines , Line drawed start point and end point displayed only , Map not displayed .. I will wait for ur response
      please send the code .. ur project dead line is only two days .. please please …

  7. Hi,

    I have followed above code in my workspace but unable to view map & only showing map blank screen.

    Please let you give any solution

    • are you getting any errors? such as force close etc. Make sure you create a new Google Maps key for your project rather than using the one over here. Also can you please post a screenshot of the output your getting?

  8. I have been trying to integrate map API v2 in android many times. By following ur tutorial i hav got this error. Pls help .

    The import com.google.android.gms.maps cannot be resolved

    • Do you want to just draw a line between the two places without map or draw line and show map with it also?…I haven’t tried it myself though…I need some time..caught up in work! :(

  9. draw a line show map also i want ur code occurs this bellow error

    07-24 06:03:50.054: E/AndroidRuntime(1880): FATAL EXCEPTION: main
    07-24 06:03:50.054: E/AndroidRuntime(1880): java.lang.OutOfMemoryError
    07-24 06:03:50.054: E/AndroidRuntime(1880): at maps.i.bb.a(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at maps.aj.bt.j(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at maps.aj.bq.b(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at maps.aj.bq.a(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at maps.aj.al.a(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at bcn.onTransact(SourceFile:137)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.Binder.transact(Binder.java:310)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.google.android.gms.maps.internal.IGoogleMapDelegate$a$a.addPolyline(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.google.android.gms.maps.GoogleMap.addPolyline(Unknown Source)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.example.MainActivity$GetRouteTask.onPostExecute(MainActivity.java:108)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.example.MainActivity$GetRouteTask.onPostExecute(MainActivity.java:1)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.AsyncTask.finish(AsyncTask.java:631)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.AsyncTask.access$600(AsyncTask.java:177)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.os.Looper.loop(Looper.java:137)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at android.app.ActivityThread.main(ActivityThread.java:5041)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at java.lang.reflect.Method.invokeNative(Native Method)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at java.lang.reflect.Method.invoke(Method.java:511)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    07-24 06:03:50.054: E/AndroidRuntime(1880): at dalvik.system.NativeStart.main(Native Method)

    please help .. ur project dead line is tommorrow morning

  10. I got a runtime error
    this is the error: java.lang.NoClassDefFoundError: com.google.android.gms.maps.model.LatLng

    can you help me? :)

    • This error means that the particular class is not found. Make sure you have added the maps .jar file properly to your build path. Then clean and build the project! Hope it helps! :)

      • I followed everything in your tutorial and I even download and try your code but it got the same runtime error. Thank you!

          • Thank Karam! I already solved this problem but another problem came out. A blank map with zoom controls only appears. I double checked the sha1 and api key but still it doesnt show.

          • Just check whether you have included all the below permissions and the meta-data in your AndroidManifest.xml file










            android:name="com.google.android.maps.v2.API_KEY"
            android:value="Your API key" />

            Also if all this fine, just try zooming out the map a little until you can see something!

      • [2013-07-27 16:24:44 – Geo-fenc] ——————————
        [2013-07-27 16:24:44 – Geo-fenc] Android Launch!
        [2013-07-27 16:24:44 – Geo-fenc] adb is running normally.
        [2013-07-27 16:24:44 – Geo-fenc] Performing com.example.geo_fenc.MainActivity activity launch
        [2013-07-27 16:24:44 – Geo-fenc] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 16:25:22 – Geo-fenc] Launching a new emulator with Virtual Device ‘Samsung’
        [2013-07-27 16:25:30 – Geo-fenc] ——————————
        [2013-07-27 16:25:30 – Geo-fenc] Android Launch!
        [2013-07-27 16:25:30 – Geo-fenc] adb is running normally.
        [2013-07-27 16:25:30 – Geo-fenc] Performing com.example.geo_fenc.MainActivity activity launch
        [2013-07-27 16:25:31 – Geo-fenc] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 16:25:32 – Geo-fenc] New emulator found: emulator-5556
        [2013-07-27 16:25:32 – Geo-fenc] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-27 16:25:35 – Geo-fenc] Launch canceled!
        [2013-07-27 16:26:18 – Geo-fenc] HOME is up on device ‘emulator-5556′
        [2013-07-27 16:26:18 – Geo-fenc] Uploading Geo-fenc.apk onto device ‘emulator-5556′
        [2013-07-27 16:26:19 – Geo-fenc] Installing Geo-fenc.apk…
        [2013-07-27 16:26:52 – Geo-fenc] Success!
        [2013-07-27 16:26:52 – Geo-fenc] Starting activity com.example.geo_fenc.MainActivity on device emulator-5556
        [2013-07-27 16:26:54 – Geo-fenc] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.geo_fenc/.MainActivity }
        [2013-07-27 17:03:05 – Safety.geo] ——————————
        [2013-07-27 17:03:05 – Safety.geo] Android Launch!
        [2013-07-27 17:03:05 – Safety.geo] adb is running normally.
        [2013-07-27 17:03:05 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 17:03:05 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 17:04:50 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5554′
        [2013-07-27 17:04:50 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 17:04:52 – Safety.geo] Success!
        [2013-07-27 17:04:53 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5554
        [2013-07-27 17:04:54 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safety.geo/.MainActivity }
        [2013-07-27 17:08:07 – Safety.geo] ——————————
        [2013-07-27 17:08:07 – Safety.geo] Android Launch!
        [2013-07-27 17:08:07 – Safety.geo] adb is running normally.
        [2013-07-27 17:08:07 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 17:08:08 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 17:59:22 – Safety.geo] Launch canceled!
        [2013-07-27 18:13:58 – Safety.geo] ——————————
        [2013-07-27 18:13:58 – Safety.geo] Android Launch!
        [2013-07-27 18:13:58 – Safety.geo] adb is running normally.
        [2013-07-27 18:13:58 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 18:13:58 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 18:14:02 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5554′
        [2013-07-27 18:14:09 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 18:14:15 – Safety.geo] Success!
        [2013-07-27 18:14:16 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5554
        [2013-07-27 18:19:08 – Safety.geo] ——————————
        [2013-07-27 18:19:08 – Safety.geo] Android Launch!
        [2013-07-27 18:19:08 – Safety.geo] adb is running normally.
        [2013-07-27 18:19:08 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 18:19:08 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 18:19:13 – Safety.geo] Application already deployed. No need to reinstall.
        [2013-07-27 18:19:13 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5554
        [2013-07-27 18:19:14 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safety.geo/.MainActivity }
        [2013-07-27 18:20:07 – Safety.geo] ——————————
        [2013-07-27 18:20:07 – Safety.geo] Android Launch!
        [2013-07-27 18:20:07 – Safety.geo] adb is running normally.
        [2013-07-27 18:20:07 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 18:20:07 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 18:20:11 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5554′
        [2013-07-27 18:20:18 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 18:20:20 – Safety.geo] Success!
        [2013-07-27 18:20:20 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5554
        [2013-07-27 20:29:01 – Safety.geo] ——————————
        [2013-07-27 20:29:01 – Safety.geo] Android Launch!
        [2013-07-27 20:29:01 – Safety.geo] adb is running normally.
        [2013-07-27 20:29:01 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 20:29:01 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 20:29:11 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5554′
        [2013-07-27 20:29:11 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 20:31:13 – Safety.geo] Failed to install Safety.geo.apk on device ‘emulator-5554!
        [2013-07-27 20:31:13 – Safety.geo] (null)
        [2013-07-27 20:31:13 – Safety.geo] Launch canceled!
        [2013-07-27 20:31:29 – Safety.geo] ——————————
        [2013-07-27 20:31:29 – Safety.geo] Android Launch!
        [2013-07-27 20:31:29 – Safety.geo] adb is running normally.
        [2013-07-27 20:31:29 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 20:31:29 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 20:31:34 – Safety.geo] Launching a new emulator with Virtual Device ‘Samsung’
        [2013-07-27 20:31:46 – Safety.geo] ——————————
        [2013-07-27 20:31:46 – Safety.geo] Android Launch!
        [2013-07-27 20:31:46 – Safety.geo] adb is running normally.
        [2013-07-27 20:31:46 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 20:31:47 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 20:31:54 – Safety.geo] New emulator found: emulator-5556
        [2013-07-27 20:31:54 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-27 20:32:16 – Safety.geo] Launch canceled!
        [2013-07-27 20:37:38 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-27 20:37:38 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-27 20:37:41 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 20:39:54 – Safety.geo] Failed to install Safety.geo.apk on device ‘emulator-5556!
        [2013-07-27 20:39:54 – Safety.geo] (null)
        [2013-07-27 20:39:54 – Safety.geo] Launch canceled!
        [2013-07-27 21:36:43 – Safety.geo] ——————————
        [2013-07-27 21:36:43 – Safety.geo] Android Launch!
        [2013-07-27 21:36:43 – Safety.geo] adb is running normally.
        [2013-07-27 21:36:43 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 21:36:43 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 21:36:54 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5554′
        [2013-07-27 21:36:55 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 21:38:56 – Safety.geo] Failed to install Safety.geo.apk on device ‘emulator-5554!
        [2013-07-27 21:38:56 – Safety.geo] (null)
        [2013-07-27 21:38:56 – Safety.geo] Launch canceled!
        [2013-07-27 21:39:58 – Safety.geo] ——————————
        [2013-07-27 21:39:58 – Safety.geo] Android Launch!
        [2013-07-27 21:39:58 – Safety.geo] adb is running normally.
        [2013-07-27 21:39:58 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 21:39:58 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 21:40:15 – SDK Manager] Deleting file C:\Users\Arpit\.android\avd\Samsung.ini
        [2013-07-27 21:40:15 – SDK Manager] Deleting folder C:\Users\Arpit\.android\avd\Samsung.avd
        [2013-07-27 21:40:16 – SDK Manager] AVD ‘Samsung’ deleted.
        [2013-07-27 21:40:24 – SDK Manager] AVD ‘Samsung’ deleted.
        [2013-07-27 21:41:14 – SDK Manager] Created AVD ‘Nokia’ based on Android 4.2.2, ARM (armeabi-v7a) processor,
        [2013-07-27 21:41:14 – SDK Manager] with the following hardware config:
        [2013-07-27 21:41:14 – SDK Manager] hw.sdCard=no
        [2013-07-27 21:41:14 – SDK Manager] hw.device.manufacturer=Generic
        [2013-07-27 21:41:14 – SDK Manager] hw.mainKeys=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.lcd.density=120
        [2013-07-27 21:41:14 – SDK Manager] hw.accelerometer=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.dPad=no
        [2013-07-27 21:41:14 – SDK Manager] hw.device.hash=-687651286
        [2013-07-27 21:41:14 – SDK Manager] hw.trackBall=no
        [2013-07-27 21:41:14 – SDK Manager] hw.device.name=2.7in QVGA slider
        [2013-07-27 21:41:14 – SDK Manager] hw.camera.back=none
        [2013-07-27 21:41:14 – SDK Manager] hw.sensors.proximity=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.battery=yes
        [2013-07-27 21:41:14 – SDK Manager] disk.dataPartition.size=200M
        [2013-07-27 21:41:14 – SDK Manager] hw.audioInput=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.sensors.orientation=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.gps=yes
        [2013-07-27 21:41:14 – SDK Manager] skin.dynamic=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.keyboard.lid=yes
        [2013-07-27 21:41:14 – SDK Manager] hw.keyboard=yes
        [2013-07-27 21:41:14 – SDK Manager] vm.heapSize=16
        [2013-07-27 21:41:14 – SDK Manager] hw.ramSize=512
        [2013-07-27 21:41:23 – Safety.geo] Launch canceled!
        [2013-07-27 21:41:26 – Safety.geo] ——————————
        [2013-07-27 21:41:26 – Safety.geo] Android Launch!
        [2013-07-27 21:41:26 – Safety.geo] adb is running normally.
        [2013-07-27 21:41:26 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 21:41:26 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 21:41:32 – Safety.geo] Launching a new emulator with Virtual Device ‘Nokia’
        [2013-07-27 21:41:57 – Safety.geo] New emulator found: emulator-5556
        [2013-07-27 21:41:57 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-27 21:44:16 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-27 21:44:16 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-27 21:44:17 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 21:46:18 – Safety.geo] Success!
        [2013-07-27 21:46:18 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5556
        [2013-07-27 21:46:23 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safety.geo/.MainActivity }
        [2013-07-27 21:51:25 – Safety.geo] ——————————
        [2013-07-27 21:51:25 – Safety.geo] Android Launch!
        [2013-07-27 21:51:25 – Safety.geo] adb is running normally.
        [2013-07-27 21:51:25 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 21:51:25 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 21:51:36 – SDK Manager] Deleting file C:\Users\Arpit\.android\avd\Nokia.ini
        [2013-07-27 21:51:36 – SDK Manager] Deleting folder C:\Users\Arpit\.android\avd\Nokia.avd
        [2013-07-27 21:51:37 – SDK Manager] AVD ‘Nokia’ deleted.
        [2013-07-27 21:51:42 – SDK Manager] AVD ‘Nokia’ deleted.
        [2013-07-27 23:28:53 – SDK Manager] Created AVD ‘SmartAndroid’ based on Android 4.2.2, ARM (armeabi-v7a) processor,
        [2013-07-27 23:28:53 – SDK Manager] with the following hardware config:
        [2013-07-27 23:28:53 – SDK Manager] hw.sdCard=no
        [2013-07-27 23:28:53 – SDK Manager] hw.device.manufacturer=Google
        [2013-07-27 23:28:53 – SDK Manager] hw.mainKeys=no
        [2013-07-27 23:28:53 – SDK Manager] hw.lcd.density=320
        [2013-07-27 23:28:53 – SDK Manager] hw.accelerometer=yes
        [2013-07-27 23:28:53 – SDK Manager] hw.dPad=no
        [2013-07-27 23:28:53 – SDK Manager] hw.device.hash=1197498893
        [2013-07-27 23:28:53 – SDK Manager] hw.trackBall=no
        [2013-07-27 23:28:53 – SDK Manager] hw.device.name=Galaxy Nexus
        [2013-07-27 23:28:53 – SDK Manager] hw.camera.back=emulated
        [2013-07-27 23:28:53 – SDK Manager] hw.sensors.proximity=yes
        [2013-07-27 23:28:53 – SDK Manager] hw.battery=yes
        [2013-07-27 23:28:53 – SDK Manager] disk.dataPartition.size=1024M
        [2013-07-27 23:28:53 – SDK Manager] hw.audioInput=yes
        [2013-07-27 23:28:53 – SDK Manager] hw.sensors.orientation=yes
        [2013-07-27 23:28:53 – SDK Manager] hw.camera.front=webcam0
        [2013-07-27 23:28:53 – SDK Manager] hw.gps=yes
        [2013-07-27 23:28:53 – SDK Manager] skin.dynamic=yes
        [2013-07-27 23:28:53 – SDK Manager] hw.keyboard=yes
        [2013-07-27 23:28:53 – SDK Manager] vm.heapSize=64
        [2013-07-27 23:28:53 – SDK Manager] hw.ramSize=512
        [2013-07-27 23:30:03 – Safety.geo] Launch canceled!
        [2013-07-27 23:37:55 – Safety.geo] ——————————
        [2013-07-27 23:37:55 – Safety.geo] Android Launch!
        [2013-07-27 23:37:55 – Safety.geo] adb is running normally.
        [2013-07-27 23:37:55 – Safety.geo] Performing com.safety.geo.MainActivity activity launch
        [2013-07-27 23:37:56 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-27 23:39:08 – Safety.geo] Launching a new emulator with Virtual Device ‘SmartAndroid’
        [2013-07-27 23:39:22 – Safety.geo] New emulator found: emulator-5556
        [2013-07-27 23:39:22 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-27 23:40:12 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-27 23:40:12 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-27 23:40:12 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-27 23:41:01 – Safety.geo] Success!
        [2013-07-27 23:41:01 – Safety.geo] Starting activity com.safety.geo.MainActivity on device emulator-5556
        [2013-07-27 23:41:03 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safety.geo/.MainActivity }
        [2013-07-28 00:37:12 – com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\Arpit\.android\Safety.geo\AndroidManifest.xml: XML version “2.0” is not supported, only XML 1.0 is supported.
        [2013-07-28 00:37:12 – Safety.geo] Error in an XML file: aborting build.
        [2013-07-28 00:37:21 – com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\Arpit\.android\Safety.geo\AndroidManifest.xml: XML version “2.0” is not supported, only XML 1.0 is supported.
        [2013-07-28 00:37:30 – Safety.geo] Parser exception for /Safety.geo/AndroidManifest.xml: XML version “2.0” is not supported, only XML 1.0 is supported.
        [2013-07-28 00:37:40 – com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser exception for C:\Users\Arpit\.android\Safety.geo\AndroidManifest.xml: XML version “2.0” is not supported, only XML 1.0 is supported.
        [2013-07-28 00:37:50 – Safety.geo] Parser exception for /Safety.geo/AndroidManifest.xml: XML version “2.0” is not supported, only XML 1.0 is supported.
        [2013-07-28 00:39:06 – Safety.geo] ——————————
        [2013-07-28 00:39:06 – Safety.geo] Android Launch!
        [2013-07-28 00:39:06 – Safety.geo] adb is running normally.
        [2013-07-28 00:39:06 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 00:39:06 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 00:39:12 – Safety.geo] Launching a new emulator with Virtual Device ‘SmartAndroid’
        [2013-07-28 00:39:21 – Safety.geo] New emulator found: emulator-5556
        [2013-07-28 00:39:21 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-28 00:40:24 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-28 00:40:24 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-28 00:40:24 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-28 00:41:10 – Safety.geo] Success!
        [2013-07-28 00:41:10 – Safety.geo] Starting activity com.example.MainActivity on device emulator-5556
        [2013-07-28 00:41:12 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example/.MainActivity }
        [2013-07-28 00:43:05 – Safety.geo] ——————————
        [2013-07-28 00:43:05 – Safety.geo] Android Launch!
        [2013-07-28 00:43:05 – Safety.geo] adb is running normally.
        [2013-07-28 00:43:05 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 00:43:05 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 00:43:13 – Safety.geo] Application already deployed. No need to reinstall.
        [2013-07-28 00:43:13 – Safety.geo] Starting activity com.example.MainActivity on device emulator-5556
        [2013-07-28 00:43:14 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example/.MainActivity }
        [2013-07-28 00:44:59 – Safety.geo] ——————————
        [2013-07-28 00:44:59 – Safety.geo] Android Launch!
        [2013-07-28 00:44:59 – Safety.geo] adb is running normally.
        [2013-07-28 00:44:59 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 00:44:59 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 00:45:39 – SDK Manager] Created AVD ‘New’ based on Android 4.2.2, ARM (armeabi-v7a) processor,
        [2013-07-28 00:45:39 – SDK Manager] with the following hardware config:
        [2013-07-28 00:45:39 – SDK Manager] hw.sdCard=no
        [2013-07-28 00:45:39 – SDK Manager] hw.device.manufacturer=Google
        [2013-07-28 00:45:39 – SDK Manager] hw.mainKeys=no
        [2013-07-28 00:45:39 – SDK Manager] hw.lcd.density=320
        [2013-07-28 00:45:39 – SDK Manager] hw.accelerometer=yes
        [2013-07-28 00:45:39 – SDK Manager] hw.dPad=no
        [2013-07-28 00:45:39 – SDK Manager] hw.device.hash=1197498893
        [2013-07-28 00:45:39 – SDK Manager] hw.trackBall=no
        [2013-07-28 00:45:39 – SDK Manager] hw.device.name=Galaxy Nexus
        [2013-07-28 00:45:39 – SDK Manager] hw.camera.back=none
        [2013-07-28 00:45:39 – SDK Manager] hw.sensors.proximity=yes
        [2013-07-28 00:45:39 – SDK Manager] hw.battery=yes
        [2013-07-28 00:45:39 – SDK Manager] disk.dataPartition.size=200M
        [2013-07-28 00:45:39 – SDK Manager] hw.audioInput=yes
        [2013-07-28 00:45:39 – SDK Manager] hw.sensors.orientation=yes
        [2013-07-28 00:45:39 – SDK Manager] hw.camera.front=none
        [2013-07-28 00:45:39 – SDK Manager] hw.gps=yes
        [2013-07-28 00:45:39 – SDK Manager] skin.dynamic=yes
        [2013-07-28 00:45:39 – SDK Manager] hw.keyboard=yes
        [2013-07-28 00:45:39 – SDK Manager] vm.heapSize=64
        [2013-07-28 00:45:39 – SDK Manager] hw.ramSize=1024
        [2013-07-28 00:46:43 – SDK Manager] Created AVD ‘new1′ based on Android 4.2.2, ARM (armeabi-v7a) processor,
        [2013-07-28 00:46:43 – SDK Manager] with the following hardware config:
        [2013-07-28 00:46:43 – SDK Manager] hw.sdCard=no
        [2013-07-28 00:46:43 – SDK Manager] hw.device.manufacturer=Generic
        [2013-07-28 00:46:43 – SDK Manager] hw.mainKeys=no
        [2013-07-28 00:46:43 – SDK Manager] hw.lcd.density=160
        [2013-07-28 00:46:43 – SDK Manager] hw.accelerometer=yes
        [2013-07-28 00:46:43 – SDK Manager] hw.dPad=no
        [2013-07-28 00:46:43 – SDK Manager] hw.device.hash=-1537072293
        [2013-07-28 00:46:43 – SDK Manager] hw.trackBall=no
        [2013-07-28 00:46:43 – SDK Manager] hw.device.name=7in WSVGA (Tablet)
        [2013-07-28 00:46:43 – SDK Manager] hw.sensors.proximity=yes
        [2013-07-28 00:46:43 – SDK Manager] hw.battery=yes
        [2013-07-28 00:46:43 – SDK Manager] disk.dataPartition.size=200M
        [2013-07-28 00:46:43 – SDK Manager] hw.audioInput=yes
        [2013-07-28 00:46:43 – SDK Manager] hw.sensors.orientation=yes
        [2013-07-28 00:46:43 – SDK Manager] hw.camera.front=none
        [2013-07-28 00:46:43 – SDK Manager] hw.gps=yes
        [2013-07-28 00:46:43 – SDK Manager] skin.dynamic=yes
        [2013-07-28 00:46:43 – SDK Manager] hw.keyboard=yes
        [2013-07-28 00:46:43 – SDK Manager] vm.heapSize=16
        [2013-07-28 00:46:43 – SDK Manager] hw.ramSize=512
        [2013-07-28 00:46:56 – Safety.geo] Launch canceled!
        [2013-07-28 00:47:02 – Safety.geo] ——————————
        [2013-07-28 00:47:02 – Safety.geo] Android Launch!
        [2013-07-28 00:47:02 – Safety.geo] adb is running normally.
        [2013-07-28 00:47:02 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 00:47:02 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 00:47:07 – Safety.geo] Launching a new emulator with Virtual Device ‘New’
        [2013-07-28 00:47:09 – Emulator] Failed to allocate memory: 8
        [2013-07-28 00:47:09 – Emulator]
        [2013-07-28 00:47:09 – Emulator] This application has requested the Runtime to terminate it in an unusual way.
        [2013-07-28 00:47:09 – Emulator] Please contact the application’s support team for more information.
        [2013-07-28 00:47:18 – Safety.geo] ——————————
        [2013-07-28 00:47:18 – Safety.geo] Android Launch!
        [2013-07-28 00:47:18 – Safety.geo] adb is running normally.
        [2013-07-28 00:47:18 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 00:47:18 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 00:47:24 – Safety.geo] Launching a new emulator with Virtual Device ‘new1′
        [2013-07-28 00:47:25 – Safety.geo] New emulator found: emulator-5556
        [2013-07-28 00:47:25 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-28 00:48:30 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-28 00:48:30 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-28 00:48:31 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-28 00:49:17 – Safety.geo] Success!
        [2013-07-28 00:49:17 – Safety.geo] Starting activity com.example.MainActivity on device emulator-5556
        [2013-07-28 00:49:19 – Safety.geo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example/.MainActivity }
        [2013-07-28 10:25:02 – Safety.geo] ——————————
        [2013-07-28 10:25:02 – Safety.geo] Android Launch!
        [2013-07-28 10:25:02 – Safety.geo] adb is running normally.
        [2013-07-28 10:25:02 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 10:25:02 – Safety.geo] ——————————
        [2013-07-28 10:25:02 – Safety.geo] Android Launch!
        [2013-07-28 10:25:02 – Safety.geo] adb is running normally.
        [2013-07-28 10:25:02 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 10:25:03 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 10:25:04 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 10:27:22 – SDK Manager] Created AVD ‘MapAVDGAP10′ based on Android 4.2.2, ARM (armeabi-v7a) processor,
        [2013-07-28 10:27:22 – SDK Manager] with the following hardware config:
        [2013-07-28 10:27:22 – SDK Manager] hw.sdCard=no
        [2013-07-28 10:27:22 – SDK Manager] hw.device.manufacturer=Generic
        [2013-07-28 10:27:22 – SDK Manager] hw.mainKeys=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.lcd.density=160
        [2013-07-28 10:27:22 – SDK Manager] hw.accelerometer=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.dPad=no
        [2013-07-28 10:27:22 – SDK Manager] hw.device.hash=339498471
        [2013-07-28 10:27:22 – SDK Manager] hw.trackBall=no
        [2013-07-28 10:27:22 – SDK Manager] hw.device.name=5.4in FWVGA
        [2013-07-28 10:27:22 – SDK Manager] hw.camera.back=none
        [2013-07-28 10:27:22 – SDK Manager] hw.sensors.proximity=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.battery=yes
        [2013-07-28 10:27:22 – SDK Manager] disk.dataPartition.size=200M
        [2013-07-28 10:27:22 – SDK Manager] hw.audioInput=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.sensors.orientation=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.gps=yes
        [2013-07-28 10:27:22 – SDK Manager] skin.dynamic=yes
        [2013-07-28 10:27:22 – SDK Manager] hw.keyboard=yes
        [2013-07-28 10:27:22 – SDK Manager] vm.heapSize=16
        [2013-07-28 10:27:22 – SDK Manager] hw.ramSize=512
        [2013-07-28 10:27:32 – Safety.geo] Launch canceled!
        [2013-07-28 10:27:38 – Safety.geo] Launch canceled!
        [2013-07-28 10:27:40 – Safety.geo] ——————————
        [2013-07-28 10:27:40 – Safety.geo] Android Launch!
        [2013-07-28 10:27:40 – Safety.geo] adb is running normally.
        [2013-07-28 10:27:40 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 10:27:40 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 10:28:19 – Safety.geo] New emulator found: emulator-5556
        [2013-07-28 10:28:19 – Safety.geo] Waiting for HOME (‘android.process.acore’) to be launched…
        [2013-07-28 10:32:03 – Safety.geo] HOME is up on device ‘emulator-5556′
        [2013-07-28 10:32:04 – Safety.geo] Uploading Safety.geo.apk onto device ‘emulator-5556′
        [2013-07-28 10:32:05 – Safety.geo] Installing Safety.geo.apk…
        [2013-07-28 10:32:07 – Safety.geo] Launch canceled!
        [2013-07-28 10:34:11 – Safety.geo] Failed to install Safety.geo.apk on device ‘emulator-5556!
        [2013-07-28 10:34:11 – Safety.geo] (null)
        [2013-07-28 10:34:11 – Safety.geo] Launch canceled!
        [2013-07-28 10:39:58 – Safety.geo] ——————————
        [2013-07-28 10:39:58 – Safety.geo] Android Launch!
        [2013-07-28 10:39:58 – Safety.geo] adb is running normally.
        [2013-07-28 10:39:58 – Safety.geo] Performing com.example.MainActivity activity launch
        [2013-07-28 10:39:59 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
        [2013-07-28 10:41:38 – Safety.geo] Launch canceled!

        this is the output on consol…,in logcat there is no output…

        • See you got this line : [2013-07-28 10:39:59 – Safety.geo] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
          This means that you need to have an AVD or an actual Android device already existing whose version is same as the version with which you created your Android project. It means if you select Android 2.3.3 as Target SDK, then you need to create AVD with Android 2.3.3. Check this link for more details!

  11. i did all above ,and that what i get :

    “The application AndroidGoogleMapsDemo(proccess com.example) has stopped unexpectedly,please try again .”

      • [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] ——————————
        [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] Android Launch!
        [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] adb is running normally.
        [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] Performing com.example.MainActivity activity launch
        [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] Automatic Target Mode: using existing emulator ‘emulator-5554′ running compatible AVD ‘A’
        [2013-07-28 16:43:38 – AndroidGoogleMapsDemo] Uploading AndroidGoogleMapsDemo.apk onto device ‘emulator-5554′
        [2013-07-28 16:43:42 – AndroidGoogleMapsDemo] Installing AndroidGoogleMapsDemo.apk…
        [2013-07-28 16:43:50 – AndroidGoogleMapsDemo] Success!
        [2013-07-28 16:43:50 – AndroidGoogleMapsDemo] Starting activity com.example.MainActivity on device emulator-5554
        [2013-07-28 16:43:51 – AndroidGoogleMapsDemo] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example/.MainActivity }

        • This is console output not logcat! I can see that the Activity is starting correctly but then if its giving you force close error as described by you in earlier comments, you need to check the logcat window for any errors or warnings.
          You can test the code on an emulator but it would take a lot of time…I suggest run the code on an actual android device by connecting usb cable.

    • Hi Nisha!

      I haven’t tested it on emulator but it will surely run on on actual device since the screenshots over here are of my phone. The error means that you need to download google-play-services. Then import and add the google-play-services library project as a reference to the AndroidGoogleMapsDemo project!

      It should then work! Follow all the steps mentioned over here! :)

      Thanks for visiting! :)

  12. still getting errors:

    here my log:

    07-31 16:47:31.093: I/DEBUG(30): debuggerd: Jun 30 2010 13:59:20
    07-31 16:47:31.123: I/Vold(28): Vold 2.1 (the revenge) firing up
    07-31 16:47:31.123: D/Vold(28): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
    07-31 16:47:31.174: I/Netd(29): Netd 1.0 starting
    07-31 16:47:31.183: D/qemud(37): entering main loop
    07-31 16:47:31.523: W/Vold(28): No UMS switch available
    07-31 16:47:31.633: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:31.633: D/qemud(37): created client 0xe078 listening on fd 8
    07-31 16:47:31.643: D/qemud(37): client_fd_receive: attempting registration for service ‘boot-properties’
    07-31 16:47:31.643: D/qemud(37): client_fd_receive: -> received channel id 1
    07-31 16:47:31.653: D/qemud(37): client_registration: registration succeeded for client 1
    07-31 16:47:31.653: I/qemu-props(50): connected to ‘boot-properties’ qemud service.
    07-31 16:47:31.664: I/qemu-props(50): received: dalvik.vm.heapsize=32m
    07-31 16:47:31.664: I/qemu-props(50): received: qemu.sf.lcd_density=240
    07-31 16:47:31.664: I/qemu-props(50): received: qemu.hw.mainkeys=1
    07-31 16:47:31.664: I/qemu-props(50): received: qemu.sf.fake_camera=none
    07-31 16:47:31.664: I/qemu-props(50): received:
    07-31 16:47:31.664: I/qemu-props(50): invalid format, ignored.
    07-31 16:47:32.263: D/AndroidRuntime(32): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<< received channel id 2
    07-31 16:47:32.333: D/qemud(37): client_registration: registration succeeded for client 2
    07-31 16:47:32.773: I/(33): ServiceManager: 0xacd0
    07-31 16:47:32.773: D/AudioHardwareInterface(33): setMode(NORMAL)
    07-31 16:47:32.793: I/CameraService(33): CameraService started: pid=33
    07-31 16:47:32.813: I/AudioFlinger(33): AudioFlinger’s thread 0xb3f0 ready to run
    07-31 16:47:32.853: D/AndroidRuntime(32): — registering native functions —
    07-31 16:47:33.264: I/SamplingProfilerIntegration(32): Profiler is disabled.
    07-31 16:47:33.325: I/Zygote(32): Preloading classes…
    07-31 16:47:33.325: E/Zygote(32): setreuid() failed. errno: 2
    07-31 16:47:33.343: D/dalvikvm(32): GC_EXPLICIT freed 821 objects / 47496 bytes in 16ms
    07-31 16:47:33.623: D/dalvikvm(32): GC_EXPLICIT freed 219 objects / 13600 bytes in 5ms
    07-31 16:47:33.703: D/dalvikvm(32): GC_EXPLICIT freed 253 objects / 14360 bytes in 5ms
    07-31 16:47:33.773: D/dalvikvm(32): GC_EXPLICIT freed 468 objects / 28984 bytes in 5ms
    07-31 16:47:34.063: D/dalvikvm(32): GC_EXPLICIT freed 2088 objects / 108280 bytes in 9ms
    07-31 16:47:34.253: W/MediaProfiles(32): could not find media config xml file
    07-31 16:47:34.283: D/dalvikvm(32): GC_EXPLICIT freed 279 objects / 15984 bytes in 9ms
    07-31 16:47:34.623: D/dalvikvm(32): GC_FOR_MALLOC freed 5052 objects / 223992 bytes in 29ms
    07-31 16:47:35.533: D/dalvikvm(32): GC_FOR_MALLOC freed 11253 objects / 381344 bytes in 24ms
    07-31 16:47:35.813: D/dalvikvm(32): GC_FOR_MALLOC freed 9798 objects / 461152 bytes in 25ms
    07-31 16:47:36.053: D/dalvikvm(32): GC_FOR_MALLOC freed 8690 objects / 422872 bytes in 26ms
    07-31 16:47:36.443: D/dalvikvm(32): GC_FOR_MALLOC freed 7835 objects / 458864 bytes in 27ms
    07-31 16:47:36.883: D/dalvikvm(32): GC_FOR_MALLOC freed 7626 objects / 457776 bytes in 28ms
    07-31 16:47:37.283: D/dalvikvm(32): GC_FOR_MALLOC freed 8231 objects / 513296 bytes in 28ms
    07-31 16:47:37.673: D/dalvikvm(32): GC_FOR_MALLOC freed 7558 objects / 487104 bytes in 29ms
    07-31 16:47:37.703: D/dalvikvm(32): GC_EXPLICIT freed 175 objects / 9248 bytes in 21ms
    07-31 16:47:37.903: D/dalvikvm(32): GC_EXPLICIT freed 594 objects / 29024 bytes in 25ms
    07-31 16:47:37.964: D/dalvikvm(32): GC_EXPLICIT freed 449 objects / 25280 bytes in 26ms
    07-31 16:47:38.193: D/dalvikvm(32): GC_EXPLICIT freed 308 objects / 35136 bytes in 36ms
    07-31 16:47:38.324: D/dalvikvm(32): GC_EXPLICIT freed 279 objects / 18896 bytes in 39ms
    07-31 16:47:38.633: D/dalvikvm(32): GC_EXPLICIT freed 341 objects / 18472 bytes in 36ms
    07-31 16:47:38.813: D/dalvikvm(32): GC_EXPLICIT freed 449 objects / 28352 bytes in 33ms
    07-31 16:47:40.102: D/dalvikvm(32): GC_EXPLICIT freed 529 objects / 53248 bytes in 37ms
    07-31 16:47:40.192: D/dalvikvm(32): GC_EXPLICIT freed 623 objects / 34016 bytes in 39ms
    07-31 16:47:40.292: D/dalvikvm(32): GC_EXPLICIT freed 861 objects / 46872 bytes in 38ms
    07-31 16:47:40.432: D/dalvikvm(32): GC_EXPLICIT freed 1747 objects / 85512 bytes in 39ms
    07-31 16:47:40.522: D/dalvikvm(32): GC_EXPLICIT freed 447 objects / 29416 bytes in 38ms
    07-31 16:47:40.612: D/dalvikvm(32): GC_EXPLICIT freed 315 objects / 20184 bytes in 45ms
    07-31 16:47:40.622: I/Zygote(32): …preloaded 1265 classes in 7295ms.
    07-31 16:47:40.622: E/Zygote(32): setreuid() failed. errno: 17
    07-31 16:47:40.662: D/dalvikvm(32): GC_EXPLICIT freed 104 objects / 14200 bytes in 38ms
    07-31 16:47:40.802: I/Zygote(32): Preloading resources…
    07-31 16:47:40.812: W/Zygote(32): Preloaded drawable resource #0x1080093 (res/drawable-hdpi/sym_def_app_icon.png) that varies with configuration!!
    07-31 16:47:40.822: W/Zygote(32): Preloaded drawable resource #0x1080002 (res/drawable-hdpi/arrow_down_float.png) that varies with configuration!!
    07-31 16:47:40.852: W/Zygote(32): Preloaded drawable resource #0x10800b3 (res/drawable/btn_check.xml) that varies with configuration!!
    07-31 16:47:40.852: W/Zygote(32): Preloaded drawable resource #0x10800b6 (res/drawable-hdpi/btn_check_label_background.9.png) that varies with configuration!!
    07-31 16:47:40.852: W/Zygote(32): Preloaded drawable resource #0x10800b7 (res/drawable-hdpi/btn_check_off.png) that varies with configuration!!
    07-31 16:47:40.852: W/Zygote(32): Preloaded drawable resource #0x10800bc (res/drawable-hdpi/btn_check_on.png) that varies with configuration!!
    07-31 16:47:40.872: W/Zygote(32): Preloaded drawable resource #0x1080004 (res/drawable/btn_default.xml) that varies with configuration!!
    07-31 16:47:40.882: W/Zygote(32): Preloaded drawable resource #0x1080005 (res/drawable/btn_default_small.xml) that varies with configuration!!
    07-31 16:47:40.902: W/Zygote(32): Preloaded drawable resource #0x1080006 (res/drawable/btn_dropdown.xml) that varies with configuration!!
    07-31 16:47:40.912: W/Zygote(32): Preloaded drawable resource #0x1080008 (res/drawable/btn_plus.xml) that varies with configuration!!
    07-31 16:47:40.932: W/Zygote(32): Preloaded drawable resource #0x1080007 (res/drawable/btn_minus.xml) that varies with configuration!!
    07-31 16:47:40.952: W/Zygote(32): Preloaded drawable resource #0x1080009 (res/drawable/btn_radio.xml) that varies with configuration!!
    07-31 16:47:40.982: W/Zygote(32): Preloaded drawable resource #0x108000a (res/drawable/btn_star.xml) that varies with configuration!!
    07-31 16:47:41.022: D/dalvikvm(32): GC_EXPLICIT freed 421 objects / 25848 bytes in 40ms
    07-31 16:47:41.032: W/Zygote(32): Preloaded drawable resource #0x1080131 (res/drawable/btn_toggle.xml) that varies with configuration!!
    07-31 16:47:41.032: W/Zygote(32): Preloaded drawable resource #0x1080194 (res/drawable-hdpi/ic_emergency.png) that varies with configuration!!
    07-31 16:47:41.032: W/Zygote(32): Preloaded drawable resource #0x1080012 (res/drawable-hdpi/divider_horizontal_bright.9.png) that varies with configuration!!
    07-31 16:47:41.042: W/Zygote(32): Preloaded drawable resource #0x1080014 (res/drawable-hdpi/divider_horizontal_dark.9.png) that varies with configuration!!
    07-31 16:47:41.052: W/Zygote(32): Preloaded drawable resource #0x1080016 (res/drawable/edit_text.xml) that varies with configuration!!
    07-31 16:47:41.063: W/Zygote(32): Preloaded drawable resource #0x108016d (res/drawable/expander_group.xml) that varies with configuration!!
    07-31 16:47:41.082: W/Zygote(32): Preloaded drawable resource #0x1080062 (res/drawable/list_selector_background.xml) that varies with configuration!!
    07-31 16:47:41.082: W/Zygote(32): Preloaded drawable resource #0x1080227 (res/drawable-hdpi/menu_background.9.png) that varies with configuration!!
    07-31 16:47:41.082: W/Zygote(32): Preloaded drawable resource #0x1080228 (res/drawable-hdpi/menu_background_fill_parent_width.9.png) that varies with configuration!!
    07-31 16:47:41.092: W/Zygote(32): Preloaded drawable resource #0x1080229 (res/drawable/menu_selector.xml) that varies with configuration!!
    07-31 16:47:41.102: W/Zygote(32): Preloaded drawable resource #0x1080234 (res/drawable-hdpi/panel_background.9.png) that varies with configuration!!
    07-31 16:47:41.102: W/Zygote(32): Preloaded drawable resource #0x108023b (res/drawable-hdpi/popup_bottom_bright.9.png) that varies with configuration!!
    07-31 16:47:41.102: W/Zygote(32): Preloaded drawable resource #0x108023c (res/drawable-hdpi/popup_bottom_dark.9.png) that varies with configuration!!
    07-31 16:47:41.102: W/Zygote(32): Preloaded drawable resource #0x108023d (res/drawable-hdpi/popup_bottom_medium.9.png) that varies with configuration!!
    07-31 16:47:41.112: W/Zygote(32): Preloaded drawable resource #0x108023e (res/drawable-hdpi/popup_center_bright.9.png) that varies with configuration!!
    07-31 16:47:41.112: W/Zygote(32): Preloaded drawable resource #0x108023f (res/drawable-hdpi/popup_center_dark.9.png) that varies with configuration!!
    07-31 16:47:41.112: W/Zygote(32): Preloaded drawable resource #0x1080242 (res/drawable-hdpi/popup_full_dark.9.png) that varies with configuration!!
    07-31 16:47:41.122: W/Zygote(32): Preloaded drawable resource #0x1080245 (res/drawable-hdpi/popup_top_bright.9.png) that varies with configuration!!
    07-31 16:47:41.122: W/Zygote(32): Preloaded drawable resource #0x1080246 (res/drawable-hdpi/popup_top_dark.9.png) that varies with configuration!!
    07-31 16:47:41.132: W/Zygote(32): Preloaded drawable resource #0x108006d (res/drawable/progress_indeterminate_horizontal.xml) that varies with configuration!!
    07-31 16:47:41.142: W/Zygote(32): Preloaded drawable resource #0x108024c (res/drawable/progress_small.xml) that varies with configuration!!
    07-31 16:47:41.142: W/Zygote(32): Preloaded drawable resource #0x108024d (res/drawable/progress_small_titlebar.xml) that varies with configuration!!
    07-31 16:47:41.152: W/Zygote(32): Preloaded drawable resource #0x1080270 (res/drawable-hdpi/scrollbar_handle_horizontal.9.png) that varies with configuration!!
    07-31 16:47:41.152: W/Zygote(32): Preloaded drawable resource #0x1080271 (res/drawable-hdpi/scrollbar_handle_vertical.9.png) that varies with configuration!!
    07-31 16:47:41.192: D/dalvikvm(32): GC_EXPLICIT freed 477 objects / 32608 bytes in 40ms
    07-31 16:47:41.202: W/Zygote(32): Preloaded drawable resource #0x1080071 (res/drawable/spinner_dropdown_background.xml) that varies with configuration!!
    07-31 16:47:41.212: W/Zygote(32): Preloaded drawable resource #0x1080354 (res/drawable-hdpi/title_bar_shadow.9.png) that varies with configuration!!
    07-31 16:47:41.212: W/Zygote(32): Preloaded drawable resource #0x10801d6 (res/drawable-hdpi/indicator_code_lock_drag_direction_green_up.png) that varies with configuration!!
    07-31 16:47:41.212: W/Zygote(32): Preloaded drawable resource #0x10801d7 (res/drawable-hdpi/indicator_code_lock_drag_direction_red_up.png) that varies with configuration!!
    07-31 16:47:41.222: W/Zygote(32): Preloaded drawable resource #0x10801d8 (res/drawable-hdpi/indicator_code_lock_point_area_default.png) that varies with configuration!!
    07-31 16:47:41.222: W/Zygote(32): Preloaded drawable resource #0x10801d9 (res/drawable-hdpi/indicator_code_lock_point_area_green.png) that varies with configuration!!
    07-31 16:47:41.222: W/Zygote(32): Preloaded drawable resource #0x10801da (res/drawable-hdpi/indicator_code_lock_point_area_red.png) that varies with configuration!!
    07-31 16:47:41.233: W/Zygote(32): Preloaded drawable resource #0x10801e8 (res/drawable-hdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies with configuration!!
    07-31 16:47:41.233: W/Zygote(32): Preloaded drawable resource #0x10801ec (res/drawable-hdpi/jog_tab_bar_left_end_normal.9.png) that varies with configuration!!
    07-31 16:47:41.233: W/Zygote(32): Preloaded drawable resource #0x10801ed (res/drawable-hdpi/jog_tab_bar_left_end_pressed.9.png) that varies with configuration!!
    07-31 16:47:41.233: W/Zygote(32): Preloaded drawable resource #0x10801f1 (res/drawable-hdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies with configuration!!
    07-31 16:47:41.242: W/Zygote(32): Preloaded drawable resource #0x10801f5 (res/drawable-hdpi/jog_tab_bar_right_end_normal.9.png) that varies with configuration!!
    07-31 16:47:41.242: W/Zygote(32): Preloaded drawable resource #0x10801f6 (res/drawable-hdpi/jog_tab_bar_right_end_pressed.9.png) that varies with configuration!!
    07-31 16:47:41.242: W/Zygote(32): Preloaded drawable resource #0x10801fb (res/drawable-hdpi/jog_tab_left_confirm_gray.png) that varies with configuration!!
    07-31 16:47:41.252: W/Zygote(32): Preloaded drawable resource #0x1080200 (res/drawable-hdpi/jog_tab_left_normal.png) that varies with configuration!!
    07-31 16:47:41.252: W/Zygote(32): Preloaded drawable resource #0x1080201 (res/drawable-hdpi/jog_tab_left_pressed.png) that varies with configuration!!
    07-31 16:47:41.252: W/Zygote(32): Preloaded drawable resource #0x1080203 (res/drawable-hdpi/jog_tab_right_confirm_gray.png) that varies with configuration!!
    07-31 16:47:41.262: W/Zygote(32): Preloaded drawable resource #0x1080209 (res/drawable-hdpi/jog_tab_right_normal.png) that varies with configuration!!
    07-31 16:47:41.262: W/Zygote(32): Preloaded drawable resource #0x108020a (res/drawable-hdpi/jog_tab_right_pressed.png) that varies with configuration!!
    07-31 16:47:41.262: W/Zygote(32): Preloaded drawable resource #0x108020d (res/drawable-hdpi/jog_tab_target_gray.png) that varies with configuration!!
    07-31 16:47:41.262: I/Zygote(32): …preloaded 61 resources in 466ms.
    07-31 16:47:41.282: I/Zygote(32): …preloaded 15 resources in 18ms.
    07-31 16:47:41.322: D/dalvikvm(32): GC_EXPLICIT freed 503 objects / 37880 bytes in 40ms
    07-31 16:47:41.372: D/dalvikvm(32): GC_EXPLICIT freed 150 objects / 5808 bytes in 43ms
    07-31 16:47:41.412: D/dalvikvm(32): GC_EXPLICIT freed 2 objects / 48 bytes in 41ms
    07-31 16:47:41.422: I/dalvikvm(32): System server process 58 has been created
    07-31 16:47:41.422: I/Zygote(32): Accepting command socket connections
    07-31 16:47:41.693: E/BatteryService(58): usbOnlinePath not found
    07-31 16:47:41.693: E/BatteryService(58): batteryVoltagePath not found
    07-31 16:47:41.693: E/BatteryService(58): batteryTemperaturePath not found
    07-31 16:47:41.693: I/sysproc(58): Entered system_init()
    07-31 16:47:41.693: I/sysproc(58): ServiceManager: 0x11ff90
    07-31 16:47:41.702: I/SurfaceFlinger(58): SurfaceFlinger is starting
    07-31 16:47:41.702: I/SurfaceFlinger(58): SurfaceFlinger’s main thread ready to run. Initializing graphics H/W…
    07-31 16:47:41.702: E/SurfaceFlinger(58): Couldn’t open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake
    07-31 16:47:41.812: I/gralloc(58): using (fd=24)
    07-31 16:47:41.812: I/gralloc(58): id =
    07-31 16:47:41.812: I/gralloc(58): xres = 480 px
    07-31 16:47:41.812: I/gralloc(58): yres = 800 px
    07-31 16:47:41.812: I/gralloc(58): xres_virtual = 480 px
    07-31 16:47:41.812: I/gralloc(58): yres_virtual = 1600 px
    07-31 16:47:41.812: I/gralloc(58): bpp = 16
    07-31 16:47:41.812: I/gralloc(58): r = 11:5
    07-31 16:47:41.812: I/gralloc(58): g = 5:6
    07-31 16:47:41.812: I/gralloc(58): b = 0:5
    07-31 16:47:41.812: I/gralloc(58): width = 74 mm (164.756760 dpi)
    07-31 16:47:41.812: I/gralloc(58): height = 123 mm (165.203247 dpi)
    07-31 16:47:41.812: I/gralloc(58): refresh rate = 60.00 Hz
    07-31 16:47:41.822: D/libEGL(58): egl.cfg not found, using default config
    07-31 16:47:41.832: D/libEGL(58): loaded /system/lib/egl/libGLES_android.so
    07-31 16:47:41.842: I/SurfaceFlinger(58): EGL informations:
    07-31 16:47:41.842: I/SurfaceFlinger(58): # of configs : 8
    07-31 16:47:41.842: I/SurfaceFlinger(58): vendor : Android
    07-31 16:47:41.842: I/SurfaceFlinger(58): version : 1.4 Android META-EGL
    07-31 16:47:41.842: I/SurfaceFlinger(58): extensions: EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
    07-31 16:47:41.842: I/SurfaceFlinger(58): Client API: OpenGL ES
    07-31 16:47:41.842: I/SurfaceFlinger(58): EGLSurface: 5-6-5-0, config=0x1000000
    07-31 16:47:41.842: I/SurfaceFlinger(58): flags : 001c0000
    07-31 16:47:41.852: I/SurfaceFlinger(58): OpenGL informations:
    07-31 16:47:41.852: I/SurfaceFlinger(58): vendor : Android
    07-31 16:47:41.852: I/SurfaceFlinger(58): renderer : Android PixelFlinger 1.3
    07-31 16:47:41.852: I/SurfaceFlinger(58): version : OpenGL ES-CM 1.0
    07-31 16:47:41.852: I/SurfaceFlinger(58): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
    07-31 16:47:41.852: I/SurfaceFlinger(58): GL_MAX_TEXTURE_SIZE = 4096
    07-31 16:47:41.852: I/SurfaceFlinger(58): GL_MAX_VIEWPORT_DIMS = 4096
    07-31 16:47:41.932: I/sysproc(58): System server: starting Android runtime.
    07-31 16:47:41.942: I/sysproc(58): System server: starting Android services.
    07-31 16:47:41.942: I/SystemServer(58): Entered the Android system server!
    07-31 16:47:41.962: I/SystemServer(58): Entropy Service
    07-31 16:47:41.972: I/sysproc(58): System server: entering thread pool.
    07-31 16:47:42.152: I/SystemServer(58): Power Manager
    07-31 16:47:42.182: I/SystemServer(58): Activity Manager
    07-31 16:47:42.212: I/ActivityManager(58): Memory class: 32
    07-31 16:47:42.252: D/libEGL(68): egl.cfg not found, using default config
    07-31 16:47:42.252: D/libEGL(68): loaded /system/lib/egl/libGLES_android.so
    07-31 16:47:42.315: W/zipro(68): Unable to open zip ‘/data/local/bootanimation.zip': No such file or directory
    07-31 16:47:42.315: W/zipro(68): Unable to open zip ‘/system/media/bootanimation.zip': No such file or directory
    07-31 16:47:42.552: I/ARMAssembler(58): generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x22a0b0:0x22a154] in 12957854 ns
    07-31 16:47:42.612: I/ARMAssembler(68): generated scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at [0x1c020:0x1c0ec] in 2545254 ns
    07-31 16:47:42.863: I/SystemServer(58): Telephony Registry
    07-31 16:47:42.872: I/SystemServer(58): Package Manager
    07-31 16:47:42.906: I/Installer(58): connecting…
    07-31 16:47:42.912: I/installd(34): new connection
    07-31 16:47:43.002: I/PackageManager(58): Libs: android.test.runner:/system/framework/android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
    07-31 16:47:43.002: I/PackageManager(58): Features: android.hardware.camera android.hardware.camera.autofocus
    07-31 16:47:43.342: D/dalvikvm(58): GC_FOR_MALLOC freed 5722 objects / 237104 bytes in 121ms
    07-31 16:47:43.702: W/PackageManager(58): Running ENG build: no pre-dexopt!
    07-31 16:47:43.762: D/PackageManager(58): Scanning app dir /system/framework
    07-31 16:47:43.972: D/PackageManager(58): Scanning app dir /system/app
    07-31 16:47:44.312: D/dalvikvm(58): GC_FOR_MALLOC freed 7693 objects / 370512 bytes in 84ms
    07-31 16:47:45.222: D/dalvikvm(58): GC_FOR_MALLOC freed 5686 objects / 310648 bytes in 83ms
    07-31 16:47:45.782: D/PackageManager(58): Scanning app dir /data/app
    07-31 16:47:46.202: D/dalvikvm(58): GC_FOR_MALLOC freed 6366 objects / 333552 bytes in 95ms
    07-31 16:47:46.262: W/PackageParser(58): No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1841
    07-31 16:47:46.262: W/PackageParser(58): No actions in intent filter at /data/app/ApiDemos.apk Binary XML file line #1847
    07-31 16:47:46.273: W/PackageManager(58): Package com.example.android.apis desires unavailable shared library com.example.will.never.exist; ignoring!
    07-31 16:47:46.332: D/PackageManager(58): Scanning app dir /data/app-private
    07-31 16:47:46.332: I/PackageManager(58): Time to scan packages: 2.627 seconds
    07-31 16:47:46.343: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
    07-31 16:47:46.343: W/PackageManager(58): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
    07-31 16:47:46.343: W/PackageManager(58): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
    07-31 16:47:46.352: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
    07-31 16:47:46.362: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
    07-31 16:47:46.362: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
    07-31 16:47:46.362: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
    07-31 16:47:47.612: D/dalvikvm(58): GC_EXPLICIT freed 4715 objects / 292952 bytes in 112ms
    07-31 16:47:47.622: I/SystemServer(58): Account Manager
    07-31 16:47:47.772: I/SystemServer(58): Content Manager
    07-31 16:47:48.322: I/SystemServer(58): System Content Providers
    07-31 16:47:48.322: I/ActivityThread(58): Publishing provider settings: com.android.providers.settings.SettingsProvider
    07-31 16:47:48.452: I/SystemServer(58): Battery Service
    07-31 16:47:48.472: I/SystemServer(58): Lights Service
    07-31 16:47:48.472: I/SystemServer(58): Vibrator Service
    07-31 16:47:48.472: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:48.472: D/qemud(37): created client 0x12f88 listening on fd 12
    07-31 16:47:48.472: D/qemud(37): client_fd_receive: attempting registration for service ‘hw-control’
    07-31 16:47:48.472: D/qemud(37): client_fd_receive: -> received channel id 3
    07-31 16:47:48.552: D/qemud(37): client_registration: registration succeeded for client 3
    07-31 16:47:48.712: I/SystemServer(58): Alarm Manager
    07-31 16:47:48.734: I/SystemServer(58): Init Watchdog
    07-31 16:47:48.734: I/SystemServer(58): Sensor Service
    07-31 16:47:48.734: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:48.734: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:48.734: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:48.734: D/qemud(37): client_fd_receive: -> received channel id 4
    07-31 16:47:48.742: D/qemud(37): client_registration: registration succeeded for client 4
    07-31 16:47:48.812: D/qemud(37): fdhandler_event: disconnect on fd 13
    07-31 16:47:48.812: I/SystemServer(58): Window Manager
    07-31 16:47:48.872: I/EventHub(58): New keyboard: device->id=0x10000 devname=’qwerty2′ propName=’hw.keyboards.65536.devname’ keylayout=’/system/usr/keylayout/qwerty.kl’
    07-31 16:47:48.872: I/EventHub(58): New device: path=/dev/input/event0 name=qwerty2 id=0x10000 (of 0x1) index=1 fd=50 classes=0xf
    07-31 16:47:48.884: E/EventHub(58): could not get driver version for /dev/input/mouse0, Not a typewriter
    07-31 16:47:48.884: E/EventHub(58): could not get driver version for /dev/input/mice, Not a typewriter
    07-31 16:47:48.884: I/KeyInputQueue(58): Device added: id=0x0, name=qwerty2, classes=f
    07-31 16:47:48.884: I/KeyInputQueue(58): X: min=0 max=479 flat=0 fuzz=0
    07-31 16:47:48.884: I/KeyInputQueue(58): Y: min=0 max=799 flat=0 fuzz=0
    07-31 16:47:48.884: I/KeyInputQueue(58): Pressure: unknown values
    07-31 16:47:48.884: I/KeyInputQueue(58): Size: unknown values
    07-31 16:47:48.884: I/KeyInputQueue(58): No virtual keys found
    07-31 16:47:48.922: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:48.922: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:48.922: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:48.922: D/qemud(37): client_fd_receive: -> received channel id 5
    07-31 16:47:49.002: D/qemud(37): client_registration: registration succeeded for client 5
    07-31 16:47:49.092: D/qemud(37): fdhandler_event: disconnect on fd 13
    07-31 16:47:49.102: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:49.102: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:49.102: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:49.102: D/qemud(37): client_fd_receive: -> received channel id 6
    07-31 16:47:49.180: D/qemud(37): client_registration: registration succeeded for client 6
    07-31 16:47:49.202: D/qemud(37): fdhandler_event: disconnect on fd 13
    07-31 16:47:49.212: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:49.212: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:49.212: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:49.212: D/qemud(37): client_fd_receive: -> received channel id 7
    07-31 16:47:49.293: D/qemud(37): client_registration: registration succeeded for client 7
    07-31 16:47:49.382: D/qemud(37): fdhandler_event: disconnect on fd 13
    07-31 16:47:49.382: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:49.382: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:49.382: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:49.382: D/qemud(37): client_fd_receive: -> received channel id 8
    07-31 16:47:49.460: D/qemud(37): client_registration: registration succeeded for client 8
    07-31 16:47:49.572: D/qemud(37): fdhandler_event: disconnect on fd 13
    07-31 16:47:49.612: I/SystemServer(58): Registering null Bluetooth Service (emulator)
    07-31 16:47:49.612: E/System(58): Failure starting core service
    07-31 16:47:49.612: E/System(58): java.lang.SecurityException
    07-31 16:47:49.612: E/System(58): at android.os.BinderProxy.transact(Native Method)
    07-31 16:47:49.612: E/System(58): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
    07-31 16:47:49.612: E/System(58): at android.os.ServiceManager.addService(ServiceManager.java:72)
    07-31 16:47:49.612: E/System(58): at com.android.server.ServerThread.run(SystemServer.java:184)
    07-31 16:47:49.612: I/SystemServer(58): Device Policy
    07-31 16:47:49.623: I/SystemServer(58): Status Bar
    07-31 16:47:49.832: I/SystemServer(58): Clipboard Service
    07-31 16:47:49.832: I/SystemServer(58): Input Method Service
    07-31 16:47:49.904: I/InputManagerService(58): Enabled input methods: com.android.inputmethod.latin/.LatinIME:com.android.inputmethod.pinyin/.PinyinIME:jp.co.omronsoft.openwnn/.OpenWnnJAJP
    07-31 16:47:49.904: I/SystemServer(58): NetStat Service
    07-31 16:47:49.912: I/SystemServer(58): NetworkManagement Service
    07-31 16:47:49.922: I/SystemServer(58): Connectivity Service
    07-31 16:47:49.922: V/ConnectivityService(58): ConnectivityService starting up
    07-31 16:47:49.952: D/ConnectivityService(58): getMobileDataEnabled returning true
    07-31 16:47:49.962: V/ConnectivityService(58): Starting Wifi Service.
    07-31 16:47:50.022: I/WifiService(58): WifiService starting up with Wi-Fi disabled
    07-31 16:47:50.032: D/Tethering(58): Tethering starting
    07-31 16:47:50.032: D/NetworkManagmentService(58): Registering observer
    07-31 16:47:50.052: I/SystemServer(58): Throttle Service
    07-31 16:47:50.052: I/SystemServer(58): Accessibility Manager
    07-31 16:47:50.062: I/SystemServer(58): Mount Service
    07-31 16:47:50.072: I/SystemServer(58): Notification Manager
    07-31 16:47:50.093: D/VoldCmdListener(28): volume list
    07-31 16:47:50.093: I/SystemServer(58): Device Storage Monitor
    07-31 16:47:50.232: D/dalvikvm(58): GC_FOR_MALLOC freed 3962 objects / 240368 bytes in 118ms
    07-31 16:47:50.232: I/SystemServer(58): Location Manager
    07-31 16:47:50.232: I/SystemServer(58): Search Service
    07-31 16:47:50.232: I/SystemServer(58): DropBox Service
    07-31 16:47:50.242: I/SystemServer(58): Wallpaper Service
    07-31 16:47:50.252: W/MountService(58): Duplicate state transition (removed -> removed)
    07-31 16:47:50.252: D/VoldCmdListener(28): share status ums
    07-31 16:47:50.262: I/SystemServer(58): Audio Service
    07-31 16:47:50.432: D/AudioHardwareInterface(33): setMode(NORMAL)
    07-31 16:47:50.432: W/AudioPolicyManagerBase(33): setPhoneState() setting same state 0
    07-31 16:47:50.452: E/SoundPool(58): error loading /system/media/audio/ui/Effect_Tick.ogg
    07-31 16:47:50.452: W/AudioService(58): Soundpool could not load file: /system/media/audio/ui/Effect_Tick.ogg
    07-31 16:47:50.452: E/SoundPool(58): error loading /system/media/audio/ui/KeypressStandard.ogg
    07-31 16:47:50.452: W/AudioService(58): Soundpool could not load file: /system/media/audio/ui/KeypressStandard.ogg
    07-31 16:47:50.452: E/SoundPool(58): error loading /system/media/audio/ui/KeypressSpacebar.ogg
    07-31 16:47:50.452: W/AudioService(58): Soundpool could not load file: /system/media/audio/ui/KeypressSpacebar.ogg
    07-31 16:47:50.462: E/SoundPool(58): error loading /system/media/audio/ui/KeypressDelete.ogg
    07-31 16:47:50.462: W/AudioService(58): Soundpool could not load file: /system/media/audio/ui/KeypressDelete.ogg
    07-31 16:47:50.462: E/SoundPool(58): error loading /system/media/audio/ui/KeypressReturn.ogg
    07-31 16:47:50.462: W/AudioService(58): Soundpool could not load file: /system/media/audio/ui/KeypressReturn.ogg
    07-31 16:47:50.473: I/SystemServer(58): Headset Observer
    07-31 16:47:50.482: W/HeadsetObserver(58): This kernel does not have wired headset support
    07-31 16:47:50.482: I/SystemServer(58): Dock Observer
    07-31 16:47:50.482: W/DockObserver(58): This kernel does not have dock station support
    07-31 16:47:50.482: I/SystemServer(58): UI Mode Manager Service
    07-31 16:47:50.512: I/SystemServer(58): Backup Service
    07-31 16:47:50.532: V/BackupManagerService(58): No ancestral data
    07-31 16:47:50.772: I/BackupManagerService(58): Found stale backup journal, scheduling:
    07-31 16:47:50.772: I/BackupManagerService(58): + com.android.inputmethod.latin
    07-31 16:47:50.772: I/BackupManagerService(58): + com.android.browser
    07-31 16:47:50.772: I/BackupManagerService(58): + com.android.providers.userdictionary
    07-31 16:47:50.772: I/BackupManagerService(58): + android
    07-31 16:47:50.772: I/BackupManagerService(58): + com.android.providers.settings
    07-31 16:47:50.801: I/BackupManagerService(58): Backup enabled => false
    07-31 16:47:50.802: I/SystemServer(58): AppWidget Service
    07-31 16:47:50.802: I/SystemServer(58): Recognition Service
    07-31 16:47:50.812: D/VoldCmdListener(28): share status ums
    07-31 16:47:50.822: D/StorageNotification(58): Startup with UMS connection false (media state removed)
    07-31 16:47:50.822: I/SystemServer(58): DiskStats Service
    07-31 16:47:50.832: I/WindowManager(58): SAFE MODE not enabled
    07-31 16:47:50.842: W/DevicePolicyManagerService(58): failed parsing /data/system/device_policies.xml java.io.FileNotFoundException: /data/system/device_policies.xml (No such file or directory)
    07-31 16:47:50.872: I/ActivityManager(58): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=0 seq=1}
    07-31 16:47:50.892: D/PowerManagerService(58): system ready!
    07-31 16:47:50.892: I/ActivityManager(58): System now ready
    07-31 16:47:50.912: I/SystemServer(58): Making services ready
    07-31 16:47:50.912: I/ActivityManager(58): Config changed: { scale=1.0 imsi=0/0 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=2}
    07-31 16:47:50.932: W/RecognitionManagerService(58): no available voice recognition services found
    07-31 16:47:51.113: I/Zygote(58): Process: zygote socket opened
    07-31 16:47:51.152: I/ActivityManager(58): Start proc jp.co.omronsoft.openwnn for service jp.co.omronsoft.openwnn/.OpenWnnJAJP: pid=100 uid=10023 gids={}
    07-31 16:47:51.173: D/libhardware_legacy(58): using QEMU GPS Hardware emulation
    07-31 16:47:51.222: D/NetworkManagmentService(58): Registering observer
    07-31 16:47:51.263: E/ThrottleService(58): Could not open GPS configuration file /etc/gps.conf
    07-31 16:47:51.562: I/ActivityManager(58): Start proc com.android.phone for added application com.android.phone: pid=108 uid=1001 gids={3002, 3001, 3003, 1015}
    07-31 16:47:51.572: I/ActivityManager(58): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher }
    07-31 16:47:51.692: I/ActivityManager(58): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=110 uid=10025 gids={}
    07-31 16:47:51.703: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:51.703: D/qemud(37): created client 0xc038 listening on fd 13
    07-31 16:47:51.703: D/qemud(37): client_fd_receive: attempting registration for service ‘sensors’
    07-31 16:47:51.703: D/qemud(37): client_fd_receive: -> received channel id 9
    07-31 16:47:51.712: D/qemud(37): client_registration: registration succeeded for client 9
    07-31 16:47:51.743: W/GpsLocationProvider(58): Could not open GPS configuration file /etc/gps.conf
    07-31 16:47:51.762: W/StatusBar(58): No icon ID for slot ime
    07-31 16:47:51.902: I/ActivityManager(58): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=118 uid=1000 gids={3002, 3001, 3003}
    07-31 16:47:52.254: D/dalvikvm(58): GC_FOR_MALLOC freed 5191 objects / 299016 bytes in 310ms
    07-31 16:47:52.664: D/StatusBar(58): DISABLE_EXPAND: yes
    07-31 16:47:52.812: W/ActivityManager(58): Unable to start service Intent { act=@0 }: not found
    07-31 16:47:52.812: W/ActivityManager(58): Unable to start service Intent { act=@0 }: not found
    07-31 16:47:53.133: I/ActivityThread(110): Publishing provider com.android.launcher2.settings: com.android.launcher2.LauncherProvider
    07-31 16:47:53.212: D/dalvikvm(100): No JNI_OnLoad found in /system/lib/libwnndict.so 0x45ebd588, skipping init
    07-31 16:47:53.223: I/ActivityThread(108): Publishing provider icc: com.android.phone.IccProvider
    07-31 16:47:53.303: I/ActivityThread(108): Publishing provider mms-sms: com.android.providers.telephony.MmsSmsProvider
    07-31 16:47:53.332: D/qemud(37): fdhandler_accept_event: accepting on fd 10
    07-31 16:47:53.332: D/qemud(37): created client 0xc088 listening on fd 14
    07-31 16:47:53.413: E/logwrapper(130): executing /system/bin/tc failed: No such file or directory
    07-31 16:47:53.423: I/logwrapper(29): /system/bin/tc terminated by exit(255)
    07-31 16:47:53.423: E/logwrapper(131): executing /system/bin/tc failed: No such file or directory
    07-31 16:47:53.474: I/logwrapper(29): /system/bin/tc terminated by exit(255)
    07-31 16:47:53.493: E/logwrapper(132): executing /system/bin/tc failed: No such file or directory
    07-31 16:47:53.493: D/qemud(37): client_fd_receive: attempting registration for service ‘gps’
    07-31 16:47:53.493: D/qemud(37): client_fd_receive: -> received channel id 10
    07-31 16:47:53.503: D/qemud(37): client_registration: registration succeeded for client 10
    07-31 16:47:53.521: I/logwrapper(29): /system/bin/tc terminated by exit(255)
    07-31 16:47:53.603: I/ActivityThread(108): Publishing provider mms: com.android.providers.telephony.MmsProvider
    07-31 16:47:53.643: I/ActivityThread(108): Publishing provider sms: com.android.providers.telephony.SmsProvider
    07-31 16:47:53.823: I/ActivityThread(108): Publishing provider telephony: com.android.providers.telephony.TelephonyProvider
    07-31 16:47:54.032: D/dalvikvm(100): GC_FOR_MALLOC freed 1346 objects / 240136 bytes in 600ms
    07-31 16:47:54.153: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 941 objects / 71560 bytes in 486ms
    07-31 16:47:55.013: D/dalvikvm(100): GC_FOR_MALLOC freed 385 objects / 393432 bytes in 466ms
    07-31 16:47:55.173: D/ConnectivityService(58): getMobileDataEnabled returning true
    07-31 16:47:55.603: I/ActivityManager(58): Start proc android.process.acore for content provider com.android.providers.contacts/.CallLogProvider: pid=143 uid=10000 gids={3003, 1015}
    07-31 16:47:55.893: D/PhoneApp(108): onCreate: mProximityWakeLock: null
    07-31 16:47:55.993: W/ActivityManager(58): Unable to start service Intent { act=com.android.ussd.IExtendedNetworkService }: not found
    07-31 16:47:56.254: D/PhoneApp(108): Resetting audio state/mode: IDLE
    07-31 16:47:56.863: D/AlarmManagerService(58): Kernel timezone updated to 0 minutes west of GMT
    07-31 16:47:56.240: W/SystemClock(108): Unable to set rtc to 1375289276: Invalid argument
    07-31 16:47:56.575: D/dalvikvm(58): GC_EXTERNAL_ALLOC freed 4393 objects / 255664 bytes in 423ms
    07-31 16:47:56.955: D/MobileDataStateTracker(58): default Received state= DISCONNECTED, old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
    07-31 16:47:56.985: I/ActivityManager(58): Start proc com.android.alarmclock for broadcast com.android.alarmclock/.AlarmInitReceiver: pid=151 uid=10009 gids={}
    07-31 16:47:57.054: D/SystemClock(108): Setting time of day to sec=1375289276
    07-31 16:47:57.085: D/MobileDataStateTracker(58): default Received state= DISCONNECTED, old= DISCONNECTED, reason= gprsDetached, apnTypeList= default
    07-31 16:47:57.135: I/ActivityThread(143): Publishing provider com.android.social: com.android.providers.contacts.SocialProvider
    07-31 16:47:57.705: I/ActivityThread(143): Publishing provider applications: com.android.providers.applications.ApplicationsProvider
    07-31 16:47:58.405: D/dalvikvm(108): GC_FOR_MALLOC freed 3613 objects / 219712 bytes in 736ms
    07-31 16:47:58.795: I/ActivityThread(151): Publishing provider com.android.alarmclock: com.android.alarmclock.AlarmProvider
    07-31 16:47:58.965: I/ActivityThread(143): Publishing provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
    07-31 16:47:59.725: D/MccTable(108): updateMccMncConfiguration: mcc=310, mnc=260
    07-31 16:47:59.725: D/MccTable(108): locale set to en_us
    07-31 16:47:59.725: D/MccTable(108): WIFI_NUM_ALLOWED_CHANNELS set to 11
    07-31 16:47:59.755: D/MobileDataStateTracker(58): default Received state= DISCONNECTED, old= DISCONNECTED, reason= (unspecified), apnTypeList= default
    07-31 16:47:59.785: I/WifiService(58): WifiService trying to setNumAllowed to 11 with persist set to true
    07-31 16:47:59.877: I/ActivityManager(58): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=3}
    07-31 16:47:59.895: I/UsageStats(58): Unexpected resume of com.android.launcher while already resumed in com.android.launcher
    07-31 16:47:59.925: D/dalvikvm(58): GREF has increased to 201
    07-31 16:48:02.414: W/ActivityManager(58): Activity idle timeout for HistoryRecord{46066cb8 com.android.launcher/com.android.launcher2.Launcher}
    07-31 16:48:04.075: I/ContactsDatabaseHelper(143): Upgrading from version 706 to 309
    07-31 16:48:04.634: D/PowerManagerService(58): bootCompleted
    07-31 16:48:04.864: I/ActivityManager(58): Start proc com.android.music for broadcast com.android.music/.MediaAppWidgetProvider: pid=167 uid=10022 gids={3003, 1015}
    07-31 16:48:04.894: W/WindowManager(58): App freeze timeout expired.
    07-31 16:48:04.894: W/WindowManager(58): Force clearing freeze: AppWindowToken{4606ad18 token=HistoryRecord{46066cb8 com.android.launcher/com.android.launcher2.Launcher}}
    07-31 16:48:05.124: I/SearchManagerService(58): Building list of searchable activities
    07-31 16:48:05.544: E/ContactsProvider(143): Cannot start provider
    07-31 16:48:05.544: E/ContactsProvider(143): java.lang.IllegalStateException: error upgrading the database to version 309
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.providers.contacts.ContactsDatabaseHelper.onUpgrade(ContactsDatabaseHelper.java:1507)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:108)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2507)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:158)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.providers.contacts.LegacyApiSupport.(LegacyApiSupport.java:525)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.providers.contacts.ContactsProvider2.initialize(ContactsProvider2.java:1861)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.providers.contacts.ContactsProvider2.onCreate(ContactsProvider2.java:1850)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.content.ContentProvider.attachInfo(ContentProvider.java:733)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread.access$3000(ActivityThread.java:125)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.os.Looper.loop(Looper.java:123)
    07-31 16:48:05.544: E/ContactsProvider(143): at android.app.ActivityThread.main(ActivityThread.java:4627)
    07-31 16:48:05.544: E/ContactsProvider(143): at java.lang.reflect.Method.invokeNative(Native Method)
    07-31 16:48:05.544: E/ContactsProvider(143): at java.lang.reflect.Method.invoke(Method.java:521)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    07-31 16:48:05.544: E/ContactsProvider(143): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    07-31 16:48:05.544: E/ContactsProvider(143): at dalvik.system.NativeStart.main(Native Method)
    07-31 16:48:05.544: I/ActivityThread(143): Publishing provider call_log: com.android.providers.contacts.CallLogProvider
    07-31 16:48:05.834: D/TelephonyProvider(108): Setting numeric ‘310260’ to be the current operator
    07-31 16:48:05.914: D/MobileDataStateTracker(58): default Received state= CONNECTING, old= DISCONNECTED, reason= simLoaded, apnTypeList= *
    07-31 16:48:05.914: D/NetworkStateTracker(58): setDetailed state, old =IDLE and new state=CONNECTING
    07-31 16:48:05.914: D/ConnectivityService(58): ConnectivityChange for mobile: CONNECTING/CONNECTING
    07-31 16:48:06.034: D/MobileDataStateTracker(58): replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for hipri
    07-31 16:48:06.034: D/MobileDataStateTracker(58): replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for supl
    07-31 16:48:06.034: D/MobileDataStateTracker(58): replacing old mInterfaceName (null) with /dev/omap_csmi_tty1 for mms
    07-31 16:48:06.034: D/MobileDataStateTracker(58): default Received state= CONNECTED, old= CONNECTING, reason= simLoaded, apnTypeList= *
    07-31 16:48:06.034: D/NetworkStateTracker(58): setDetailed state, old =CONNECTING and new state=CONNECTED
    07-31 16:48:06.034: D/ConnectivityService(58): ConnectivityChange for mobile: CONNECTED/CONNECTED
    07-31 16:48:06.044: V/NetworkStateTracker(58): Setting TCP values: [4094,87380,110208,4096,16384,110208] which comes from [net.tcp.buffersize.umts]
    07-31 16:48:06.126: D/ConnectivityService(58): adding dns 10.0.2.3 for mobile
    07-31 16:48:06.144: D/Tethering(58): Tethering got CONNECTIVITY_ACTION
    07-31 16:48:06.144: D/Tethering(58): MasterInitialState.processMessage what=3
    07-31 16:48:06.144: E/HierarchicalStateMachine(58): TetherMaster – unhandledMessage: msg.what=3
    07-31 16:48:06.224: I/ActivityManager(58): Start proc com.android.quicksearchbox for broadcast com.android.quicksearchbox/.SearchWidgetProvider: pid=173 uid=10012 gids={3003}
    07-31 16:48:06.494: D/SntpClient(58): request time failed: java.net.SocketException: Address family not supported by protocol
    07-31 16:48:07.034: I/ContactsDatabaseHelper(143): Upgrading from version 706 to 309
    07-31 16:48:07.225: D/dalvikvm(58): GC_EXPLICIT freed 6757 objects / 380424 bytes in 325ms
    07-31 16:48:07.254: I/ActivityThread(173): Publishing provider com.android.quicksearchbox.google: com.android.quicksearchbox.google.GoogleSuggestionProvider
    07-31 16:48:08.024: I/ActivityManager(58): Start proc com.android.protips for broadcast com.android.protips/.ProtipWidget: pid=181 uid=10007 gids={}
    07-31 16:48:08.185: D/dalvikvm(110): GC_EXPLICIT freed 2425 objects / 147040 bytes in 221ms
    07-31 16:48:08.244: D/dalvikvm(32): GC_EXPLICIT freed 257 objects / 9728 bytes in 217ms
    07-31 16:48:08.624: D/dalvikvm(32): GC_EXPLICIT freed 35 objects / 1512 bytes in 376ms
    07-31 16:48:08.754: D/dalvikvm(32): GC_EXPLICIT freed 2 objects / 48 bytes in 130ms
    07-31 16:48:08.804: D/OtaStartupReceiver(108): Not a CDMA phone, no need to process OTA
    07-31 16:48:08.834: I/ActivityManager(58): Start proc android.process.media for broadcast com.android.providers.downloads/.DownloadReceiver: pid=188 uid=10002 gids={1015, 1006, 2001, 3003}
    07-31 16:48:08.844: I/RecoverySystem(58): No recovery log file
    07-31 16:48:09.194: I/ActivityThread(188): Publishing provider drm: com.android.providers.drm.DrmProvider
    07-31 16:48:09.254: I/ActivityThread(188): Publishing provider media: com.android.providers.media.MediaProvider
    07-31 16:48:09.774: V/MediaProvider(188): Attached volume: internal
    07-31 16:48:09.804: I/ActivityThread(188): Publishing provider downloads: com.android.providers.downloads.DownloadProvider
    07-31 16:48:10.794: D/AndroidRuntime(143): Shutting down VM
    07-31 16:48:10.794: W/dalvikvm(143): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
    07-31 16:48:10.895: E/AndroidRuntime(143): FATAL EXCEPTION: main
    07-31 16:48:10.895: E/AndroidRuntime(143): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: java.lang.IllegalStateException: error upgrading the database to version 309
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.installProvider(ActivityThread.java:4509)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.access$3000(ActivityThread.java:125)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.os.Looper.loop(Looper.java:123)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.main(ActivityThread.java:4627)
    07-31 16:48:10.895: E/AndroidRuntime(143): at java.lang.reflect.Method.invokeNative(Native Method)
    07-31 16:48:10.895: E/AndroidRuntime(143): at java.lang.reflect.Method.invoke(Method.java:521)
    07-31 16:48:10.895: E/AndroidRuntime(143): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    07-31 16:48:10.895: E/AndroidRuntime(143): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    07-31 16:48:10.895: E/AndroidRuntime(143): at dalvik.system.NativeStart.main(Native Method)
    07-31 16:48:10.895: E/AndroidRuntime(143): Caused by: java.lang.IllegalStateException: error upgrading the database to version 309
    07-31 16:48:10.895: E/AndroidRuntime(143): at com.android.providers.contacts.ContactsDatabaseHelper.onUpgrade(ContactsDatabaseHelper.java:1507)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:108)
    07-31 16:48:10.895: E/AndroidRuntime(143): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2507)
    07-31 16:48:10.895: E/AndroidRuntime(143): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:79)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.content.ContentProvider.attachInfo(ContentProvider.java:733)
    07-31 16:48:10.895: E/AndroidRuntime(143): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)
    07-31 16:48:10.895: E/AndroidRuntime(143): … 12 more
    07-31 16:48:11.075: I/SurfaceFlinger(58): Boot is finished (30193 ms)
    07-31 16:48:11.215: I/ARMAssembler(58): generated scanline__00000177:03515104_00000001_00000000 [ 73 ipp] (95 ins) at [0x33d1b0:0x33d32c] in 1194092 ns
    07-31 16:48:11.705: I/ActivityManager(58): Start proc com.android.mms for broadcast com.android.mms/.transaction.MmsSystemEventReceiver: pid=198 uid=10015 gids={3003, 1015}
    07-31 16:48:12.715: I/ActivityThread(198): Publishing provider com.android.mms.SuggestionsProvider: com.android.mms.SuggestionsProvider
    07-31 16:48:13.395: I/ActivityManager(58): Start proc com.android.email for broadcast com.android.email/com.android.exchange.BootReceiver: pid=213 uid=10030 gids={3003, 1015}
    07-31 16:48:14.206: I/ActivityThread(213): Publishing provider com.android.email.provider: com.android.email.provider.EmailProvider
    07-31 16:48:14.235: I/ActivityThread(213): Publishing provider com.android.exchange.provider: com.android.exchange.provider.ExchangeProvider
    07-31 16:48:14.235: I/ActivityThread(213): Publishing provider com.android.email.attachmentprovider: com.android.email.provider.AttachmentProvider
    07-31 16:48:14.335: D/Exchange(213): BootReceiver onReceive
    07-31 16:48:14.365: D/EAS SyncManager(213): !!! EAS SyncManager, onCreate
    07-31 16:48:14.625: D/EAS SyncManager(213): !!! EAS SyncManager, onStartCommand
    07-31 16:48:14.795: D/EAS SyncManager(213): !!! EAS SyncManager, stopping self
    07-31 16:48:14.795: D/Email(213): OneTimeInitializer: initializing…
    07-31 16:48:15.015: D/MediaScannerService(188): start scanning volume internal
    07-31 16:48:17.395: D/Eas Debug(213): Logging:
    07-31 16:48:17.405: D/EAS SyncManager(213): !!! EAS SyncManager, onDestroy
    07-31 16:48:17.996: D/MediaScanner(188): prescan time: 684ms
    07-31 16:48:17.996: D/MediaScanner(188): scan time: 3ms
    07-31 16:48:17.996: D/MediaScanner(188): postscan time: 1ms
    07-31 16:48:17.996: D/MediaScanner(188): total time: 688ms
    07-31 16:48:18.025: D/MediaScannerService(188): done scanning volume internal
    07-31 16:48:18.535: D/dalvikvm(110): GC_EXTERNAL_ALLOC freed 10368 objects / 489032 bytes in 90ms
    07-31 16:48:19.135: D/dalvikvm(110): GC_EXPLICIT freed 2406 objects / 119272 bytes in 69ms
    07-31 16:51:01.396: D/AndroidRuntime(240): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<< /data/dalvik-cache/data@app@com.example-1.apk@classes.dex
    07-31 16:51:38.475: D/PackageManager(58): New package installed in /data/app/com.example-1.apk
    07-31 16:51:38.484: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
    07-31 16:51:38.484: W/PackageManager(58): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
    07-31 16:51:38.494: W/PackageManager(58): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45)
    07-31 16:51:38.494: W/PackageManager(58): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
    07-31 16:51:38.494: W/PackageManager(58): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
    07-31 16:51:38.494: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
    07-31 16:51:38.494: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
    07-31 16:51:38.494: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.mapexplore.permission.MAPS_RECEIVE in package com.example
    07-31 16:51:38.505: W/PackageManager(58): Unknown permission com.google.android.providers.gsf.permission.READ_GSERVICES in package com.example
    07-31 16:51:39.644: D/dalvikvm(58): GC_EXPLICIT freed 9210 objects / 501600 bytes in 197ms
    07-31 16:51:39.644: D/AndroidRuntime(240): Shutting down VM
    07-31 16:51:39.675: D/dalvikvm(240): Debugger has detached; object registry had 1 entries
    07-31 16:51:39.714: I/ActivityManager(58): Start proc com.svox.pico for broadcast com.svox.pico/.VoiceDataInstallerReceiver: pid=255 uid=10028 gids={}
    07-31 16:51:39.754: I/AndroidRuntime(240): NOTE: attach of thread ‘Binder Thread #3′ failed
    07-31 16:51:39.864: W/RecognitionManagerService(58): no available voice recognition services found
    07-31 16:51:40.395: I/ActivityThread(255): Publishing provider com.svox.pico.providers.SettingsProvider: com.svox.pico.providers.SettingsProvider
    07-31 16:51:40.935: D/AndroidRuntime(264): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
    07-31 16:51:40.935: D/AndroidRuntime(264): CheckJNI is ON
    07-31 16:51:41.075: D/AndroidRuntime(264): — registering native functions —
    07-31 16:51:41.695: I/ActivityManager(58): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.example/.MainActivity }
    07-31 16:51:41.885: D/AndroidRuntime(264): Shutting down VM
    07-31 16:51:41.916: D/dalvikvm(264): Debugger has detached; object registry had 1 entries
    07-31 16:51:41.975: I/AndroidRuntime(264): NOTE: attach of thread 'Binder Thread #3' failed
    07-31 16:51:41.986: I/ActivityManager(58): Start proc com.example for activity com.example/.MainActivity: pid=271 uid=10038 gids={3003, 1015}
    07-31 16:51:42.585: I/dalvikvm(271): Could not find method com.example.MainActivity.getFragmentManager, referenced from method com.example.MainActivity.onCreate
    07-31 16:51:42.585: W/dalvikvm(271): VFY: unable to resolve virtual method 4849: Lcom/example/MainActivity;.getFragmentManager ()Landroid/app/FragmentManager;
    07-31 16:51:42.585: D/dalvikvm(271): VFY: replacing opcode 0x6e at 0x0008
    07-31 16:51:42.585: D/dalvikvm(271): VFY: dead code 0x000b-0036 in Lcom/example/MainActivity;.onCreate (Landroid/os/Bundle;)V
    07-31 16:51:42.736: D/AndroidRuntime(271): Shutting down VM
    07-31 16:51:42.736: W/dalvikvm(271): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
    07-31 16:51:42.786: E/AndroidRuntime(271): FATAL EXCEPTION: main
    07-31 16:51:42.786: E/AndroidRuntime(271): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.os.Looper.loop(Looper.java:123)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread.main(ActivityThread.java:4627)
    07-31 16:51:42.786: E/AndroidRuntime(271): at java.lang.reflect.Method.invokeNative(Native Method)
    07-31 16:51:42.786: E/AndroidRuntime(271): at java.lang.reflect.Method.invoke(Method.java:521)
    07-31 16:51:42.786: E/AndroidRuntime(271): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
    07-31 16:51:42.786: E/AndroidRuntime(271): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
    07-31 16:51:42.786: E/AndroidRuntime(271): at dalvik.system.NativeStart.main(Native Method)
    07-31 16:51:42.786: E/AndroidRuntime(271): Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
    07-31 16:51:42.786: E/AndroidRuntime(271): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.Activity.setContentView(Activity.java:1647)
    07-31 16:51:42.786: E/AndroidRuntime(271): at com.example.MainActivity.onCreate(MainActivity.java:29)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
    07-31 16:51:42.786: E/AndroidRuntime(271): … 11 more
    07-31 16:51:42.786: E/AndroidRuntime(271): Caused by: java.lang.ClassNotFoundException: android.view.fragment in loader dalvik.system.PathClassLoader[/data/app/com.example-1.apk]
    07-31 16:51:42.786: E/AndroidRuntime(271): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
    07-31 16:51:42.786: E/AndroidRuntime(271): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
    07-31 16:51:42.786: E/AndroidRuntime(271): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.createView(LayoutInflater.java:466)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:544)
    07-31 16:51:42.786: E/AndroidRuntime(271): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
    07-31 16:51:42.786: E/AndroidRuntime(271): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
    07-31 16:51:42.786: E/AndroidRuntime(271): … 20 more
    07-31 16:51:42.845: W/ActivityManager(58): Force finishing activity com.example/.MainActivity
    07-31 16:51:43.365: W/ActivityManager(58): Activity pause timeout for HistoryRecord{4600e2a8 com.example/.MainActivity}
    07-31 16:51:43.375: I/ActivityManager(58): Displayed activity com.android.launcher/com.android.launcher2.Launcher: 232537 ms (total 232537 ms)
    07-31 16:51:53.466: W/ActivityManager(58): Activity destroy timeout for HistoryRecord{4600e2a8 com.example/.MainActivity}
    07-31 16:52:02.005: D/KeyguardViewMediator(58): pokeWakelock(5000)
    07-31 16:52:02.434: D/KeyguardViewMediator(58): pokeWakelock(5000)
    07-31 16:52:03.115: D/KeyguardViewMediator(58): pokeWakelock(5000)
    07-31 16:52:03.325: D/KeyguardViewMediator(58): pokeWakelock(5000)
    07-31 16:52:03.615: W/WindowManager(58): No window to dispatch pointer action 1
    07-31 16:52:03.776: I/ARMAssembler(58): generated scanline__00000177:03515104_00001001_00000000 [ 91 ipp] (114 ins) at [0x2a79f0:0x2a7bb8] in 936620 ns
    07-31 16:52:04.015: I/ARMAssembler(58): generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x2a7bc0:0x2a7c7c] in 398923 ns
    07-31 16:52:10.925: I/Process(271): Sending signal. PID: 271 SIG: 9
    07-31 16:52:10.945: I/ActivityManager(58): Process com.example (pid 271) has died.
    07-31 16:52:12.755: I/Process(143): Sending signal. PID: 143 SIG: 9
    07-31 16:52:12.775: I/ActivityManager(58): Process android.process.acore (pid 143) has died.
    07-31 16:52:12.795: I/ActivityManager(58): Start proc android.process.acore for restart android.process.acore: pid=280 uid=10000 gids={3003, 1015}
    07-31 16:52:13.326: I/ActivityThread(280): Publishing provider com.android.social: com.android.providers.contacts.SocialProvider
    07-31 16:52:13.355: I/ActivityThread(280): Publishing provider applications: com.android.providers.applications.ApplicationsProvider
    07-31 16:52:13.445: I/ActivityThread(280): Publishing provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
    07-31 16:52:13.746: I/ContactsDatabaseHelper(280): Upgrading from version 706 to 309
    07-31 16:52:13.866: E/ContactsProvider(280): Cannot start provider
    07-31 16:52:13.866: E/ContactsProvider(280): java.lang.IllegalStateException: error upgrading the database to version 309
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.providers.contacts.ContactsDatabaseHelper.onUpgrade(ContactsDatabaseHelper.java:1507)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:108)
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2507)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:158)
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.providers.contacts.LegacyApiSupport.(LegacyApiSupport.java:525)
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.providers.contacts.ContactsProvider2.initialize(ContactsProvider2.java:1861)
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.providers.contacts.ContactsProvider2.onCreate(ContactsProvider2.java:1850)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.content.ContentProvider.attachInfo(ContentProvider.java:733)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread.installProvider(ActivityThread.java:4506)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread.access$3000(ActivityThread.java:125)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.os.Handler.dispatchMessage(Handler.java:99)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.os.Looper.loop(Looper.java:123)
    07-31 16:52:13.866: E/ContactsProvider(280): at android.app.ActivityThread.main(ActivityThread.java:4627)
    07-31 16:52:13.866: E/ContactsProvider(280): at java.lang.reflect.Method.invokeNative(Native Method)
    07-31 16:52:13.866: E/ContactsProvider(280): at java.lang.reflect.Method.invoke(Method.java:521)
    07-31 16:52:13.866: E/ContactsProvider(280): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:86

  13. I follow your tutorial, without leaving any steps. I did everything it is mentioned. And the program is loading, but I have a blank white screen instead of the map. And I even have the arrows for the zoom, but no map. In my logcat, I have an error-tag Google maps Android API, and the text is – “Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors)”

    For the key, I have given it the right package and I have internet and the Maps app is working fine. Any ideas what I’m missing Please?
    Best tutorial I’ve found so far… if only the map is showing..

    • That’s strange! :( I am sorry for the inconvenience. I did not really face this problem when I implemented it from scratch. A quick google search on your issue, gave me this link as well as this. I hope it works for you! :)

      Thanks for visiting! :)

      • 08-01 20:14:28.352: E/AndroidRuntime(1011): FATAL EXCEPTION: main
        08-01 20:14:28.352: E/AndroidRuntime(1011): java.lang.NoClassDefFoundError: com.google.android.gms.R$styleable
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.google.android.gms.maps.GoogleMapOptions.createFromAttributes(Unknown Source)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.google.android.gms.maps.MapFragment.onInflate(Unknown Source)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.Activity.onCreateView(Activity.java:4716)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:270)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.Activity.setContentView(Activity.java:1881)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.example.MainActivity.onCreate(MainActivity.java:14)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.Activity.performCreate(Activity.java:5104)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.ActivityThread.access$600(ActivityThread.java:141)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.os.Handler.dispatchMessage(Handler.java:99)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.os.Looper.loop(Looper.java:137)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at android.app.ActivityThread.main(ActivityThread.java:5041)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at java.lang.reflect.Method.invokeNative(Native Method)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at java.lang.reflect.Method.invoke(Method.java:511)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
        08-01 20:14:28.352: E/AndroidRuntime(1011): at dalvik.system.NativeStart.main(Native Method)
        08-01 20:14:34.722: I/Process(1011): Sending signal. PID: 1011 SIG: 9

        this is my logcat output…

        and when i run it on emulator..it shows that unfortunately stopped..will you please help me..

    • I mean ..
      seems to me like this problem over and over again. please help me karan ..

      The import is never used :

      import com.google.android.gms.maps.model.BitmapDescriptorFactory;
      import com.google.android.gms.maps.model.Marker;
      import com.google.android.gms.maps.model.MarkerOptions;
      import android.annotation.SuppressLint;
      import android.view.Menu;

      • Do you get any errors while the application is running? If yes, post the output of the logcat and tell me at which line you are getting error. Also make sure you have added the .jar files correctly! :)

        • yups, the application can not run. always appear force close message ..
          This log is displayed.
          apologize in advance, my project name change, because I think the effect on my keys apis change.

          08-14 07:50:23.408: I/dalvikvm(272): Could not find method com.luki.MainActivity.getFragmentManager, referenced from method com.luki.MainActivity.onCreate
          08-14 07:50:23.408: W/dalvikvm(272): VFY: unable to resolve virtual method 10655: Lcom/luki/MainActivity;.getFragmentManager ()Landroid/app/FragmentManager;
          08-14 07:50:23.408: D/dalvikvm(272): VFY: replacing opcode 0x6e at 0x0008
          08-14 07:50:23.408: D/dalvikvm(272): VFY: dead code 0x000b-0036 in Lcom/luki/MainActivity;.onCreate (Landroid/os/Bundle;)V
          08-14 07:50:23.458: D/AndroidRuntime(272): Shutting down VM
          08-14 07:50:23.458: W/dalvikvm(272): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
          08-14 07:50:23.598: E/AndroidRuntime(272): FATAL EXCEPTION: main
          08-14 07:50:23.598: E/AndroidRuntime(272): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.luki/com.luki.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.os.Handler.dispatchMessage(Handler.java:99)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.os.Looper.loop(Looper.java:123)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread.main(ActivityThread.java:4627)
          08-14 07:50:23.598: E/AndroidRuntime(272): at java.lang.reflect.Method.invokeNative(Native Method)
          08-14 07:50:23.598: E/AndroidRuntime(272): at java.lang.reflect.Method.invoke(Method.java:521)
          08-14 07:50:23.598: E/AndroidRuntime(272): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
          08-14 07:50:23.598: E/AndroidRuntime(272): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
          08-14 07:50:23.598: E/AndroidRuntime(272): at dalvik.system.NativeStart.main(Native Method)
          08-14 07:50:23.598: E/AndroidRuntime(272): Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
          08-14 07:50:23.598: E/AndroidRuntime(272): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.Activity.setContentView(Activity.java:1647)
          08-14 07:50:23.598: E/AndroidRuntime(272): at com.luki.MainActivity.onCreate(MainActivity.java:25)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
          08-14 07:50:23.598: E/AndroidRuntime(272): … 11 more
          08-14 07:50:23.598: E/AndroidRuntime(272): Caused by: java.lang.ClassNotFoundException: android.view.fragment in loader dalvik.system.PathClassLoader[/data/app/com.luki-1.apk]
          08-14 07:50:23.598: E/AndroidRuntime(272): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
          08-14 07:50:23.598: E/AndroidRuntime(272): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
          08-14 07:50:23.598: E/AndroidRuntime(272): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.createView(LayoutInflater.java:466)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:544)
          08-14 07:50:23.598: E/AndroidRuntime(272): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
          08-14 07:50:23.598: E/AndroidRuntime(272): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
          08-14 07:50:23.598: E/AndroidRuntime(272): … 20 more
          08-14 07:50:28.997: I/Process(272): Sending signal. PID: 272 SIG: 9
          08-14 08:21:43.598: I/dalvikvm(314): Could not find method com.luki.MainActivity.getFragmentManager, referenced from method com.luki.MainActivity.onCreate
          08-14 08:21:43.598: W/dalvikvm(314): VFY: unable to resolve virtual method 10655: Lcom/luki/MainActivity;.getFragmentManager ()Landroid/app/FragmentManager;
          08-14 08:21:43.608: D/dalvikvm(314): VFY: replacing opcode 0x6e at 0x0008
          08-14 08:21:43.608: D/dalvikvm(314): VFY: dead code 0x000b-0036 in Lcom/luki/MainActivity;.onCreate (Landroid/os/Bundle;)V
          08-14 08:21:43.678: D/AndroidRuntime(314): Shutting down VM
          08-14 08:21:43.678: W/dalvikvm(314): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
          08-14 08:21:43.718: E/AndroidRuntime(314): FATAL EXCEPTION: main
          08-14 08:21:43.718: E/AndroidRuntime(314): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.luki/com.luki.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.os.Handler.dispatchMessage(Handler.java:99)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.os.Looper.loop(Looper.java:123)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread.main(ActivityThread.java:4627)
          08-14 08:21:43.718: E/AndroidRuntime(314): at java.lang.reflect.Method.invokeNative(Native Method)
          08-14 08:21:43.718: E/AndroidRuntime(314): at java.lang.reflect.Method.invoke(Method.java:521)
          08-14 08:21:43.718: E/AndroidRuntime(314): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
          08-14 08:21:43.718: E/AndroidRuntime(314): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
          08-14 08:21:43.718: E/AndroidRuntime(314): at dalvik.system.NativeStart.main(Native Method)
          08-14 08:21:43.718: E/AndroidRuntime(314): Caused by: android.view.InflateException: Binary XML file line #11: Error inflating class fragment
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:576)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
          08-14 08:21:43.718: E/AndroidRuntime(314): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.Activity.setContentView(Activity.java:1647)
          08-14 08:21:43.718: E/AndroidRuntime(314): at com.luki.MainActivity.onCreate(MainActivity.java:29)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
          08-14 08:21:43.718: E/AndroidRuntime(314): … 11 more
          08-14 08:21:43.718: E/AndroidRuntime(314): Caused by: java.lang.ClassNotFoundException: android.view.fragment in loader dalvik.system.PathClassLoader[/data/app/com.luki-1.apk]
          08-14 08:21:43.718: E/AndroidRuntime(314): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
          08-14 08:21:43.718: E/AndroidRuntime(314): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
          08-14 08:21:43.718: E/AndroidRuntime(314): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.createView(LayoutInflater.java:466)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:544)
          08-14 08:21:43.718: E/AndroidRuntime(314): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:66)
          08-14 08:21:43.718: E/AndroidRuntime(314): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
          08-14 08:21:43.718: E/AndroidRuntime(314): … 20 more

  14. Hi
    I am trying to run this tutorial but I got some problems. I am using 4.2.2 y executing in a simulator with an AVD with 4.3 and Google API. I got these message in the LogCat:
    08-14 19:21:02.921: E/AndroidRuntime(1012): FATAL EXCEPTION: main
    08-14 19:21:02.921: E/AndroidRuntime(1012): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.maps.test/com.maps.test.MainActivity}: java.lang.NullPointerException: CameraUpdateFactory is not initialized
    08-14 19:21:02.921: E/AndroidRuntime(1012): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211)
    08-14 19:21:02.921: E/AndroidRuntime(1012): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
    08-14 19:21:02.921: E/AndroidRuntime(1012): at android.app.ActivityThread.access$600(ActivityThread.java:141)
    08-14 19:21:02.921: E/AndroidRuntime(1012): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
    08-14 19:21:02.921: E/AndroidRuntime(1012): at android.os.Handler.dispatchMessage(Handler.java:99)

    In the java code, those lines are :

    map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map))
    .getMap();

    map.moveCamera(CameraUpdateFactory.newLatLngZoom(MUMBAI, 15));

    // Zoom in, animating the camera.
    map.animateCamera(CameraUpdateFactory.zoomTo(10), 2000, null);

    something i forgot to check ?
    Please some hint..
    Regards

  15. your tutorials r very helpful.Is it possible that one user update the map (make a marker on map saying traffic jam on some road ) can be seen to other users using that app too.
    plz help

  16. Pingback: Tutorial #34: Using Google Maps Android API v2 - appgong

Leave a Reply