Get to the about phone part in the settings. Click software information. Then click on build number 7 times, this should turn on developer options. Then from developer options menu,turn on authorize wireless display, and check the boxes inside that option. This is the only thing that worked for me.
... View more