Android Question java.lang.IllegalArgumentException: already added: Landroid/support/v4/util/TimeUtils;

Johnmcenroy

Active Member
Licensed User
Longtime User
I have a simple application with two libraries checked - core and my wrapper that depends on android-support-v4. When I compile this progect I am getting this error:
java.lang.IllegalArgumentException: already added: Landroid/support/v4/util/TimeUtils

When I remove android-support-v4.jar from my wrapper's xml - all is fine.
I am compiling with android.jar from Android 16 API
Manifest: <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="16"/>

So I don't need to include android-support-v4.jar in this case ?

Thanks
 
Why did you need to add the support library in the first place? Can you upload the library?
My wrapper doesn't need any function of android-support-v4 , but my wrapper is for MoPub SDK and it says that it needs this library but in Eclipse in source code I don't find any errors if I just remove android-support-v4 from MoPub SDK Referenced Libraries. Sorry it is maybe not directly concerning B4A , but I don't understand who is using this library in this case.
 
Upvote 0
Back
Top