用eclipse编译apk
1.添加静态jar文件,则编译的apk将把该jar文件打包到apk中
选中工程右键->Build path->configure Build path->Java Build Path->Libraries->Add External JARs...
2.添加非静态jar文件,则编译的apk不会把该ja
选中工程右键->Build path->Add Libraries->User library->User Libraries...->New(比如叫test)->选中test->Add External JARs...->Ok即可
最后可以在Properties->Java Build Path->Order And Export中进行排序和删除