Rubber roof coming unglued at edges

Hello all,
I have a rubber roof that is coming unglued at the edges where the rubber meets the metal flashing along the perimeter of the flat roof. What should I do refasten the rubber to the metal flashing? Should I clean the area and then use the rubber cement they sell at Home Depot that you put in a caulk gun?
Any ideas?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

HomeOwnersHub.com is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.