How do you open an external link?

Hello, I know that this question has come up many times in the forum, but I don’t quite understand the answers. I want to open an external link to a file in my Android app. However, when I link the link normally, it cannot be opened. Anyone have a solution? Thanks in advance

If using Cordova, something like:
<a href="#" onclick="'')">text</a>

Try hooking up the Remote Debugger. I’ll bet there are errors which will tell you what is going on.