Search Unity

Error building Player: IOException: Failed to Move File / Directory from 'Temp/Stagin

Discussion in 'Android' started by SemaphoreStudios, Feb 26, 2013.

  1. SemaphoreStudios

    SemaphoreStudios

    Joined:
    Jan 14, 2010
    Posts:
    111
    I am getting this error in the console when I try to build my .APK file.

    Error building Player: IOException: Failed to Move File / Directory from 'Temp/StagingArea\Package.apk' to 'E:/androiddeploy/test1.apk'.

    Any idea how to fix this?
     
  2. modamoda

    modamoda

    Joined:
    Jun 5, 2013
    Posts:
    1
    I also had similar problem and solved it :)
    Please make sure that directory "E:/androiddelpoy' exists and have proper permission
     
  3. DaReign

    DaReign

    Joined:
    Apr 12, 2013
    Posts:
    79
    Maybe you currently use file which have to be overwritten. For example when you make Build and run your standalone version next don't close builded application and try build it in unity one more time then you get such exception. Unity can't overwrite your build file because builded aplication is running ;).
     
  4. salyert

    salyert

    Joined:
    Dec 12, 2015
    Posts:
    1
    can you explain about the proper permission did'nt get you
     
  5. Ingedoom

    Ingedoom

    Joined:
    Jan 10, 2016
    Posts:
    1
    Seems like running as administrator solved the problem for me :)