Put APK aplication on Google Play - android

When I try to put an APK on Google Play it says I need to signed my application.
I use Eclipse, and my structure files are the following:
My Project
Folder src
-> main.myproject
Folder gen
-> adapters.myproject
-> classes.myproject
-> com.myproject
How should I export signed application? If you say to me that the steps are:
Right click on the project -> Android Tools -> Export Signed
, when I finish those steps I lose all items (except com.myproject) from my 'Folder Gen'. How's that possible?
I know how to Align APK. Yesterday I put my first application on Google Play. I did the Android Tools -> Export Signed thing (I've lost my files, but I had backup..), then I align the APK and send it to Google Play.
Today I want to update the APK in Google Play, I know I have to change the version, but what about the signed thing? Thanks.
Edit: Solved.
First problem: don't ever put your files into Gen folder, always use the SRC folder.
Second problem: because I put the files into Gen Folder, when compiled the files were deleted

Dont panic about the gen folder as Eclipse is rebuilding the apk using your keystore.
1.increment the version code and right click on the project and select Export
2.then click on Export Android Application
3.Then use the keystore which you have created to upload this app on Playstore
4.And choose the destination to where you want to put the apk file and just publish it on playstore for backup.
To install the signed apk
1.open the command prompt(cmd)
2.go to the android sdk folder
3.go to the platform-tools folder
4.then type adb install path_to_your_APK
That's it..enjoy!

Related

when i try to make signed apk I cannot find it

my app work well on my device when I run it but when I try to make signed apk to publish my app I can't find it .
I tried a lot of times and searched in my project folder.
How can I find my signed apk???
In android studio
1) Click on 'Build' -> 'Generate Signed APK'
2) Fill keystore path ,alias, password...
3) Click on Next
4) You can see 'APK Destiantion Folder' field. Set your destination path as desktop
5) Click on Finish.
You can find your .apk file in desktop.
You need following things in order to produce signed apk file
The keystore file which has the extension .jks and its password.
The android project which has no compile-time errors.
The following steps to be followed.
Choose Build>Generate Signed apk option in the android studio.
Select the keystore file and enter its password.
Click Next then Finish.
After a successful build, you will get a link to the folder containing output file.
If you want to navigate manually, your signed apk file will be in
Project Folder -> app -> release -> app-release.apk

How can I get Apk file...?

I am new for Android that's why i'm asking this much of doubts. I Developed one project i want send Apk file to some one else.i want get my APK file from my project please help me.
Build -> Build APK.
If you want to create a signed APK you should follow other process but i think you will be ok with this. Then Android Studio generate link to your local folder in event log with apk.
Like this:
Open your project is file explorer then open app folder then open build folder then open output folder then open apk folder...here you will get your apks.
File Explorer-->app-->build-->Output-->apk folder
For Eclipse.
You can take it from Your Project -> bin folder.
From Android Studio.
You can take it from Your Project -> app -> build -> outputs -> apk -> app-debug.apk
If you want to generate signed APK it will give you option where you want to generate your APK and set your path.
Using Android Studio
Build -> Generate APK
then the output apk build location will appear.
Or
YourProjectName -> app -> build -> outputs -> apk

Application name not being prefixed to signed apk - Android Studio

I created the signed apk using android studio but it shows as app-release.apk instead of MyAppName-release.apk. How can I add myappname to be prefixed to signed apk.
In the application folder structure in android studio, there is myappname folder then under it is the app folder which has all the java files and layout files etc. I guess it's picking name app from the folder but when I right click on it, doesn't gives me an option to change module name. I would like to add my application name in the signed apk file. Any ideas? Thanks
You can just rename the file app-release.apk to MyAppName-release.apk, or whatever you want. By the way, this will not affect anything you see after installing the app on a device.

Cannot find the .apk file in my android project

I have developed an android project using eclipse for android. I was developed it through importing a sample project. But there was only .project file after I am opening the project folder. I searched the .apk file everywhere in my drive. But I could not find it. How do I find my APK file?
To get the .apk file first you need to run the application and and after successful running you can find the .apk file in bin folder of your application.
If you have already compiled this project, you can find .apk file inside bin folder in project folder. Otherwise compiled and run the project as an android application, when the project is automatically generate the .apk file inside the bin folder.
There are two type of APK one Singed APK and Unsigned APK while you are comple and run your app in emulator at that time unsinged APK generated that you can find
yourProjectFolder --> Bin --> yourproject.APK
Make a Signed and Unsigned apk from eclipse :
How to get Unsigned apk :
-> Run project
-> Open bin directory and get youappname.apk
OR
-> Right click on project
-> Android Tools -> Export Unsigned Application Package
-> Then specify the file location for the signed .apk.
How to get Signed apk :
-> Right click on project.
-> Android Tools -> Export Signed Application Package
-> Then specify the file location for the signed .apk.
Your Project Loation\Application Name\app\build\outputs\apk
(C:\Users\samsung\Desktop\Name of your APp\app\build\outputs\apk)

Getting APK file from my project

I just press right on my appproject and choose Android Tools --> Export Unsigned Application Package...
But if i want to install the apk on my phone the install process dont finish
What do i have made wrong?
In eclipse you you go to run->build or if you have build automatically turned on you can go into the projects file structure and just copy the .apk file out of the bin folder. You can put this on the devices SD card and install it from there. No need to do the export unsigned apk thing.
The .apk must be signed.
Eclipse auto-generates an .apk signed with a debugging key at bin/YourApp.apk. It's ok to use this file for testing purposes, but you shouldn't give this .apk to customers or end-users because you won't be able to update this app in the future.
If you intend to publish this .apk to your customers you should use your own key to sign the .apk. Read: Signing Your Applications
Make sure you enabled 'Unknown sources' within the applications section of your phone settings.
If you already running your project on emulator,you just close that emulator.And goes to
Project->clean
Project->BuildProject.
And then run your project in emulator and then check it out
bin/res/your.apk file
You should use "Export Signed" instead of "Export Unassigned".
Google does not allow Android System to install "Export Unassigned" apk, see here -> http://developer.android.com/tools/publishing/app-signing.html.
To "Export signed", read here -> http://www.srccodes.com/p/article/23/build-android-application-package-file-apk-using-eclipse-ide-and-android-development-tools-adt-plugin

Categories

Resources