Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between apklib and jar files? [duplicate]

I am attempting to switch my Android project over to use Maven using the android-maven-plugin. My project has a few dependencies that are currently setup as Android Libraries, but the Maven plugin for Eclipse does not support library projects. I thought I would experiment with repackaging these libraries as JARs instead (so that Eclipse will pick them up), but I'm wondering what will happen to my Android build, then.

What's the difference between JARs and apklib? If all of my dependencies are JAR instead of apklib, am I missing anything that would break my Android app?

like image 381
magneticMonster Avatar asked May 19 '11 13:05

magneticMonster


1 Answers

Eclipse now supports library projects and the android-maven-plugin works fine with libraries.

The difference between JARs and apklib is that apklibs can contain android code and resources.

like image 110
Macarse Avatar answered Oct 21 '22 10:10

Macarse