Tag: Android
-
Android ListFragment conflicts with a type defined in the same file – Heights of Ignorance
Yesterday I stumbled upon below error while developing my Android application which also has a ListFragment [sourcecode language=”java”]The import android.support.v4.app.ListFragment conflicts with a type defined in the same file[/sourcecode] I had android-support-v4.jar in my libs folder and I was finding it very difficult to understand what could go wrong in such a simple class. And…
-
Android unable to execute dex : multiple dex files define Landroid
Just today I started getting this exception: [sourcecode language=”java”]unable to execute dex : multiple dex files define Landroid[/sourcecode] Cause: This exception will come if you have multiple version of support library. Where to check: Right Click on Project and select Build Path Check in Libraries if you have support library added (This happens when we do…
-
Android : Class file collision: A resource exists with a different case:
Today I started getting this weird message in my Android project. A resource exists with a different case: ‘/MyApp/bin/classes/com/mumz/R$Id.class’. Initially I didn’t look at the error message closely and was goggling to get a resolution, which unfortunately I didn’t find so I came back to my eclipse and looked closely to the message. It was…