1

Doing a tutorial I have to change the permission on the manifest. The image show like a wizard to activate permission. But in Visual Studio only have the text editor.

enter image description here

Do Visual Studio have an editor like that?

Nongthonbam Tonthoi
  • 12,667
  • 7
  • 37
  • 64
Juan Carlos Oropeza
  • 47,252
  • 12
  • 78
  • 118

2 Answers2

4

In Windows Visual Studio 2017 you can right click on your project and goto Properties

enter image description here

Click properties you will see:

enter image description here

You can select Android Manifest from there.

Or

You can just click on Project

enter image description here

and then click on your project properties:

enter image description here

Now you can select Android Manifest:

enter image description here

On scrolling down after selecting Android Manifest you can see the list of permissions:

enter image description here

Nongthonbam Tonthoi
  • 12,667
  • 7
  • 37
  • 64
0

I am using Visual Studio Community 2019 for Mac and found the solution today.

Right click on AndroidManifest.xml.This provides numerous options, but select the first one "Open With", and then select "Source Code Editor"

This will open up the editable source file.

This is particularly useful when you need to update certain permissions, such as adding android:usesCleartextTraffic="true", which allows for making API calls - Android 8: Cleartext HTTP traffic not permitted

CBrazier
  • 11
  • 4