13

I recently built an Android application using Eclipse (Galileo) on my PC/Xp. I'm a noob to Android development and it took me 2 months to build my app while reading/experimenting with all the Java and other programming ups/downs. The project runs fine on Eclipse. I now want to sign the application (currently reading on how to do this) in preparation to releasing it to the Android Market. At this point, I am stumped. The "signing your application" talks about signing the .apk file with your private key. My question is: where is the .apk file located on my PC/Eclipse files. I know where the src, res, manifest, and R.java files are located because I've been using them for the past 2 months. Where is the .apk file located? Hopefully someone can help me.

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Terry
  • 141
  • 1
  • 2
  • 7

6 Answers6

20

In Eclipse the default location for a compiled *.apk file is in the bin directory under the project workspace.

For example, my Eclipse workspace is under c:\Users\crsierra\workspace and my Eclipse Project is named HelloWorld. Therefore the HelloWorld.apk file will be located under c:\Users\crsierra\workspace\HelloWorld\bin\HelloWorld.apk

crsierra
  • 1,045
  • 10
  • 6
12

In eclipse right click on your project and in that menu select Android tools->Export signed Application package .

And In that appearing dialog follow the instructions.

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Ganapathy C
  • 5,989
  • 5
  • 42
  • 75
  • I downvoted this because I came here looking for a *specific directory location* to put my generated `.apk` files. @crsierra's answer has that. – yurisich Jan 02 '12 at 03:20
  • but that is *unsigned apk* ... if u want to install in device u need *signed apk* for generating signed apk this is the easiest way @droogans – Ganapathy C Jan 04 '12 at 07:28
  • 1
    I upvoted this because I came here looking for a _specific directory location_ to put my generated .apk files. But they weren't there. @Ganapathy had the right answer for me (although I did choose "unsigned" apk) – Jason John Jul 18 '14 at 14:45
3

You can export signed and unsigned .apk file using eclipse, as well as can generate private key too just use Project folder -- > right click --> Android tools

Zoombie
  • 3,590
  • 5
  • 33
  • 40
2

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
Satheesh
  • 1,722
  • 25
  • 35
1

Typically in the bin folder.

Femi
  • 64,273
  • 8
  • 118
  • 148
  • I usually find it in the bin folder, but for a few of my projects, it wasn't to be found. I had to use Android Tools -> Export Unsigned APK. Any reason as to why that happened? – Jason John Jul 18 '14 at 14:46
0

Its Simple, Go to :

Workspace -> YourApp folder & in that folder type in the search bar(top-right) for your YourApp.apk !

Vivek Warde
  • 1,936
  • 8
  • 47
  • 77