Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

androidManifest.xml file not found exeption when building the .apk

Discussion in 'Android' started by do2, May 30, 2014.

  1. do2

    do2

    Joined:
    May 30, 2014
    Posts:
    5
    My project worked fine until i implemented the google play services in it, now when i try to build it i get this

    Code (csharp):
    1. Error building Player: FileNotFoundException: Could not find file "E:\Documents\unity\unityProject\Temp\StagingArea\AndroidManifest.xml".
    as i can see the temp recreates itself every time i build the project, and at the time the error occurs an androidmanifest is created with the name "AndroidManifest-main.xml"

    anyone got any idea what this might be?

    unity and sdk versions used=
    unity version: 4.3.4 f1
    SDK tools: 22.6.3
    SDK build-tools: 19
    SDK platform-tools: 19.0.2
    google play services: 17
     
  2. Agent_007

    Agent_007

    Joined:
    Dec 18, 2011
    Posts:
    899
    Do you have the latest version of Google Play services plugin?
     
  3. do2

    do2

    Joined:
    May 30, 2014
    Posts:
    5
    yes, the 0.9.02
     
  4. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    Please file a bug on this and attach your project. I have not seen this error before but regardless of what plugins you use this should not happen - at east the error message should be something that tells you what went wrong when trying to generate/copy the manifest.
     
  5. do2

    do2

    Joined:
    May 30, 2014
    Posts:
    5
    Ok, i made an app from scratch to try to reproduce the problem, but this other app worked just fine. I'll try to compare file paths and contents of the manifests from both apps. worst case scenario of not finding a fix, ill file a bug ticket.
     
  6. bitter

    bitter

    Unity Technologies

    Joined:
    Jan 11, 2012
    Posts:
    530
    No, no... please file a bug regardless if you find the fix or not.
     
  7. Sonoshee

    Sonoshee

    Joined:
    Jul 8, 2014
    Posts:
    77
    Hi guys, I'm having the same problem. Anyone could help?
     
    skyhai likes this.
  8. unity_SPZf2lX1oREAtg

    unity_SPZf2lX1oREAtg

    Joined:
    Dec 13, 2020
    Posts:
    2
    me too i have same problem
     
  9. skyhai

    skyhai

    Joined:
    Dec 11, 2020
    Posts:
    1
    androidManifest.xml file not found on play console

    how to solve
    my all project has bee same error :(:(