[AC-3421] Adding of android-support-v7-appcompat
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-04-01T21:09:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Shak Hossain |
Created | 2016-03-29T09:13:34.000+0000 |
Updated | 2016-04-01T21:09:49.000+0000 |
Description
In an own module I have to add Adding of android-support-v7-appcompat (https://developers.google.com/cast/docs/android_sender#before-you-start). If I add the module to a totally empty project (no other modules added), then dexer creates this message on console:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/widget/PopupMenu$OnDismissListener;
Hello, Thanks for reporting. It seems to me that you already have android-support-v7-appcompat installed in your android sdk. You can see this by opening android sdk manager. If you see that "Android Support Library" is installed then you have android-support-v7-appcompat in your android sdk. So when you add a module in your project which has the library you actually have the same library included twice. You can try deleting the library from the module in your project and see if things work. I am including my android sdk manager screenshot [here](http://s9.postimg.org/vw18za2bz/asm.png) Thanks
Hi Nazmus Salahin , you help me very well. Problem is solved.