I did that once, I used epoxy and glued the grip to the handlebar and wrapped it with tape very tightly until it was dry. You have to look closely to see the seam. It will come off, but you'll have to cut it off to do it. It's a one time fix, but if it's cracked, it's not worth much anyway.