I'm having a few issues with Android/Eclipse with using Android Market Billing. I have to sign my application properly for it to work (according to the dev guide), but I don't want to have to go through the whole process all the time.
Is there a step I can add to Eclipse so it'll automatically sign the APK?
You can use Ant to export a signed APK with a single command. There is no single-click 'Export signed APK' action in Eclipse.
You can use the Export Wizard from Package Explorer.
With 3 simple steps you are ready to publish on an application marketplace such as Google Play.
Check the link below for more info
http://developer.android.com/guide/publishing/app-signing.html#ExportWizard
Related
I successfully created my android app that uses INJECT_EVENTS permission which is signed with the system signature using platform.pk8 & platform.x509.pem (key/certificate) ... with the help of this link
but unfortunately the two links in the 1st point are dead.Is there any other alternative to them ??
since,now I have an aligned apk,can I put on the play store without creating a keystore which we create when we export a signed application project right click on project >android tools >Export signed application project and also other things like creating an alias,password,my name,orgranization name & all that stuff!!
please help me with this!!!
Thanks in advance!!!
Could someone tell me the steps of how to actually get your app (built in AS) on the play store?
I already:
made myself an Android developers console account.
paid the 25$ fee.
built a Signed version of my apk.
( i don't know where he built it to, AndroidStudioProjects\MyApplication\app\build\outputs\apk ? )
Do i need to rename the built apk to the desired app name ?
So please could someone describe the steps starting from 0, So future people with the same problem can find the solution easly ?
Before publishing your app to play store, you need to follow following two steps:
1. Get the signed version of apk: If you are using Eclipse,
Right click on project > Android tools > Signed version of application package
2. Zip align the apk obtained from above step:
"\sdk\build-tools\android-4.4W\zipalign.exe" -f -v 4 "\SignedProject.apk" "\Project_ZipAligned.apk"
The project that you created should have a .apk file or you can create a signed apk file . To sign you application go here http://developer.android.com/tools/publishing/app-signing.html. Once you have you apk file, app icons ready you need to upload them on the website. At this point you will be ready to publish.
Have looked around and I cannot see a clear answer to this question. I can see that the Phonegap Build service can assist with signing and Android APK file for submission into Google Play Store.
I am using Apache cordova locally with CLI to build, test and run my Android/iOS apps. My question is, how do I sign the APK file using Cordova CLI, not PGB? My app is too big for PGB.
Would I have to move the project into Eclipse IDE and do it there?
You do not sign an app with Cordova CLI. Cordova CLI has limited support for platform specific operations, and Android app signing is definitely one of those.
To sign the app (full instructions here: http://developer.android.com/tools/publishing/app-signing.html):
Create a keystore (only need to do this once)
cd [appname]/platforms/android/
edit ant.properties and add these values
key.store=[location of keystore]/android-release-key.keystore
key.alias=[name of your key]
Remove android:debuggable="true" from the AndroidManifest.xml before you run 'ant release'
run ant release and enter the passwords as needed
At the end, you should have a signed app ready for upload to Google Play.
with eclipse you can sign you apk very easily.
Just right click on project and got to Android Tools-> Export Signed Application Package-> click Next-> Select Create new keystore-> browse location and enter passowrd for keystore -> click Next->fill all information and finish the process.
Now you have a signed apk which you can install on any android device.
Hope this helps..
Thanks
PhoneGap Build seems like a great tool and I've build an .apk with it and tested it on multiple Android devices.
Now I need to submit it to the Google Play store but I need to sign the apk.
I've read all about signing an .apk on Google's developer site but it seems that I need to install the Android development tools and use Eclipse. I've installed it but I can't find a way to import my .apk so I'm stuck.
I don't get it - what is the point of PhoneGap Build then?
This is all very disheartening. The app is ready to go but...
This was the solution.
I got the Android dev kit - http://developer.android.com/sdk/index.html
From there I used this video to get KeyTool: http://www.youtube.com/watch?v=IaXE2FUENFI
From there I could create a KeyStore. Make sure you keep a record of the Alias and Password (I wrote them down and did not store them on any electronic device) and the location of the keystore.
When you are in PhoneGap Build and you pull files from GitHub (which is the way I'm doing it) after the build is done you'll see there is a dropdown. Select "add a key" and upload your keystore.
Note: The keystore will usually be locked. You have to unlock it in order to build with it. It only stays unlocked for one hour.
You PhoneGap Build apk will now be appended with -release instead of the usual -debug.
It's now ready for uploading to Google Play!
Go Build! :)
I have never used PhoneGap or signed an apk, but I found this on the phonegap.com website:
https://build.phonegap.com/docs/config-signing-android
Sounds like you can just add your signing key (How to get one) to your phonegap account and when a release build of your app is made with the PhoneGap Build they sign it.
You need to provide Title, Alias and a Keystore File to PhoneGap Build.
Generate a private key using keytool (comes with the Java SDK - so no Eclipse required)
On your next PhoneGap Build be sure to enter the Information under Options>Add a key
PhoneGap Build takes care of the rest.
As far as the keytool goes, someone else gave a short & sweet description of how to...
I would like to know about Android application signing.
IFAIK, blackberry and iphone application must be signed to work on the real device.
For the Android, does application need to sign ?
If so, how to sign the application ?
Please advice. guys.
Thanks in advance.
If you are using the Eclipse plugin.
Right click on the project > Android Tools > Export Signed Application Package
Follow the instructions for creating a .keystore file and you're sorted!
There's a guide to signing Android applications on the developer website: http://developer.android.com/guide/publishing/app-signing.html
To answer your immediate concern: you don't need a real device to sign an application. You sign during the build process, so it can be done on any computer with the correct software (which is all free). The easiest way to build a signed application is to just use Eclipse's ADT plugin, which has an "export signed application" feature.
As #Laurence Dawson mentioned one way to do this is just by opening your project in eclipse then
Right click on the project > Android Tools > Export Signed Application Package
BUT you MUST create a Keystore prior to do this, this is really easy and simple the option will appear after you select "Export Signed Application Package" from right click options, it will ask you to "sign" your APK (in order to Beta/Alpha/Production publish) this process is done simply by creating this Keystore, once its created just select this new keystore (it will appear right in the options of "Export Signed Application Package") and voila! then it will just ask you for enter the path where to upload your signed APK ready for google developer website!