- Home /
where is the manifest file in unity?
hello guys, I am about to publish my 2d-game on google play. According to check-list i am supposed to remove log calls and android:debuggable attribute file from the manifest file. where is the manifest file ?
thanks for the advices and the answers.
Answer by Landern · Jun 08, 2015 at 03:13 PM
On windows: installation\Editor\Data\PlaybackEngines\androidplayer
installation folder is generally [driveletter]:\Program Files\Unity for 64bit and [driveletter]:\Program Files (x86)\Unity for 32bit.
On osx it would exist in the .app
If you modify this file it will apply to all android builds, it is fair better to copy to your project in the location it belongs: [unityproject]\Assets\Plugins\Android
Is there any project-based solution rather than changing default unity's manifest?
Answer by abeldantas · May 09, 2019 at 09:35 AM
Project's main manifest:
Assets\Plugins\Android
Copy of a valid manifest:
<InstallDir>\Editor\Data\PlaybackEngines\AndroidPlayer\Apk
Manifest that is generated by unity when build finished (merge of all project manifests, no use editing it, but useful for debugging):
Temp\StagingArea
Source: https://stackoverflow.com/questions/43293173/use-custom-manifest-file-and-permission-in-unity
Answer by prasanthk46 · Jun 04 at 08:18 AM
Go to Temp/StagingArea and then find AndroidManifest.xml copy and paste to Assets/Plugins/Android Change insert android:exported ="true" in AndroidManifest.xml it works fine for me
Your answer
![](https://koobas.hobune.stream/wayback/20220613200752im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
minSDKVersion on Android? 0 Answers
Android Manifest Issue 1 Answer
Unity Android Manifest error during Apk Build 2 Answers