Search Unity

Re-Create Android Manifest XML File

Discussion in 'Android' started by ecequalsm2, May 3, 2017.

  1. ecequalsm2

    ecequalsm2

    Joined:
    Jan 14, 2016
    Posts:
    7
    So,
    I was trying to follow a tutorial for setting up advertisements with ad mediation and some kind of way, I jumbled up a few sets of instructions after looking at everything and trying with no success for too long. In the process, I inadvertently (so to speak) deleted my AndroidManifest file in both my project and on my hard drive (hoping that everything could master reset itself so long as I had the Assets folder and the Project Settings. So, I tried to rebuild the project and everything EXCEPT my AndroidManifest file was rebuilt and reset. I'm trying to build this game for android, but it won't build onto my phone even though it keeps saying 'Build Successful.'

    Is it possible to recreate the AndroidManifest file at this point? I've tried doing multiple 'build and runs' even after switching the platform target to android and readjusting player settings, but it still won't rebuild and I'm still not seeing the builds ever reach my android phone.

    Suggestions anyone?
     
  2. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,148
    I assume your AndroidManifest.xml was a custom one in Assets/Plugins/Android - in that case, you'll need to recreate it on your own. If you didn't modify it yourself - most probably it's coming from one of the plugins/Asset store packages.
     
  3. ecequalsm2

    ecequalsm2

    Joined:
    Jan 14, 2016
    Posts:
    7
    Ok thanks! I'll see what I can do and reply if I have any additional trouble.
     
unityunity