Q.I have two mango trees, one is 12 years old, one is ten. They don’t bear fruit.
They both look healthy and they have once before, but they won’t bear fruit. I live in Puerto Rico, and I have tried the hammer thing etc.

Certified GKH Gardening Expert
Your trees not producing fruit could be due to a number of issues. Please read these articles and check your growing conditions - perhaps you need to fertilize them. Are they so dense that they aren't getting air flowing through them? Perhaps they need to be pruned, or maybe your area gets too much rain. Check to be sure they are receiving full sun and aren't being shaded by other trees or structures.
Here's some important info about pruning:
https://www.gardeningknowhow.com/edible/fruits/mango/how-to-trim-a-mango-tree.htm
and this article will provide some additional information about why your trees are not producing fruit:
https://www.gardeningknowhow.com/edible/fruits/mango/mango-tree-not-producing.htm