1. Anand Swamy CH's Avatar
    1. When I am using Maps V2 as a standalone application, its working fine. But When I am using Maps V2 which is a sub activity of my project getting below mentioned error logs.
    2. My application works fine with Map v1 but I want to upgrade my application from Map V1 to V2

    Added below mentioned code to call Map Activity : try { Class.forName("com.google.android.gms.maps.Support MapFragment");Intent n=new Intent(Information.this,Gmaps.class); n.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(n); }

    Followed below steps to upgrade Google Maps v1 to v2

    Added google-play-services.jar into my project.
    Added library named_ google-play-services_lib found under the extras folder of my Android SDK setup folder to my Android project.
    updated map.xml & Androidmanifiest.xml as per new version dependency

    Error logs :

    11-10 20:03:42.659: W/dalvikvm(9654): Unable to resolve superclass of Lcom/google/android/gms/maps/SupportMapFragment; (168)
    11-10 20:03:42.659: W/dalvikvm(9654): Link of class 'Lcom/google/android/gms/maps/SupportMapFragment;' failed
    11-10 20:03:42.659: W/System.err(9654): java.lang.ClassNotFoundException: com.google.android.gms.maps.SupportMapFragment
    11-10 20:03:42.659: W/System.err(9654): at java.lang.Class.classForName(Native Method)
    11-10 20:03:42.659: W/System.err(9654): at java.lang.Class.forName(Class.java:217)
    11-10 20:03:42.659: W/System.err(9654): at java.lang.Class.forName(Class.java:172)
    Post Reply Subscribe to Thread
    Previous Thread Next Thread
    11-18-2014 01:45 AM

Similar Threads

  1. How long did your Note 3 last?
    By godzillinois in forum Samsung Galaxy Note 3
    Replies: 17
    Last Post: 08-19-2016, 06:25 AM
  2. Replies: 5
    Last Post: 11-18-2014, 07:11 PM
  3. Why is my pull down menu not closing?
    By Shelsy Urbina in forum General Help and How To
    Replies: 4
    Last Post: 11-18-2014, 11:49 AM
  4. Replies: 0
    Last Post: 11-17-2014, 11:50 PM
  5. Replies: 0
    Last Post: 11-17-2014, 11:29 PM