android - Google Maps not working on my phone as virtual device -


i've spent last few hours setting google maps api v2. think have done, go test things out , lo , behold, app no longer runs on phone. did do? did offend google maps? can see phone in list of virtual devices, , vdk says device valid. when run app, nothing happens on phone. see no particular errors in logcat, don't know did. here manifest.xml file in case thing wrong here:

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.my_app" android:versioncode="1" android:versionname="1.0" >  <uses-sdk     android:minsdkversion="11"     android:targetsdkversion="17" />  <!-- following required used google maps --> <permission     android:name="com.example.my_app.permission.maps_receive"     android:protectionlevel="signature"/>  <uses-feature     android:glesversion="0x00020000"     android:required="true"/>  <uses-permission android:name="com.example.my_app.permission.maps_receive"/>  <uses-permission android:name="android.permission.internet"/> <uses-permission android:name="android.permission.access_network_state"/> <uses-permission android:name="android.permission.write_external_storage"/> <uses-permission android:name="com.google.android.providers.gsf.permission.read_gservices"/> <!-- following 2 permissions not required use      google maps android api v2, recommended. --> <uses-permission android:name="android.permission.access_coarse_location"/> <uses-permission android:name="android.permission.access_fine_location"/> <!-- end google maps requirements section -->  <application     android:allowbackup="true"     android:theme="@android:style/theme.notitlebar" >       <activity         android:name="com.example.my_app.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>     <activity android:name=".myeventslistactivity"></activity>     <activity android:name=".eventdetail"></activity>      <activity android:name="com.google.android.gms" />      <!-- remove line once maps working -->     <activity android:name=".maptest"></activity>      <!-- google maps api key -->     <meta-data         android:name="com.google.android.maps.v2.api_key"         android:value="xxxxxxxxxx"/>    </application>  </manifest> 

anyone know might have happened? thanks!

edit: based on of responses, should clarify couple of things. first of all, using 1 machine. sha-1 fingerprint generated generated on exact same machine developing on, there no issue there. second, phone testing on working fine prior attempt integrate maps application. why suspect somehow attempt use maps conflicting phone.

what i'm wondering whether sha-1 fingerprint somehow not valid phone? if fingerprint valid 1 machine (which believe is), phone considered second machine??? phone tethered computer via usb cable , i'm running virtual device target. chance issue?

thanks replies everybody.

resolution: think figured out. phone running android 2.3.4 (api 10). since v2 maps run on minimum of api 11, phone not being recognized reason. had change minsdkversion 10, , add

to application node. seems work, although still don't map display. have usual google background , grid. @ least no errors , app not functioning again on phone. suggestions welcome. again!

the api key have created work on particular machine.. if compile , install .apk machine maps not show up..


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -