我所做的只是将HoloEverywhere Library
作为库添加到我的项目并更改清单
从android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen" >
到android:theme="@style/Holo.Theme.NoActionBar.Fullscreen" >
现在我无法运行我的项目,我得到:
[2014-07-14 14:17:26 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2014-07-14 14:17:26 - MyApp] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
我不知道这意味着什么或如何解决它。它在没有 HoloEverywhere 的情况下完美运行。
PS:别问了,HoloEverywhere 被标记为库,它和我的项目都是用 4.4.2 构建的。我也在使用其他一些库,但不应该干涉,因为这些对 UI 来说并不多。
编辑:检查像我这样的其他一些问题,我想我必须从 lib 中删除 android-support-v4 之一。但是哪一个?
- 我的项目
android-support-v4.jar
在 lib - 正如我所提到的,我正在使用的另一个库
android-support-v4.jar
在其 lib 文件夹中,这两个库之前工作得很好 - HoloEverywhere
support-v4-19.1.0.jar
在其 lib 文件夹中