Achievements in Google Play Games are not working - IDEs, Libraries, & Programming Tools

Hi all,
First, I'm sorry if I'm not on the correct thread, this is the first time I post here and don't know really the origin of my problem.
So I created a small game on android with libgdx (runner game) which is working fine. So i decided to add some achievements on it. My application is published, when I go to Services and API, I see "this application use google play's services...". So I go in "Game services" menu. My game is here with the API :"API Google+, Google Play Game Services et Google Play Game Management ". In the associated application menu, I have my application linked.
When I open the game for the first time, it ask me to connect with my google account, so the sign-in method work fine. After the connection, I see my profil pictures with my play games level. But when I want to unlock achievements, nothing append. I don't think the problem is in the code because the connection run fine and the game is not crashing, there is just nothing append and the game continue. Maybe i miss something one the configuration on the play console because when I open the game in Google Play Games, I see my games but there is no achivements/leaderboard see pictures :
i.stack.imgur.com/9DrQP.jpg
i.stack.imgur.com/qnpcz.png
To see if the sync is okay, I modified the game's description and go back to the play games, the description was modified.
So why my achievements are not on the play game service and due to that I'm not able to unlock them ? I really don't understand what I missed... Thanks in advance for your help.
Edit : Also on the API explorer, when I want to execute a simple games.achievementDefinitions.list to get the list of achievements in my application, I get an error :
i.stack.imgur.com/gRwNh.jpg
i.stack.imgur.com/0DRAR.jpg
Telling me that the API is not enabled but it is !
i.stack.imgur.com/DPxId.jpg
Do you have any idea of what I missed ?

Maybe add sdk?

Dissambler said:
Maybe add sdk?
Click to expand...
Click to collapse
I'm using libgdx on Android studio,
I imported BaseGameUtils library, and call on my main activity both signin and unlockachievements.
When I run the game, I see my Google play profile, with my level and xp so the conexion works fine.
It means the sdk is working no ?
What do you mean exactly by adding the sdk ?
Sorry I'm beginner on android development.

didawin said:
I'm using libgdx on Android studio,
I imported BaseGameUtils library, and call on my main activity both signin and unlockachievements.
When I run the game, I see my Google play profile, with my level and xp so the conexion works fine.
It means the sdk is working no ?
What do you mean exactly by adding the sdk ?
Sorry I'm beginner on android development.
Click to expand...
Click to collapse
Take a look please
https://developers.google.com/games/services/android/achievements

Dissambler said:
Take a look please
https://developers.google.com/games/services/android/achievements
Click to expand...
Click to collapse
Thanks for you help
I'm looking at this now (I think I missed to put the play-services compile in my build.gradle).
I will do that, compile it,publish my app and test it. Then I will tell you if it now ok or not.
Edit: So I added this to my build.gradle :
Code:
compile 'com.google.android.gms:play-services:8.1.0'
I have the latest Google Play services and Google Repository in my sdk (API 27 and 22)
The sync of gradle is ok, but when i want to run it i get an error while compile :
"Execution failed for task '':android:dexDebug".
>com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 2"

didawin said:
Thanks for you help
I'm looking at this now (I think I missed to put the play-services compile in my build.gradle).
I will do that, compile it,publish my app and test it. Then I will tell you if it now ok or not.
Click to expand...
Click to collapse
Okey, i waiting

Dissambler said:
Okey, i waiting
Click to expand...
Click to collapse
So I added this to my build.gradle :
Code:
compile 'com.google.android.gms:play-services:8.1.0'
I have the latest Google Play services and Google Repository in my sdk (API 27 and 22)
The sync of gradle is ok, but when i want to run it i get an error while compile :
"Execution failed for task '':android:dexDebug".
>com.android.ide.common.process.ProcessException : org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 2"
Edit : When i look in my build.gradle, on the previous line I get information message :
Dependency on Play Services, but the SDK installation does not have the "Extras > Google Respository" installed,
When I go to my SDK manager It is installed ...

didawin said:
So I added this to my build.gradle :
Code:
compile 'com.google.android.gms:play-services:8.1.0'
I have the latest Google Play services and Google Repository in my sdk (API 27 and 22)
The sync of gradle is ok, but when i want to run it i get an error while compile :
"Execution failed for task '':android:dexDebug".
>com.android.ide.common.process.ProcessException : org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 2"
Click to expand...
Click to collapse
Okey, listen
Go to Android Studip
Top Header > Build > Clean Project
Than windows (you use it) app manager kill java and android studio kill
Please open try Android Studio
Top Header > Build > Rebuild Project
Another Support Link
http://stackoverflow.com/questions/...exception-finished-with-non-zero-exit-value-2
It's Simple

Dissambler said:
Okey, listen
Go to Android Studip
Top Header > Build > Clean Project
Than windows (you use it) app manager kill java and android studio kill
Please open try Android Studio
Top Header > Build > Rebuild Project
Another Support Link
http://stackoverflow.com/questions/...exception-finished-with-non-zero-exit-value-2
It's Simple
Click to expand...
Click to collapse
I did all the previous steps, but still :
When I have the line :
Code:
compile 'com.google.android.gms:play-services:8.1.0'
in my build.gradle
If I just make a sync : i have a warning :
[options] bootstrap class path not set in conjunction with -source 1.6
(really don't know what is this )
and then if I clean/rebuild and run I have the same error as previous...
If I remove the compile line, then it's work fine but the sdk is not installed then ... :crying:
when i look on my build.gradle I get an information message :
Dependency on Play Services, but the SDK installation does not have the "Extras > Google Repository" installed :crying:
When I go to my SDK Manager, I see Google Play Services and Google Repository installed with the last version (API 27 and 22)...

Sir, please add screenshoot?
---------- Post added at 04:53 PM ---------- Previous post was at 03:54 PM ----------
Okey, i found it.
http://stackoverflow.com/questions/...-with-non-zero-exit-value-2/30028505#30028505

Dissambler said:
Sir, please add screenshoot?
---------- Post added at 04:53 PM ---------- Previous post was at 03:54 PM ----------
Okey, i found it.
http://stackoverflow.com/questions/...-with-non-zero-exit-value-2/30028505#30028505
Click to expand...
Click to collapse
Always confusing me
Always getting This error :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I dont see images.
Please upload server imgur*

Dissambler said:
I dont see images.
Please upload server imgur*
Click to expand...
Click to collapse
Again Thanks for your help,
here are the screenshoots :
http://imgur.com/a/fosPD

Ah sorry for late answers check you find stackoverflow?
---------- Post added at 08:50 AM ---------- Previous post was at 08:50 AM ----------
Dissambler said:
Ah sorry for late answers check you find stackoverflow?
Click to expand...
Click to collapse
And maybe register stackoveflow than ask stackoverflow family?

Dissambler said:
Ah sorry for late answers check you find stackoverflow?
---------- Post added at 08:50 AM ---------- Previous post was at 08:50 AM ----------
And maybe register stackoveflow than ask stackoverflow family?
Click to expand...
Click to collapse
No worries,
Yes I checked but still I get the same problem..
I already posted my issue on StackOverflow and Frandroid/Développez.com (which are famous android french community).
http://stackoverflow.com/questions/...working?noredirect=1#comment54156837_33166661
But I didn't get answers to my problem ...

didawin said:
No worries,
Yes I checked but still I get the same problem..
I already posted my issue on StackOverflow and Frandroid/Développez.com (which are famous android french community).
http://stackoverflow.com/questions/...working?noredirect=1#comment54156837_33166661
But I didn't get answers to my problem ...
Click to expand...
Click to collapse
Oh, really?
Okey, maybe i know problem. Because I see similiar problem 1 week ago.
Let's do it, I'am searching all forums wait a second.
---------- Post added at 01:27 PM ---------- Previous post was at 01:20 PM ----------
Okey, please re-install java sdk.
Link: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Dissambler said:
Oh, really?
Okey, maybe i know problem. Because I see similiar problem 1 week ago.
Let's do it, I'am searching all forums wait a second.
Click to expand...
Click to collapse
Really ? Thanks a lot :good:
I also search on my side..
I can not see if the problem is coming from my development or the sync on google store ..
Because what is confusing me is that when I launch the game, I can connect to google play games
If I'm not clear, you can download my app here https://play.google.com/store/apps/details?id=com.didawin.planerunner.android
you Will See google account asking you if you want to connect or not, then if you Say yes it Will display your google play games profile with your current level and xp...

didawin said:
Really ? Thanks a lot :good:
I also search on my side..
I can not see if the problem is coming from my development or the sync on google store ..
Because what is confusing me is that when I launch the game, I can connect to google play games
If I'm not clear, you can download my app here https://play.google.com/store/apps/details?id=com.didawin.planerunner.android
you Will See google account asking you if you want to connect or not, then if you Say yes it Will display your google play games profile with your current level and xp...
Click to expand...
Click to collapse
Do you solve this problem?

Dissambler said:
Do you solve this problem?
Click to expand...
Click to collapse
No :crying:
Here is my all the screens showing the problem :
http://imgur.com/a/fuMEz
On the first second and third, you can see that my app is correctly link with the game services (see the IDs, the package name and the status of OAuth and published).
On the fourth, you can see my application on the Google Play Games without achivements/leaderboard..
and finally when I click on the play store icon on the previous screen, I'm correctly on my application (so the link between both is correct) but again the "Achievements" icon is not here ..
I think it's something missing in my code saying to google that I used achievements ?
Edit: maybe in the manifest or in the build.gradle ? is there something to put which say I'm using achievements or something like that ?

Dissambler said:
Do you solve this problem?
Click to expand...
Click to collapse
Finally, I'm now able to add the google-play-services-games in my build.gradle file,
I read something on StackOverflow saying compiling google-play-services may use more than the 65K method allowed so we should use only the APIs we need.
So instead of :
Code:
dependencies {
compile 'com.google.android.gms:play-services:8.1.0'
}
Now I have :
Code:
dependencies {
compile 'com.google.android.gms:play-services-games:8.1.0'
}
( In the same time, is this play-services-games enough alone or should I add something else in order to have achievements working ?)
But still, my application on google play games doesn't have achievements/leaderboard :crying:
So I Clean/Rebuilt my project and now I get a warning :
Code:
Warning:[options] bootstrap class path not set in conjunction with -source 1.6

Related

[Q] Nokia Drive XAP unoficially available to all...any clues on its whereabouts?

Hi, XDA fans.
So it is Nokia’s beloved turn by turn GPS navigation solution for Windows Phone Mango that is allegedly being distributed via internet's underground society.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This information was made available via WMPOWERUSER.COM
With that being said, I was unable to locate working .xap for the aforementioned apllication quite yet. Therefore any help or clues where to look would be greatly appreciated
can you add download link?
search button and you shall find
XAP
Any update on where to find the .xap file? I'd really love to get this onto my HD7 but can't find it ANYWHERE. Any help would be greatly appreciated!
Saljen said:
Any update on where to find the .xap file? I'd really love to get this onto my HD7 but can't find it ANYWHERE. Any help would be greatly appreciated!
Click to expand...
Click to collapse
http://gadgetian.com/27337/nokia-music-maps-xap-files-windows-phone-download/
Im trying Nokia Drive....it woks fine with data 3G on (online assistance)....is not supposed work too, offline?
suoko said:
http://gadgetian.com/27337/nokia-music-maps-xap-files-windows-phone-download/
Click to expand...
Click to collapse
I went to the link but it does not have Nokia Drive. I've searched everywhere and cannot find the Nokia Drive XAP even tho I heard it became available today.
I see that you, pack21, said that you are trying Nokia Drive and it works fine but how are you trying it? You were asking for a link earlier and I see you must've gotten one. Do you feel like sharing?
We took this for a spin and it works see here : Nokia Drive XAP
Here is a video of it on the Omnia 7
installed on my HD2 and it works really great! dont have any issues (except that there is no navigation for pedestrians >.< I am just 18 and I have no driving license yet >.< . It has incredibly fast GPS fix (1-2 seconds )
My wife has just got the Lumia 800 and when she goes to the normal Marketplace it lists a load of Nokia apps including Nokia drive.
Would it not be easier to try and make the phone pretend its Lumia 800 instead of a HD7 so that you can just download the app directly from the marketplace?
I have posted a thread asking that question before seeing this...
Looks like I missed the boat. Can't find the xap anywhere and Chevron licenses are also out.
who need chevron with HTC HD2?????? all ROM's is full unlocked....
and guys: it's discovered brilliant thing called Google... just use it and search for "Nokia_Drive_v1.5.0.0-MarsFixedV3.1"
Nokia Drive can download offline map files, but when searching the destination address, it still needs to access network . It seems to me Nokia Drive does not keep address book-GPS location mapping locally. Does anyone have different ideas?
Is there has any update that can fix the problem? Because I didn't use data plan
no fix for this... simply: this is way how ND work...
Nokia drive on my hd2 is the best mobile phone GPS application I've used..hopefully Tmobile gets a Nokia lumia 900
Nokia Drive 2.0
this is an offline navigation that does not require internet connection .. it can be switched directly to the menu
Screenshots from my HD7
Installation of construction of a:
Since it is not just for Nokia Lumia, it will not work on other zariadeniach.It is not enough to install OEM Nokia app to display Nokia Marketplace, although it can be installed directly, but displays a message that the application is not for your device.
There have attacked manual transcription of the registers, and it works 100%.
[/ quote]
only for full-unlock the device!
-install the registry editor, if you do not
-go to HKEY_LOCAL_MACHINE \ System \ Platform \ DeviceTargetingInfo
MODeviceName-HD7 T9292 rewrite of the Lumia 800
-OemName rewrite of HTC at NOKIA
-reset the device
-then just install and enjoy xap
http://www.share-online.biz/dl/126Y071M3B
http://www.uploading.to/c9s6vfthljma
http://uploaded.to/file/klu769j8
...sorry my bad english,this google translate
Click to expand...
Click to collapse
MIO1 said:
Nokia Drive 2.0
this is an offline navigation that does not require internet connection .. it can be switched directly to the menu
Screenshots from my HD7
Installation of construction of a:
Since it is not just for Nokia Lumia, it will not work on other zariadeniach.It is not enough to install OEM Nokia app to display Nokia Marketplace, although it can be installed directly, but displays a message that the application is not for your device.
There have attacked manual transcription of the registers, and it works 100%.
[/ quote]
only for full-unlock the device!
-install the registry editor, if you do not
-go to HKEY_LOCAL_MACHINE \ System \ Platform \ DeviceTargetingInfo
MODeviceName-HD7 T9292 rewrite of the Lumia 800
-OemName rewrite of HTC at NOKIA
-reset the device
-then just install and enjoy xap
http://www.share-online.biz/dl/126Y071M3B
http://www.uploading.to/c9s6vfthljma
http://uploaded.to/file/klu769j8
...sorry my bad english,this google translate
Click to expand...
Click to collapse
thank you for sharing...anyway..what about maps?..got to download them directly from phone?
Click to expand...
Click to collapse
Installing it now on my Omnia 7, and seems to work nicely.
I see in your screenshot you left the model and brand changed to Lumia 800. Is that required for it to work, or only during the installation?
*EDIT* No, it does not work if you revert the registry changes. If you try to start it, it displays a grey screen with big letters saying: "Nokia Drive is not supported on your device..."
---------- Post added at 09:53 PM ---------- Previous post was at 09:44 PM ----------
---------- Post added at 09:54 PM ---------- Previous post was at 09:53 PM ----------
MIO1 said:
thank you for sharing...anyway..what about maps?..got to download them directly from phone?
Click to expand...
Click to collapse
The downloading goes over wifi within the app. It's an optional part of the installation procedure as well.
FreekWel said:
Installing it now on my Omnia 7, and seems to work nicely.
I see in your screenshot you left the model and brand changed to Lumia 800. Is that required for it to work, or only during the installation?
*EDIT* No, it does not work if you revert the registry changes. If you try to start it, it displays a grey screen with big letters saying: "Nokia Drive is not supported on your device..."
---------- Post added at 09:53 PM ---------- Previous post was at 09:44 PM ----------
---------- Post added at 09:54 PM ---------- Previous post was at 09:53 PM ----------
The downloading goes over wifi within the app. It's an optional part of the installation procedure as well.
Click to expand...
Click to collapse
thanks a lot..

APK Easy Manager v1.0 - Apk Editing made easy! [Only for Windows]

This is basically like APK Manager but made simpler, it is made for modders who wants to edit multiple apks at once and built them at once!
It includes two builders and two decompilers for full compatibility of APK's whether from ICS and Gingerbread.
Download: APK Easy Manager v1.0
Features:
Graphical User Interface
Lighter Size
More Organized
APK's that's needed to be decompiled can be placed anywhere
Supports Drag and Drop
Decompile and Build Multiple APK's at once!
Supports Both ICS and Gingerbread APK's
Built for no0bs and novice modders
Works on all Windows Platform which Supports net framework 2.0
To Do list:
Add the option to have parallel decompiling and building!
Improve GUI
Add an application icon
Known Bugs:
Can't be maximized properly
Requirements:
Java (JRE will do)
.Net Framework 2.0
only
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
TIP: Even though the box says Drop ______ Here, you can just drop it in the listbox
Thank you for your work....
just a question does it do all signing, compressing process at its own???
krish_nank said:
Thank you for your work....
Click to expand...
Click to collapse
your welcome, it's really intended for personal use only but I decided to share it with you guys since there were too many things to click and press on the normal apk manager...and btw the app was made less than a day xD
hi trettet thanks for the toold downloading now guna give it ago thanks
So can't wait to finish work looks like it make things easyer
Sent from my MT15i using Tapatalk
How about the framework-res.apk in /bins?
Should they stay or be replaced with ones from my phone?
signing??
Sent from my LT18i
wintel_mac said:
How about the framework-res.apk in /bins?
Should they stay or be replaced with ones from my phone?
Click to expand...
Click to collapse
it depends...if your apk won't decompile and build properly even using both Decompilers and Builders, replace the framework-apk's from your phone...
rashid.fairus said:
signing??
Sent from my LT18i
Click to expand...
Click to collapse
will add that on the next version...
Can I get the code of an apk, somehow? Or will this application just allow me to modify resources of apk?
thankyou, it's helped
nice work....
no offence but i cnt get it to work well ever....i get d apk decompiled properly most of time ut compilation never works for me....either der is an error or d modd isnt actually applied...
by d way i knw how to use apktool n apkmanager ut wanted to give dis a try
Sent from my GT-I9100G using XDA
tnx
Tnx a lot , for me it is a good app
Superb Tool
hi,trettet thanks for sharing this wonderful tool..
IMHO this is by far the easiest tool to decompile & compile apk
It would be handy if you can implement the following features also:
*Batch Sign
*Batch Zip-align
*Batch Install Apk
*Batch Rename
By implementing these features,this would an complete tool dealing anything related to apk..."One tool to rule them all"
Here is an icon for the tool which i have created..
View attachment 998369
Can get it to decompile easily but when i try compiling it back cmd stars saying "smaling" for a second then it exits nothing else happens!
181charan said:
Can get it to decompile easily but when i try compiling it back cmd stars saying "smaling" for a second then it exits nothing else happens!
Click to expand...
Click to collapse
Has anybody actually been able to get this to work? I get the same thing... It says "smaling," then runs a few more lines of script, but exits so quickly that I can't even read any of it.
---------- Post added at 11:01 PM ---------- Previous post was at 10:56 PM ----------
trettet said:
it depends...if your apk won't decompile and build properly even using both Decompilers and Builders, replace the framework-apk's from your phone...
Click to expand...
Click to collapse
What exactly do you mean "replace the framework-apk's from your phone?" I am not finding anything on my phone with a name like this...
I'm just getting into developing
ggoodman1022 said:
Has anybody actually been able to get this to work? I get the same thing... It says "smaling," then runs a few more lines of script, but exits so quickly that I can't even read any of it.
---------- Post added at 11:01 PM ---------- Previous post was at 10:56 PM ----------
What exactly do you mean "replace the framework-apk's from your phone?" I am not finding anything on my phone with a name like this...
I'm just getting into developing
Click to expand...
Click to collapse
System/framework/framework-res.apk
Sent from my Galaxy Nexus using Tapatalk 2
HumanXv2 said:
System/framework/framework-res.apk
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
So, do I just copy that file, and place it in the same directory for the app that I want it to build?
Basically, what I've done is decompiled an app, edited a few text files within it (I couldn't get edits to stick simply within root browser) and now I want to build the app. The instructions say to just drag & drop the path into the manager and click "Start Building."
But with, or without the framework-res.apk from the phone, it just says "Smaling" for about ten seconds, then runs more script and closes before I can read any of it. But nothing shows up in the result folder...

[TOOL] Real APK Leecher - Download apk from your PC

Hi guys, sometimes you can't download an application from market because it is unavailable in your country or many other reasons. But now you can always download the apk files from your PC easily with this tool then transfer it into your device.
Real APK Leecher v1.1.8
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Real APK Leecher allows you to download android APK files from Android Market to your PC.
Features:
Download APK from market to your PC
Download apk icon (just for fun )
Download multiple files at once
Supports to search in:
- Vendor name
- Package name. Ex: com.android.helloworld
- Custom
Change logs:
25/3/2012: v1.1.8
Option to scan existing apk folder to compare its version with market version.
Rename apk file manually.
Rename all apk files automatically with file name format option.
Download apps with option to select file name format.
Copy link location on Google Play.
Search related apps.
Fix download app that contains “:”
Check update for new version.
Download:
discontinued
Instruction:
To use this tool, you need enter your market account and Device ID. To get your Device ID, just simply open dial pad, press *#*#8255#*#*. If it opens “GTalk Service Monitor”, find lines that begin with JID and Device ID. Your account is JID, and your device id is a string that after android- prefix.
.
Note:
- Use at your own risk. I’ll not take responsibility for anything happen to you or your account.
- This tool request Java Runtime Environment(JRE) or JDK.
- Do not delete "lib" folder.
Thanks:
- Tim Strazzere for his android-market-api.
- CodeBlue for his awesome tool.
If you encounter other issues please contact at: [email protected] or leave comment on this blog.
More screen shot:
Were is the download? Looks good this.
Sent from my R800 using xda premium
Hm, how does this work with paid apps that your phone doesn't support?
danlivesey said:
Were is the download? Looks good this.
Sent from my R800 using xda premium
Click to expand...
Click to collapse
Sorry i forgot link updated.
UrInsan3 said:
Hm, how does this work with paid apps that your phone doesn't support?
Click to expand...
Click to collapse
At this time, this tool doesn't support to download paid apps.
thanks man
great program thanks for sharing works great
thanks man...
Great program but unfortunately i search for zenonia 4 and it only finds zenonia 1 & 2 even zenonia 3 is not showing up...wonder why?
@whisky_x : Thanks for public my tool to xda-forum.
@yukimura12: i've re-checked my tool for "zenonia 4" and its showing up as expected. So i'm not sure about your problem. Can you tell me if zenonia 4 is listed if you search it on your phone? By the way, recheck your device id. The search result comes with less accurate with you provide wrong device id.
Great Program to share here .
bibovodanh said:
@whisky_x : Thanks for public my tool to xda-forum.
@yukimura12: i've re-checked my tool for "zenonia 4" and its showing up as expected. So i'm not sure about your problem. Can you tell me if zenonia 4 is listed if you search it on your phone? By the way, recheck your device id. The search result comes with less accurate with you provide wrong device id.
Click to expand...
Click to collapse
nvm...i just found that my device id is wrong...
working great now...
yukimura12 said:
thanks man...
Great program but unfortunately i search for zenonia 4 and it only finds zenonia 1 & 2 even zenonia 3 is not showing up...wonder why?
Click to expand...
Click to collapse
it found it for me
just searshed for zenonia 4 and showed up
Thanks for the application.....downloading...
Just a quick reminder, since it is not clearly specified in the first post:
This tool is illegal and goes against the ToS of the Android Market / Play Store:
3.3 You agree not to access (or attempt to access) Google Play by any means other than through the interface that is provided by Google, unless you have been specifically allowed to do so in a separate agreement with Google. You specifically agree not to access (or attempt to access) Google Play through any automated means (including use of scripts, crawlers, or similar technologies) and shall ensure that you comply with the instructions set out in any robots.txt file present on the Google Play website.
Having said that, this is a really sweet tool and helpful too. Have fun using it and take care
Download Paid Apps
Google Play currently has a bug in it which prohibits some users from installing apps they have paid for (listed as purchased in the Google Play App).
They are "working" on it but it is very frustrating when I cannot download apps that I have purchased.
This application would be extremely useful if it allowed downloading of apps that I have purchased.
Thank you.../
thnx works great
ChitownWingMan said:
Google Play currently has a bug in it which prohibits some users from installing apps they have paid for (listed as purchased in the Google Play App).
They are "working" on it but it is very frustrating when I cannot download apps that I have purchased.
This application would be extremely useful if it allowed downloading of apps that I have purchased.
Thank you.../
Click to expand...
Click to collapse
Same here, would be crazy of happiness of being able to do that
Mmm, interesting, when I dial *#*#8255#*#* nothing happens (Galaxy ace 2.3.4). Thanks anyway.
Nestagirl said:
Mmm, interesting, when I dial *#*#8255#*#* nothing happens (Galaxy ace 2.3.4). Thanks anyway.
Click to expand...
Click to collapse
Search device Id on the play store
Sent from my SGH-T959 using xda premium
ChitownWingMan said:
Google Play currently has a bug in it which prohibits some users from installing apps they have paid for (listed as purchased in the Google Play App).
They are "working" on it but it is very frustrating when I cannot download apps that I have purchased.
This application would be extremely useful if it allowed downloading of apps that I have purchased.
Thank you.../
Click to expand...
Click to collapse
seahorsepip said:
Same here, would be crazy of happiness of being able to do that
Click to expand...
Click to collapse
I don't have any account that purchased app, so i couldn't test it. I blocked download to all apps that is not free. Leave your email at my blog. I'll give you the unblock download app version to let you try.
Btw, i'll upgrade this tool for more functions as soon as posible when i have free time.
PS: you can find my blog link on the first post. Due to 3 posts, i can't insert a link on my reply T_T
is there anyway to spoof a device id other than your own?
I ask because I wish to download APKs of applications like Chrome browser but my Bravo doesn't officially support ICS.

[GUIDE] Signing and zipaligning your app

This is my tutorial on how to sign and zipalign apps for publishing:
If you run an app in Eclipse or Android Studio, it is signed with a standard debug certificate. This is perfect for testing. However, do never release an app signed with the standard debug certificate. Users will be able to install the app for just 365 days and people can easily decompile your apk.
Signing is an easy way of preventing this and to identify the developer. You will not be able to upload an apk signed with the Eclipse or Android Studio debug certificate to Google Play.
Signing means creating a keystore which is a container for your keys. Then you will create a key and sign your application with that.
You will also need to zipalign your app. This optimizes the apk in some ways.
These two things can be done using Eclipse and its export wizard or Android Studio. This will sign and zipalign your app:
Eclipse:
1) Develop your app.
2) Open the project in Eclipse and select Files -> Export.
4) Select "Android" -> "Export Android Application":
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5) Choose the project you want to export:
6) Select "Create a new keystore". Enter the location of the keystore and the password and confirm it:
7) Enter the name for the key, a password for the key, your name and the validity (the period of time users will be able to install your app for):
8) Select the destination to which the apk should be exported:
9) Click finish.
10) You are done! :good:
Android Studio:
1) Develop your app.
2) Open the project in Android Studio and select Build -> Generate Signed APK...
3) Enter the path of the keystore and hit Create new... :
4) Enter the password for the keystore, the name for the key, a password for the key, your name and the validity (the period of time users will be able to install your app for):
5) The form will be filled out automatically:
6) Select the destination to which the apk should be exported:
7) Click finish.
8) You are done! :good:
Some tips:
Keep your keystore at a secure location and do not tell anybody else the passwords. If they knew the password, they would be able to decompile your apk and sign it with your certificate. Everybody would think that you are the developer. So keep your key secure.
Sign all of your apps with one certificate. It will be used to identify you. You will need it for some features like two applications sharing one Dalvik VM or a data directory.
Remember: You will not be able to change the certificate after releasing it through Google Play once.
Happy coding!
This was featured on the XDA portal on April 28, 2013.
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Cool
6mg said:
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Cool
Click to expand...
Click to collapse
You are welcome.
nice man i was luking for a guide lyk this....
im a beginner
cud u tell me more about keystore ...lyk how to male or get one ??
Sent from my GT-S5360 using xda app-developers app
anubhavrev said:
nice man i was luking for a guide lyk this....
im a beginner
cud u tell me more about keystore ...lyk how to male or get one ??
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?
Where is the zipaligning part?
bassie1995 said:
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?
Click to expand...
Click to collapse
okay got it...
newbie to apps ....
frenzyboi said:
Where is the zipaligning part?
Click to expand...
Click to collapse
I think that's included when you export it.
Never had to do it myself, nor have I heard of having to do so.
anubhavrev said:
okay got it...
newbie to apps ....
Click to expand...
Click to collapse
No problems, glad to help and have fun making apps .
Sent from my GT-I9300 using Tapatalk 2
bassie1995 said:
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?
Click to expand...
Click to collapse
If someone else has your key and the password, he will be able to sign his apps with your key. Everyone will think that it is your app. If there is malicious code, you will be responsible for it unless you can prove that it is not created by you.
If someone has just the password, he will be able to decompile your apps.
And for mailing: It is a security risk because somebody could hack your or the other one's account.
So keep your keys and passwords secure.
Btw, thank you for helping the others when I was not at home. :good:
frenzyboi said:
Where is the zipaligning part?
Click to expand...
Click to collapse
Yes, it is included. I will update the guide.
nikwen said:
If someone else has your key and the password, he will be able to sign his apps with your key. Everyone will think that it is your app. If there is malicious code, you will be responsible for it unless you can prove that it is not created by you.
If someone has just the password, he will be able to decompile your apps.
And for mailing: It is a security risk because somebody could hack your or the other one's account.
So keep your keys and passwords secure.
Btw, thank you for helping the others when I was not at home. :good:
Click to expand...
Click to collapse
So yeah, this .
Thanks to the portal team for featuring this. :good:
http://www.xda-developers.com/android/how-to-sign-and-zipalign-your-apk-files/
Thread stuck...
Good job mate
mark manning said:
Thread stuck...
Good job mate
Click to expand...
Click to collapse
Thanks.
Updated the guide for Android Studio.
hahaha i found best forum for android development again..
thanks xda.. :good: :good: :good:
pratamawijaya said:
hahaha i found best forum for android development again..
thanks xda.. :good: :good: :good:
Click to expand...
Click to collapse
Yeah, XDA is amazing. :good:
Thanks.
okay so its finally time for me to sign an app ...but when i export the project everything goes well until the keystore part.....what do i need to type into it.....
i need to create a new keystore ...but im asked for the path to the keystore.....
pretty confused .....
anubhavrev said:
okay so its finally time for me to sign an app ...but when i export the project everything goes well until the keystore part.....what do i need to type into it.....
i need to create a new keystore ...but im asked for the path to the keystore.....
pretty confused .....
Click to expand...
Click to collapse
Yeah, point 6 says:
6) Select "Create a new keystore". Enter the location of the keystore and the password and confirm it:
Click to expand...
Click to collapse
That means that it asks for the path where the keystore should be created.
Check my screenshot.
Since some days i use android debug keystore to sign my app's test builds. And then i transfer it to my phone. But when i try to run it after installing Im getting contineous force closes! Any Idea? Want me to paste the logcat? Im sure that there is no mistake in program. because the app runs smoothly when installing from eclipse.

[DETAILED GUIDE][CM11] Build your own Font app

Mod delete no contributions anymore.
Delete this thread
Very nice! 2 thumbs up!!
Hi, codekidX. So I tried to make a font on my own but ran into a problem. I followed your tutorial all the way to Step 4: Build app.
When I got here, after pressing "Build > Make Project", I don't get a "Gradle Invocation successful" message nor an apk for my font. Instead, I get a "Gradle build finished" and when I go into my "package > app > build" folder, I don't see an "apk" folder but "generated" and "intermediates."
Any clue on how to fix this? Thanks!
edit: I figured it out! Apparently, Make Project doesn't build APKs on the newest versions of Android Studio, so you have to build from command line. Here's the link to input the correct commands to build the APK.
tflogic said:
Hi, codekidX. So I tried to make a font on my own but ran into a problem. I followed your tutorial all the way to Step 4: Build app.
When I got here, after pressing "Build > Make Project", I don't get a "Gradle Invocation successful" message nor an apk for my font. Instead, I get a "Gradle build finished" and when I go into my "package > app > build" folder, I don't see an "apk" folder but "generated" and "intermediates."
Any clue on how to fix this? Thanks!
edit: I figured it out! Apparently, Make Project doesn't build APKs on the newest versions of Android Studio, so you have to build from command line. Here's the link to input the correct commands to build the APK.
Click to expand...
Click to collapse
Ohh I will update the guide and Android Studio , did the font work good?
thank you for pointing out the error
I will update the guide with font-family tutorial soon
codekidX said:
Ohh I will update the guide and Android Studio , did the font work good?
thank you for pointing out the error
I will update the guide with font-family tutorial soon
Click to expand...
Click to collapse
Oh it wasn't an error at all, just a difference in versions apparently. Here's the discussion I found about Make Project and building apks.
Unfortunately, I got a package parsing error: "There is a problem parsing the package" when I tried to run the apk on my phone. Since this is past my own understanding in Android, I quit and just went ahead and installed the Android L font from your Project Sparky
tflogic said:
Oh it wasn't an error at all, just a difference in versions apparently. Here's the discussion I found about Make Project and building apks.
Unfortunately, I got a package parsing error: "There is a problem parsing the package" when I tried to run the apk on my phone. Since this is past my own understanding in Android, I quit and just went ahead and installed the Android L font from your Project Sparky
Click to expand...
Click to collapse
parsing error because you might have not set minimum required sdk to 4.4 and target sdk 4.4
does writing regular or thin or condensed in fonts.xml make any difference??
for example I have a regular style font but i don't write regular in fonts.xml and just write the font name
for example in guide it says crayon-regular.ttf
but I don't write regular I just write crayon.ttf
will this make any difference??
and if I have a thin style font but I don't mention abc-thin.ttf and only write abc.ttf will it not display the font in thin style??
please explain
edit : here is one of my fonts.xml which i am using without any problems. and every pack that I made is in the same way i.e only font name and no suffix of regular/thin/condensed etc
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
REVENGE SOLVES EVERYTHING
tysonraylee said:
does writing regular or thin or condensed in fonts.xml make any difference??
for example I have a regular style font but i don't write regular in fonts.xml and just write the font name
for example in guide it says crayon-regular.ttf
but I don't write regular I just write crayon.ttf
will this make any difference??
and if I have a thin style font but I don't mention abc-thin.ttf and only write abc.ttf will it not display the font in thin style??
please explain
edit : here is one of my fonts.xml which i am using without any problems. and every pack that I made is in the same way i.e only font name and no suffix of regular/thin/condensed etc
REVENGE SOLVES EVERYTHING
Click to expand...
Click to collapse
Hello, I have explained it in the 2nd post. so you need to name it regular so that it replaces the regular font of the system
ie: Roboto-Regular.ttf inside android system
codekidX said:
Hello, I have explained it in the 2nd post. so you need to name it regular so that it replaces the regular font of the system
ie: Roboto-Regular.ttf inside android system
Click to expand...
Click to collapse
I am sorry but I don't understand the need to do so. I am not writing any suffix like thin/regular etc to the font name and they show up perfectly in the device.
do you mean by adding such suffixes the font adapts accordingly??
like let's say that there is a text
Heading
Sub Heading
Text
so if I include the thin,regular,light and condensed fonts the font will adapt the text accordingly
Heading (bold)
Sub heading (regular)
Text (light)
and if I don't add the thin,regular,light fonts then only the included font is applied everywhere??
I know this is confusing but please tell me why should we be adding a family set while a single font (as mentioned in the first post) was doing the job perfectly??
REVENGE SOLVES EVERYTHING
Thank you very much!
Thanks for sharing
Sent From A Samsung Galaxy S2 With Resurrection Remix ROM .
Can we add more fonts in one package?
@codekidX
Thanks for this. But I want to ask, I install my font, font on settings is changed, but not font in app drawer and battery circle font. Whats wrong with my project?
i did everything exactly how posted and when i launch the apk on the device and hit install it says app not installed :/
I have error build error. Will the version of android studio affects the development? If yes then I think you should update your guide with the least st version of Android studio. 0.8.0
Thanks
Image Error
sent from an open source device
xdagee said:
I have error build error. Will the version of android studio affects the development? If yes then I think you should update your guide with the least st version of Android studio. 0.8.0
Thanks
sent from an open source device
Click to expand...
Click to collapse
Same. Lol. I ended up just giving up.
Sent from my Nexus 5 using Tapatalk
@codekidX @tysonraylee Hello Guys, i have a problem hope that can help me with this. I'm using the Android Stoudio 0.8.2 and when a finish the APK i got an: "Parsing Error" How i can fix that? I have selected KitKat API 19 at the start, but the next window "Add an activity to Mobile" dont know if i need change something here. Can guide me a bit please?
exodius48 said:
@codekidX
Thanks for this. But I want to ask, I install my font, font on settings is changed, but not font in app drawer and battery circle font. Whats wrong with my project?
Click to expand...
Click to collapse
Some roms have missing commit of theme chooser usually a ROM problem. I was in pa for sometime and faced the same issue.
dancer_69 said:
Can we add more fonts in one package?
Click to expand...
Click to collapse
Yes, working on it will update guide if success.
imablackhat said:
i did everything exactly how posted and when i launch the apk on the device and hit install it says app not installed :/
Click to expand...
Click to collapse
Usually signing problem or the app is not built properly. Try building again if same problem comes use signapk
xdagee said:
I have error build error. Will the version of android studio affects the development? If yes then I think you should update your guide with the least st version of Android studio. 0.8.0
Thanks
Image Error
sent from an open source device
Click to expand...
Click to collapse
Hello, error in Java Virtual Machine Update your jdk or downgrade. It is not detecting the app HeapSize to compile.
slyferx said:
@codekidX @tysonraylee Hello Guys, i have a problem hope that can help me with this. I'm using the Android Stoudio 0.8.2 and when a finish the APK i got an: "Parsing Error" How i can fix that? I have selected KitKat API 19 at the start, but the next window "Add an activity to Mobile" dont know if i need change something here. Can guide me a bit please?
Click to expand...
Click to collapse
I will upload a video with the same procedure hope it helps. Video will be there in 20-25 mins.
Edit :
Video Link
codekidX said:
Some roms have missing commit of theme chooser usually a ROM problem. I was in pa for sometime and faced the same issue.
Yes, working on it will update guide if success.
Usually signing problem or the app is not built properly. Try building again if same problem comes use signapk
Hello, error in Java Virtual Machine Update your jdk or downgrade. It is not detecting the app HeapSize to compile.
I will upload a video with the same procedure hope it helps. Video will be there in 20-25 mins.
Edit :
Video Link
Click to expand...
Click to collapse
I think the version of Android studio is causing the issue; If you look at his video guide, he is on version 0.5.2 whiles most of us here reporting issues is either on 0.8.2 or above.

Categories

Resources