0

I am working on a Visual Studio Cordova project which works on Windows, iOS and Android, and looking for AndroidManifest.xml or a build settings file and couldn't find any. I tried building it with no errors, but still couldn't find the file. Any suggestions, where/what I should be looking for?

Sky Kelsey
  • 19,192
  • 5
  • 36
  • 77
stackHelp
  • 193
  • 1
  • 2
  • 13
  • Thanks Sky Kelsey & Melvin – stackHelp Aug 05 '15 at 22:01
  • Any suggestions on what kind of script should I use for updating android:versionCode and android:versionName in AndroidManifest.xml ? I was thinking of ant, but not sure if its a good choice for a Visual Studio Cordova project. I have heard of cordova plugins for build scripts, but not sure how they work either. – stackHelp Aug 05 '15 at 22:03

2 Answers2

0

It should be in your project root inside platforms/android.

Sky Kelsey
  • 19,192
  • 5
  • 36
  • 77
0

Cordova generates a AndroidManifest.xml in platforms/android, but it's going to be reseted with each rebuild. If you need to add some data to it, you will have to create your own AndroidManifest.xml in res/native/android that will be automatically merged to the one in platforms/android.

You can read (a bit) more in the official documentation: https://msdn.microsoft.com/en-us/library/Dn757053.aspx

3lil636wm
  • 7,580
  • 3
  • 24
  • 26