How to give android apk to client for testing purpose? - android

I am developing for an application currently.
But when i will finish my app developement and i create .apk, should i sign it or make it unsigned while giving my app to my client for testing on their own devices??
He should not be able to put this apk on market as an author/ He should not distribute without my permission.
Any suggestions are welcome.
Thanks.

You can sign with your debug key which in windows resides in: username/.android/debug.keystore
Password is: android
Sec password is: android
Edit: But if the person has some knowledge he can just resign it with another key, you can't really protect yourself against this (afaik).

Steps:
In Android Studio Generate Build APK
Build -> Build APK
You get popup once apk is generated
Build APK
Apk(s) generated successfully.
Shown in File Manager.
Goto https://www.diawi.com/ and signup if if you are a new user, else login.
In above link you may find option "Upload your app".
Inside that box you ma find "Drag&drop files here .ipa or .zip(.app) .apk"
So Drag and Drop apk file or Browse apk file using + Add file(s) button.
After uploading apk Click on Send button.
This will generate a URL and Barcode.
Share that URL with a person who want to test the build.

you don't need to sign using debug key, android sdk does it automatically, and android applications signed by debug key is not possible to upload on market, you can get apk file in bin directry of your project.

file-> export
click on android
select "export android application"
specify the path

Related

How do I sign an apk for release?

When I upload it to the Google Play Store, it tells me it's been signed in debug mode and needs to be signed in release mode.
I only have the apk file and unfortunately lost the source files.
Try to decompile your apk and restore your source code then signed it
Decompile Apk and Dex Android files to Java
First of login to google console and get keygen.
In keygen property file, enter the credential like
key.store=debug.keystore
key.alias=androiddebugkey
key.store.password=abc
key.alias.password=abc
Also download keystore file from google console and place it in /app folder.
After then, run the command as -
./gradlew assembleRelease
This will create sign release apk in output folder
It is not possible to add it in playstore without having source code.
Anyway , in future , you will need source code in order to make updates to the
app .
For next projects try to use git in order to keep your projects.
Are you the author of this app ? From where do you have the apk ? Did not generate it ? Apk is in general in project output folder . Or do you have this apk from someone and you want to put it in play ?

Generating apk and test in android smartphones not work

I created an android application to connect external sql server over WiFi and fetched some data and displayed. I generate its apk via Build>Build apk. It creates apk folder in output folder of build which contains 'app.debug.apk' and 'app.debug.unaligned.apk'. I installed it in my android smartphone. The app is opened and shows layout. It doesn't shows any error message. But I can't fetch my data from sql server.
I don't know what is the problem with that.
Help me.
You need to follow steps for generating signed APK:
Click on Build > Generate Signed APK in the menu.
Click Next to build an APK for the app module.
Click on Create New to create a new keystore file.
Fill in the fields to create your keystore and key as appropriate.
Generate your signed APK.
For pictorial representation and more detailed answer please refer this link : How to generate signed APK

In AndroidStudio 1.1.0, I can't find the option to export application

I have created my android app and it runs on my connected device. I want to export my android application, but in the file menu, i don't find the 'Export' option at all, nor anywhere else. I had generated the Signed Apk(from the Build->Generate signed Apk option).Is this creating a problem.Please let me know what I'm doing wrong.
To publish your Android app on the PlayStore,
On your AndroidStudio do,
Build -> Generate signed APK
Create a new App listing on Developer Console
Upload the generated APK
Publish.

How to sign my APK file in release mode

I am developed one app and i have deleted all log.d and all other log's.
I also changed in manifest file "Debuggable=False",then i again cleaned my project and test it on device.after that i have created the keystore using export wizard & then created a zipaligned apk file using CMD.
But now still am not able to upload it,it showing the error as:
"You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode."
Please can any one tell me how to make .apk as release mode in eclipse ADT.
Go to:-
Right click on project-> Android tools-> Export Signed APK.
Follow to the credentials of keystore and its done.
Try this and let me know.
Refer this android signing your application generate a keystore and attach it to your application
Right click on your project
go to export -> android -> Export android application -> next
then it will show your project
Create new key store
here you have give the name of the keystore file extension is .jks
and password (this keystore file should be kept safe cause every time when you release update of your app you should sign with this keystore and remember the password)
fill the details in next page
destination location of your apk file .
Follow the steps

Android Application APK signing?

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!

Categories

Resources