Skip to content Skip to sidebar Skip to footer

Duplicated Id In Fragment Youtubeplayersupportfragment

I am trying use API Youtube to execute play video, but I get a error in XML Duplicated ID 0x7f080039. Any idea how to solve this problem? My Fragment exends YouTubePlayerSupportFr

Solution 1:

this error occurs on Nested Fragments which has been defined in layout , try remove your Fragment from Xml Layout and replace it with a FrameLayout as a PlaceHolder then instantiate your Fragment dynamically in code.


Post a Comment for "Duplicated Id In Fragment Youtubeplayersupportfragment"