appupdate.google play发布appplay

APK Download: Google Play Services update lets you used trusted locations for Smart Lock on Android Lollipopandroid - Google Play Services update - Stack Overflow
to customize your list.
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
J it only takes a minute:
Join the Stack Overflow community to:
Ask programming questions
Answer and help your peers
Get recognized for your expertise
Yesterday API 19 came out so I upgraded SDK and other (including Google Play Services)
now this method:
private boolean isGooglePlayInstalled(){
int status = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
if(status == ConnectionResult.SUCCESS){
((Dialog)GooglePlayServicesUtil.getErrorDialog(status, this,10)).show();
Throws at line int status = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
Caused by: java.lang.IllegalStateException: The meta-data tag in your app's
AndroidManifest.xml does not have the right value.
Expected 4030500 but found 0.
You must have the following declaration within the &application& element:
&meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
How to fix that? I didnt have element "com.google.android.gms.version" in manifest before and it worked.
This is my manifest:
&manifest xmlns:android="/apk/res/android"
package="com.sabatsoft.driveit"
android:versionCode="1"
android:versionName="1.0" &
android:minSdkVersion="16"
android:targetSdkVersion="19" /&
&uses-permission android:name="android.permission.INTERNET" /&
&uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&
&uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&
&uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&
&uses-permission android:name="android.permission.READ_PHONE_STATE" /&
&uses-permission android:name="android.permission.WAKE_LOCK" /&
&uses-permission android:name="android.permission.WRITE_SETTINGS" /&
&uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&
&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:name="com.sabatsoft.driveit.activity.Start"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar" &
&intent-filter&
&action android:name="android.intent.action.MAIN" /&
&category android:name="android.intent.category.LAUNCHER" /&
&/intent-filter&
&/activity&
&!-- other activities --&
&meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIza*********************************1MZI" /&
&/application&
&uses-feature
android:glEsVersion="0x"
android:required="true" /&
&/manifest&
This worked for me:
&meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
Place this at the end of your manifest, after your Map API key meta-data tag. Since you check for GPlayServices availability in your onCreate method, such as:
// Check status of Google Play Services
int status = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
// Check Google Play Service Available
if (status != ConnectionResult.SUCCESS) {
GooglePlayServicesUtil.getErrorDialog(status, this, RQS_GooglePlayServices).show();
} catch (Exception e) {
Log.e("Error: GooglePlayServiceUtil: ", "" + e);
...then once you click the dialog box to update GPlayServices, you will be brought to the GPlayStore. Usually, I uninstall from the GPlayStore menu, then the option to update will be available. It should work after that.
Package contents comparison
The "google_play_services_froyo" lib project contains these com.google.android.gms packages:
On the other hand, the new (rev. 13) "google_play_services" lib project has some additional packages within com.google.android.gms:
Plus, this package is found in the new (rev. 13) "google_play_services": com.google.ads!
AndroidManifext.xml comparison
The old (rev. 12) "google_play_services" had:
&?xml version="1.0" encoding="utf-8"?&
&manifest xmlns:android="/apk/res/android"
package="com.google.android.gms"
android:versionCode="3265130"
android:versionName="3.2.65 ()" &
&uses-sdk android:minSdkVersion="8"/&
&/manifest&
The newly introduced "google_play_services_froyo" lib project has:
&?xml version="1.0" encoding="utf-8"?&
&manifest xmlns:android="/apk/res/android"
package="com.google.android.gms"
android:versionCode="3225130"
android:versionName="3.2.25 ()" &
&uses-sdk android:minSdkVersion="8"/&
&/manifest&
Conclusion
The "google_play_services_froyo" is functionally the same as the old (rev. 12) "google_play_services" lib project, so if you just want to keep your app compatible and don't care about the new APIs, just import the "google_play_services_froyo" in your project and you're good to go.
On the other hand, if you wanted to use the new (rev. 13) "google_play_services" lib project, once you import it, you have to add this to your apps manifest:
&application
&meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
&/application&
Hope this helped :)
2,24611839
That happened to me yesterday. I just needed to add this in the manifest:
&meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
I solved my issue of the same with
&meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
you have to add the following line in manifest file.
i hope it will work.
&meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" /&
I faced this error because I referenced the original copy from SDK directory. Make sure that you first copy the library to android workspace and only reference it. In eclipse you can do it by checking "Copy projects into workspace" while importing the project.
Your Answer
Sign up or
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Post as a guest
By posting your answer, you agree to the
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled[Update: Google App Too] Google Rolling Out App Updates With New Logo And Icons, Starting With Maps And Translate [APK Download]
Total Shares244
Google's new branding is already starting to worm its way into all corners of the company's design. The
with new icons based on the sans-serif G, and now app updates have started to show up. No need to wait for update Wednesday this time. So far we've got Maps and Translate.
to 9.14 includes the following.
Easily compare ETAs across driving, transit, walking & biking
New Google Maps logo
has been bumped up to 4.3 from 4.1, but so far all we've spotted is the new logo. This is surely just the start of the new Google onslaught, so stay tuned for more APKs. We'll update this post as more show up.Getting Data from Android Play Store - Stack Overflow
to customize your list.
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.
J it only takes a minute:
Join the Stack Overflow community to:
Ask programming questions
Answer and help your peers
Get recognized for your expertise
I have seen some Apps and Websites who use Data from the Android Play store. E.g. Apps or Sites with a top Apps ranking etc. But how can you get the Data? From where I can parse it?
33.9k1374102
closed as off-topic by ♦
This question appears to be off-topic. The users who voted to close gave this specific reason:&Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead,
and what has been done so far to solve it.& & MattIf this question can be reworded to fit the rules in the , please .
There's an unofficial
you may try to use to get the information you need. Hope this helps.
3,84232147
8,63611424
Disclaimer: I am from 42matters, who provides this data already on
, feel free to check it out or drop us a line.
As lenik mentioned there are open-source libraries that already help with obtaining some data from GPlay. If you want to build one yourself you can try to parse the Google Play App page, but you should pay attention to the following:
Make sure the URL you are trying to parse is not blocked in robots.txt - e.g.
Make sure that you are not doing it too often, Google will throttle and potentially blacklist you if you are doing it too much.
Send a correct User-Agent header to actually show you are a bot
The page of an app is big - make sure you accept gzip and request the mobile version
GPlay website is not an API, it doesn't care that you parse it so it will change over time. Make sure you handle changes - e.g. by having test to make sure you get what you expected.
So that in mind getting one page metadata is a matter of fetching the page html and parsing it properly. With
you can try:
HttpClient httpClient = HttpClientBuilder.create().build();
HttpGet request = new HttpGet(crawlUrl);
HttpResponse rsp = httpClient.execute(request);
int statusCode = rsp.getStatusLine().getStatusCode();
if (statusCode == 200) {
String content = EntityUtils.toString(rsp.getEntity());
Document doc = Jsoup.parse(content);
//parse content, whatever you need
Element price = doc.select("[itemprop=price]").first();
For that very simple use case that should get you started. However, the moment you want to do more interesting stuff, things get complicated:
Search is forbidden in robots.
Keeping app metadata up-to-date is hard to do. There are more than 2.2m apps, if you want to refresh their metadata daily there are 2.2 requests/day, which will 1) get blocked immediately, 2) costs a lot of money - pessimistic 220gb data transfer per day if one app is 100k
How do you discover new apps
How do you get pricing in each country, translations of each language
The list goes on. If you don't want to do all this by yourself, you can consider , which supports lookup and search, top google charts, advanced queries and filters. And this for 35 languages and more than 50 countries.
There's a GitHub project that's all set up for the scraping.
It also includes a database that is refreshed once a month, with over 1.3 million apps scraped.
Disclaimer: I'm the project owner
1,33432139
I've coded a small Node.js module to scrape app and list data from Google Play:
var gplay = require('google-play-scrapper');
gplay.List({
category: gplay.category.GAME_ACTION,
collection: gplay.collection.TOP_FREE,
}).then(console.log);
[ { url: '/store/apps/details?id=com.playappking.busrush',
appId: 'com.playappking.busrush',
title: 'Bus Rush',
developer: 'Play App King',
icon: '/R6hmyJ6ls6wskk5hHFoW02yEyJpSG36il4JBkVf-Aojb1q4ZJ9nrGsx6lwsRtnTqfA=w340',
score: 3.9,
price: '0',
free: false },
{ url: '/store/apps/details?id=com.yodo1.crossyroad',
appId: 'com.yodo1.crossyroad',
title: 'Crossy Road',
developer: 'Yodo1 Games',
icon: '/doHqbSPNekdR694M-4rAu9P2B3V6ivff76fqItheZGJiN4NBw6TrxhIxCEpqgO3jKVg=w340',
score: 4.5,
price: '0',
free: false } ]
The Google Play Store doesn't provide this data, so the sites must just be scraping it.
7,11011935
Here's a google chrome extension that'll allow you to download your reviews:
238k48350434
protected by ♦
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
on this site (the ).
Would you like to answer one of these
Not the answer you're looking for?
Browse other questions tagged
Stack Overflow works best with JavaScript enabled}

我要回帖

更多关于 google play上传app 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信