We do not currently know of any antonyms for barking up the wrong tree.
The verb barking up the wrong tree is defined as: