用到了ViewPager,Android5.0.1,却额外在Build Path中引入了v4jar包,并且在“Order and Export”中勾选了此jar包,编译时出现错误:
[2014-09-28 23:49:30 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;
[2014-09-28 23:49:30 - Shop] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;
在Build Path的Order and Export勾掉v4jar包即可。
时间: 2024-12-10 16:58:59