Manifest Folder in new android studio project

22,054

The version code and version name are generally set in your application module's build.gradle file. If there are values there, they override what's in your manifest file.

The file you found in an "intermediates" folder is part of the build process, and if you modify it directly, your changes will quickly be lost when that file is rebuilt.

Share:
22,054
Hesham Fas
Author by

Hesham Fas

How fast do I have to drive to catch up with the changing technologies?

Updated on November 10, 2020

Comments

  • Hesham Fas
    Hesham Fas over 3 years

    After creating a new application with android studio. I see a manifest file in MyApplication/app/src/main/AndroidManifest.xml. I changed the version code and version name in this file and tried to display them dynamically. However they were still displaying 1, and 1.0.

    I looked into the hardisk and Saw a folder in the path: C:...\MyApplication\app\build\intermediates\manifests\debug\AndroidManifest.xml

    using an external editor I changed the values in this file However still getting version 1 on my logs.

    Where can I find this Manifest folder/file through android studio?