Hyperref not working says to install a package

Iam using Texstudio and is new to Latex. To include a link in my pdf, i typed

\documentclass[12pt]{article}
\usepackage{hyperref}
\begin{document}
\url{https://tex.stackexchange.com/}
\end{document}


But it asks to install some package.

But when I click install, nothing happens...

I also tried \href instead of \url. But same result.

• perhaps something blocks the on-the-fly installation. Go to the miktex console and try to install the missing packages manually. Jun 20 at 10:33
• Welcome to TeX.SE! Jun 20 at 10:53
• @UlrikeFischer But i can't open it.When i try to open MikTex console, it says "Miktex console is already running" Jun 20 at 13:24
• Then close at first everything and them try again. Jun 20 at 14:00
• The issue has been solved. Thanks everyone Jun 22 at 5:16