After I put a new custom theme I did in my theme folder, when I go to my website to install and apply the theme, the site just keeps returning this error:
"The website encountered an unexpected error. Please try again later."
PHP error log message:
"Drupal\Core\Extension\InfoParserException: Missing required keys (core) in themes/custom/javali/javali.info.yml in Drupal\Core\Extension\InfoParserDynamic->parse() (line 29 of /home/rui/public_html/core/lib/Drupal/Core/Extension/InfoParserDynamic.php)."
Yes, I know the error is very common, but I believe I explained my specific problem well.
PS: And now when I put the theme in the folder themes folder, the site works except the admin nodes.
PROBLEM SOLVED: I put the following lines on the .info.yml file as Neograph734 said and now everything works fine!
core: 8.x version: 8.x-2.0