2

When I go the below folder in my project strcuture:

C:..\AndroidstudioProjects\ParentAppDir\app\build\outputs\apk

I see the below two files

  1. app-debug.apk
  2. app-debug-unaligned.apk

What do they represent? Are these similar to the apk found in bin for the Eclipse IDE?

Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74
  • Possible duplicate of [why unaligned apk is needed?](http://stackoverflow.com/questions/22058210/why-unaligned-apk-is-needed) – SMR Aug 18 '16 at 10:25

1 Answers1

0

See why unaligned apk is needed? for some relevant discussion. zipalign is used to optimize app-debug-unaligned.apk, producing app-debug.apk. I assume both are left as outputs so that it is possible (if necessary) to check whether zipalign is working properly when debugging a build issue.

Community
  • 1
  • 1
stkent
  • 19,772
  • 14
  • 85
  • 111