I'm using App Studio in Microsoft teams in order to deploy a web app hosted in an URL, under the manifest editor, I've created an app.
After setting all the requested information, I am getting those warnings:
Also, when I'm trying to click on install button it says that I'm not authorized to add the app to this team.

The warnings are just that, warnings. They won't prevent you from installing your app by package or adding to your Line of Business store.
It sounds like you don't have permissions to install the app into that team, or installing apps is disabled by your tenant admin. You'll need to check and make sure your tenant is configured correctly.
The settings you'll need at the tenant level are:
And then you'll also need to have permissions to install to the team you're trying to install to.
For more information, see: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant#enable-custom-teams-apps-and-turn-on-custom-app-uploading