Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8535371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:24:56+00:00 2026-06-11T10:24:56+00:00

I am new to android.I want to make application which displays the map when

  • 0

I am new to android.I want to make application which displays the map when application start.
I had gone all the steps this

I had installed the Google API and and done all the setting in eclipse.But
in output it is only gray grids and also get error Couldn't get connection factory client
The question may be duplicate of this:
Google Map not showing in android Emulator

But the solution of using JDK.The person is using JDK 7 instead of JDK6. How to adjust this JDK from eclipse menu.

MainActivity.Menifest file is:

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

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >


   <uses-library android:name="com.google.android.maps" />  

    <activity
        android:name=".MapsActivity"
        android:label="@string/title_activity_maps" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

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

and .xml file is:

<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" >

   <com.google.android.maps.MapView
       android:id="@+id/mapView"
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"
       android:apiKey="0BRarfRYpv-UWoSHq9JDtd1QQPlgI4zR8rgu1RA"
       android:clickable="true"
       android:enabled="true" />

</RelativeLayout>

And .java file is:

package com.siliconinfo.googlemaps;

import android.os.Bundle;
//import android.view.Menu;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;


public class MapsActivity extends MapActivity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.mainactivity);
    }

    @Override
    protected boolean isRouteDisplayed() {
        return false;
    }
}

But then also it is not showing any map on screen
warning on console:-GoogleMaps does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:24:57+00:00Added an answer on June 11, 2026 at 10:24 am

    Thanks for the Reply.I got the MAp display in emulater By making setting in AVD manager.By setting API level at 13. IT works for me.Thanks to all for helping me trying to solve the issue and giving me more knowledge while solving this issue

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are designing a new application for Android and we want to make it
I am new to android development. I want to make one background application, so
i'm building an android application which i want all the user of the application
I want to make address book application in android which can have Name,phone No,
I want to make an android application which has two tap in one view
I am new android app developer i want make app for tablets and phone
I am a new android app developer and i want to use google map
I am new to android development. I am creating an android application, in which
hey, im new to android development and trying to make my first application. What
Background: I have started Android recently. I want to make an application for Android

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.