+ 3
What are the differences between .jar and .apk?
Hi, I am quite new in programming and unfortunately curious about many things. I just found out that .jar and .apk both uses Java. I have decompiled some jar and apk files and read the source codes. Though, I didn't understand most of the lines but I found similarities between both. Now, what are the key differences btween jar and apk?
2 Respuestas
+ 3
.apk =>
Android Package (APK) is the package file format used by the Android operating system for distribution and installation of mobile apps, mobile games and middleware. ... An APK file contains all of a program's code (such as .dex files), resources, assets, certificates, and manifest file.
.jar =>
A JAR (Java ARchive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.) into one file for distribution. JAR files are archive files that include a Java-specific manifest file. They are built on the ZIP format and typically have a .
+ 1
AMOGHA. A. K. So why cant we run jars on android?