Android将类打成Jar包-"Found duplicate file for APK: AndroidManifest.xml","Multiple dex files define Lcom"
2014-03-26 18:57
525 查看
打包过程:右键项目-Export-java-jar file-jar export
(这里一定要注意,右面的几个文件如果不是需要的话一定要取消,要不然就会出现如标题般的错误)-jar
file(选择路径和名称)-finish.
使用的方法:如果在android用调用jar包,需要在工程的属性的Java build path中点击Add external JARS(也可以选择Add
Library)添加jar包,在程序中调用调用jar包中的函数即可。
也可以在Java build path中点击Add Library添加jar包.
(这里一定要注意,右面的几个文件如果不是需要的话一定要取消,要不然就会出现如标题般的错误)-jar
file(选择路径和名称)-finish.
使用的方法:如果在android用调用jar包,需要在工程的属性的Java build path中点击Add external JARS(也可以选择Add
Library)添加jar包,在程序中调用调用jar包中的函数即可。
也可以在Java build path中点击Add Library添加jar包.
相关文章推荐
- Eclipse Juno下编译Android程序问题——"dx.jar was not loaded from the SDK folder"和"Multiple dex files define"
- Android—Android: Error generating final archive: Found duplicate file for APK: AndroidMainfest.xml问题
- Android: Error generating final archive: Found duplicate file for APK: AndroidMainfest.xml问题
- Eclipse "Multiple dex files define Lcom/baidu/android/bbalbs/common/a/a " 解决办法
- Android "multiple dex files define" 错误
- "Unable to execute dex: Multiple dex files define Lcom..."问题解决记录
- 导入自己打包的jar 时报错:Error generating final archive: Found duplicate file for APK: AndroidManifes
- Android编译时出现"Unable to execute dex: Multiple dex files define Lcom..."
- 关于 Android导出apk时碰到的[Unable to execute dex: Multiple dex files define]
- android:Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/ke
- com.android.dex.DexException: Multiple dex files define Lcom/sina/sso/RemoteSSO;
- android----问题解决Dex Loader] Unable to execute dex: Multiple dex files define Lcom/sina/sso/Remote...
- Android出错问题:AndroidManifest.xml:2: error: No resource identifier found for attribute 'installLocatio
- Android支付宝和友盟推送SDK编译冲突Unable to execute dex: Multiple dex files define Lcom/ta/utdid2/
- 关于Android导出apk时碰到的[Unable to execute dex: Multiple dex files define]
- Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/adp;
- Unable to execute dex: Multiple dex files define Lcom/alipay/android/app/IAlixPay;
- com.android.dex.DexException: Multiple dex files define Lcom/sina/sso/RemoteSSO;
- Android: Unable to execute dex: Multiple dex files define Lcom/myapp/R$array; 解决方案
- eclipse项目转as项目中遇到Unable to execute dex: Multiple dex files define Lcom/loopj/Android/http/AsyncHttpC