I would like to build an app which uses HoloEverywhere. I import HoloEverywhere and ActionBarSherlock as described in this manual.
Then I create a new project, according to the following steps:
- Create a new Android project
- Right Click on project -> Properties -> Android -> Add, add both ActionBarSherlock and HoloEverywhere
Change the Android Manifest to following
<application android:theme="@style/Holo.Theme"
And change the MainActivity imports to
org.holoeverywhere.app.*
import org.holoeverywhere.app.Activity; import android.os.Bundle;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
How when I run the "App", eclipse tells me this error in the console window:
[2013-05-15 07:45:17 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl; [2013-05-15 07:45:17 - MyApp] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
What's the problem?