I'm testing out the new Google Maps API V2 for Android, and I'm getting this message when the app launches:
This is running on an 4.1 emulator.
Here is my AndroidManifest.xml
file:
File MainActivity.java:
File activity_main.xml
Clicking 'Update' crashes the app with the following stacktrace:
I've also referenced the Google Play Services project. What am I doing wrong here?
UPDATE
The corresponding bug in Google issue tracker (https://issuetracker.google.com/issues/35822258) was solved some time ago.
Now you can use Google Maps Android API in emulator and create Virtual devices with Play services as described in this answer:
12 Answers
According to a discussion with Android Developers on Google+, running the new Map API on the emulator is not possible at the moment.
(The comment is from Zhelyazko Atanasov yesterday at 23:18, I don't know how to link directly to it)
Also, you don't see the '(via Bazaar)' part when running from an actual device, and the update button open the Play Store. I am assuming Bazaar is meant to provide Google Play Services on the Android emulator, but it is not ready yet..
UPDATE
The Google maps API v2 is now installed on the latest Google system images (api:19 ARM or x86).
So your application should just work with the new images. There is no need to install these files.
I've been trying to run an Android Google Maps V2 application under an emulator and once I finally got Google Play Services running, I updated my SDK to Google Play Services revision 4, and my emulator wouldn't run my application any more.
I have now worked out how to update my emulator from my transformer tablet. (You won't need a tablet as you can download the files below.)
I used Titanium Backup to backup my Asus Eee Pad Transformer (TF101) and then grabbed the com.android.vending and the com.google.android.gms APK files from the backup.
I installed these on an emulator configured with platform: 4.1.2, API Level: 16, CPU Intel/Atom x86) and my Google Maps V2 application works again.
That was all . none of the other steps regarding /system/app were required.
My application only uses the Google Maps API, no doubt, more steps are required if you use other Google Play services.
New files for latest Google Play services:
Same instructions as before: Create a new emulator with any CPU/ABI, a non-Google API target (versions 10-19 work) and GPU emulation on or off, and then install the files:
If you are upgrading an existing emulator then you might need to uninstall previous versions by:
That's all.
I spent about one day to configure the new gmaps API (Google Maps Android API v2) on the Android emulator. None of the methods of those I found on the Internet was working correctly for me. But still I did it. Here is how:
- Create a new emulator with the following configuration:
On the other versions I could not configure because of various errors when I installed the necessary applications.
2) Start the emulator and install the following applications:
- GoogleLoginService.apk
- GoogleServicesFramework.apk
- Phonesky.apk
Google Play Store App Download For Pc
You can do this with following commands:
2.1) adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock0 /system
2.2) adb shell chmod 777 /system/app
2.3-2.5) adb push Each_of_the_3_apk_files.apk /system/app/
Links to download APK files. I have copied them from my rooted Android device.
3) Install Google Play Services and Google Maps on the emulator. I have an error 491, if I install them from Google Play store. I uploaded the apps to the emulator and run the installation locally. (You can use adb
to install this). Links to the apps:
4) I successfully run a demo sample on the emulator after these steps. Here is a screenshot:
I'm answering this question for the second time, because the solution I've tried that didn't work at first now works, and I can recreate the steps to make it work :)
I also had a feeling that lack of Google Play Store is a culprit here, so I've tried to install Google Play Store to the emulator by advice on this link and this link combined. I've had some difficulties, but at the end I've succeeded in installing Google Play Store and tested it by downloading some random app. But the maps activity kept displaying the message with the 'Update' button. That button would take me to the store, but there I would get a message about 'item not found' and maps still didn't work. At that point I gave up.
Yesterday, I've fired up the same test app by accident and it worked! I was very confused, but quickly I've made a diff from the emulator where it's working and new clean one and I've determined two apps on the working one in /data/app/ directory: com.android.vending-1.apk and com.google.android.gms-1.apk. This is strange since, when I were installing Google Play Store by instructions from those sites, I was pushing Phonesky.apk, GoogleServicesFramework.apk and GoogleLoginService.apk and to a different folder /system/app.
Anyway, now the Android Google Maps API v2 is working on my emulator. These are the steps to do this:
Create a new emulator
- For device, choose '5.1' WVGA (480 x 800: mdpi)'
- For target, choose 'Android 4.1.2 - API level 16'
- For 'CPU/ABI', choose 'ARM'
- Leave the rest to defaults
These are the settings that are working for me. I don't know for different ones.
Start the emulator
install com.android.vending-1.apk and com.google.android.gms-1.apk via ADB install command
Google Maps should work now in your emulator.
I've created a (German) description how to get it working. You basically need an emulator with at least API level 9 and no Google APIs. Then you'll have to get the APKs from a rooted device:
and install them in the emulator:
You can even run the native Google Maps App, if you have an emulator with at least API level 14 and additionally install com.google.android.apps.maps-1.apk
Have fun.
I've been trying to run an Android Google Maps v2 under an emulator, and I found many ways to do that, but none of them worked for me. I have always this warning in the Logcat Google Play services out of date. Requires 3025100 but found 2010110
and when I want to update Google Play services on the emulator nothing happened. The problem was that the com.google.android.gms APK was not compatible with the version of the library in my Android SDK.
I installed these files 'com.google.android.gms.apk', 'com.android.vending.apk' on my emulator and my app Google Maps v2 worked fine. None of the other steps regarding /system/app were required.
This app won't run unless you update Google Play Services. I have tried it for such a long much time, but still I didn't get the map.. Only a blank screen is appearing, even if I modified my Google Play Service given by the below comment.
Check your play services manifest file and check the version code for the APK file com.google.android.gms. In the below, it is '3136110'. Download these APK files and install from a DOS prompt, but before installation run your target emulator.
I got these APK files from this link.
I solved these problem by doing the following steps:
In Emulator:
You have to use the latest API
Google APIs(Google Inc.)-API Level19
.Do the rest of the things placed in the screenshot itself.
API Key:
Create New API Key and Check carefully about Google Map API key and SHA Key.
Google Play Services: Meri pyari bindu full movie.
You have to download the latest Google Play Services com.android.vending-4.8.20.apk.In that site if google play services wasn't working means you can find a lot of sites in internet named
com.android.vending 4.8.20.apk
.Gana tamil songs mp3 download. you can run the Google play Services by using the Command Prompt
adb install com.android.vending 4.8.20.apk
.Note: You have to download the latest Google play services because year by year latest version will be updated in internet.
output:
After updating to ADT 22.0.1, due to Android private libraries, the Google Maps service was giving some error and the app crashed. So I found the solution finally and it worked for me.
Just install the Google Play service library and then go to google-play-service/libproject/google-play-services_lib
from https://www.dropbox.com/sh/2ok76ep7lmav0qf/9XVlv61D2b
. Import that into your workspace. Clean your project where you want to use gogole-play-services-lib and then build it again and go to the Project ->Properties ->Java BuildPath -> select 'Android Private Libraries, Android Dependencies, google-play-service'
In Properties itself, go to Android and then choose any of the versions and then choose add and select google-play-service-lib and then press apply and finally OK.
At last, go to the Project -> Android Tools -> Android Support Libraries. Accept the license and after installing then run your project.
It will work fine.
I have found a nice solution which let you test your app in the emulator and also doesn't require you to revert to the older version of the library. See an answer to Stack Overflow question Running Google Maps v2 on the Android emulator.
Play Store
From Android SDK Manager, install:Extras: Google Play services
protected by Community♦Feb 7 '14 at 8:25
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
Google Play Store App Raw Apk Old Version
Not the answer you're looking for? Browse other questions tagged androidgoogle-mapsandroid-mapviewgoogle-maps-android-api-2 or ask your own question.
Currently, we distribute our app using Google Play App Signing - https://support.google.com/googleplay/android-developer/answer/7384423?hl=en
That's mean, after we uploaded the signed APK (key is provided by Google Play store), Google will 'help' us to re-sign the APK again, using the private key we had uploaded previously.
I was wondering, if we intent to distribute our APK to a 3rd party play store, or distribute it as raw APK, what key we should use to sign the APK?
I wish to ensure if the user download the app from 3rd party play store, or install as raw APK, he is still able to update the app, via Google Play store.
Youtube twilight movie part 1. Thanks.
Browse other questions tagged android or ask your own question.
Raw Fed Dog Meal Calculator is a reference tool for figuring out the
1. Proper Meal Weight
2. MealRatio. (Meat, Bones and Organs)
3. Shopping helper
*** Features:
Multiple Pet Profiles
Meal Ratio Calculator
Food Shopping Calculator
No need to create an account, saves the information localy.Note: If you clear cache, it will delete all profile info.
*** FEATURE DETAIL ***
*** Multiple PetProfiles.
---------------------------------
You can create as many profiles as you want. You have an option toedit the profile as you needed in case your dog grows or changes its activity level.
*** Meal RatioCalculator.
Shows you the Ratio breakdown of the meal between Meat, Bone and 2 types of Organs. You will have toenter the dogs weight and meal weight ratio to get correct information
*** Food Shopping Calculator.
Thiscalculator is for those who builds their own meals from purchased ingredients from multiple sources. Example: If I founda deal at Asian Supermarket on Beef Liver and I bought 10 lbs of it, this calculator will tell me how much of the restof segments I would need to have a complete set of all segments to make the meals for my Pet. Enter the 10 lbs into anyorgan value to update the rest of the segments.