Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with creating an Android App using Visual Studio 2022 #27074

Open
tthayer23 opened this issue Jan 10, 2025 · 2 comments
Open

Issue with creating an Android App using Visual Studio 2022 #27074

tthayer23 opened this issue Jan 10, 2025 · 2 comments
Labels
s/needs-attention Issue has more information and needs another look tutorials

Comments

@tthayer23
Copy link

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/create
Operating System: windows

Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

This is the error I get when trying to create an Android App.

You are running the 'restore' operation with an 'HTTP' source: http://packagesource.
NuGet requires HTTPS sources. To use an HTTP source, you must explicitly set 'allowInsecureConnections' to true in your NuGet.Config file.
Refer to https://aka.ms/nuget-https-everywhere for more information.

I am using Visual Studio 2022.
I put a copy of NuGet.Config in my source directory.

Here is the content of this NuGet.Config:

@jfversluis
Copy link
Member

Why do you need the nuget.config file? If you remove that does it work then?

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Jan 11, 2025
@tthayer23
Copy link
Author

I did not have this file in my source code path I added it after i received this error.

There are multiple NuGet.Condig files on my computer, how do I know which one is being used?

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s/needs-attention Issue has more information and needs another look tutorials
Projects
None yet
Development

No branches or pull requests

2 participants