1

Where is my apk file? I have made an app and a library project that it depends on. It loads in the emulator fine...

But there is no .apk file in bin/

Isn't this where it's supposed to be?

pixelearth
  • 13,674
  • 10
  • 62
  • 110
  • "Isn't this where it's supposed to be?" -- if by "/bin" you mean the `bin/` directory of your project, that is where your APK will reside when compiled. – CommonsWare Jun 20 '13 at 17:01

2 Answers2

2

The apk should be found under bin/ folder. Make sure you compile, and not just build the project: How to build an APK file in Eclipse?

EDIT As Chris kindly pointed out, bin/ is generally found under your project directory, e.g. path/to/projectdir/bin

Community
  • 1
  • 1
verybadalloc
  • 5,768
  • 2
  • 33
  • 49
  • That's not quite a correct statement of the path. "/bin" is a folder just below the root of the filesystem, which is almost definitely not the case. What you mean is something such as "project_dir/bin" often casually expressed as "bin/" – Chris Stratton Jun 20 '13 at 17:16
  • Yes, @ChrisStratton, that was a typo. Fixed answer as per your suggestion – verybadalloc Jun 20 '13 at 17:25
  • Apparently I needed to build it manually first... – pixelearth Jun 20 '13 at 17:47
0

I have made an app and a library project that depends on it

The apk is only generated if you are making an app. As far as I know, projects marked as library don't generate the apk.

Maybe you can generate it manually by exporting the project as an Android application.

Alex Cabrera
  • 373
  • 1
  • 9