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

Build APK file not appearing on desktop?

Discussion in 'Android' started by Osteel, Jul 14, 2014.

  1. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Hey guys!

    Yesterday I spent a few hours attempting to get my game onto an android device. In the past, we used my laptop to upload it to another android device, so I know it works in terms of the necessary software, java and settings. However, for some reason, whenever I build the game and save the game.apk to the desktop, it just doesn't appear.

    The build progress bar completes with no errors, but after that nothing happens.

    Thanks! :)
     
  2. Karolis Norkunas

    Karolis Norkunas

    Unity Technologies

    Joined:
    Dec 2, 2013
    Posts:
    28
    Hi,

    If you use build and run, does apk gets into your device? Is apk saved when you use other location?
     
  3. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Hey!

    So I can get the device connected successfully and when I build/run it does the same thing essentially - finishes building, but it doesn't appear on the phone. So, I figured the alternative method might work, which was to build the .apk as a file on my computer, then manually install it on the device, but it doesn't actually save to my computer. :(
     
  4. Karolis Norkunas

    Karolis Norkunas

    Unity Technologies

    Joined:
    Dec 2, 2013
    Posts:
    28
    Maybe your saving location is read only? Does this happens only with your project or all projects behave the same way?
     
  5. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    This is the first time I've worked on a mobile project. If I convert the project to the Web platform, I can build a .unity/html file no problem to any location on my computer - if I try the same thing on the android platform, the APK doesn't appear.

    I've also tried multiple file locations just to cancel out that issue too.

    Will keep trying. :D
     
  6. lovewgq

    lovewgq

    Joined:
    Jul 15, 2014
    Posts:
    9
    Hi ,
    I encounter the same issue as you, there is no error appears when building but the APK did not appear in PC, if you root the issue could you also let me know, thanks
     
  7. lovewgq

    lovewgq

    Joined:
    Jul 15, 2014
    Posts:
    9
    compared with other platform, seems there is no DONE show after build complete, right?
     
  8. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Right, it literally finishes the progress bar then closes it as if nothing happened, no confirmation, etc.
     
  9. lovewgq

    lovewgq

    Joined:
    Jul 15, 2014
    Posts:
    9
    I tried a lot of Android SDK version , the issue still exists...
     
  10. Osteel

    Osteel

    Joined:
    Jan 17, 2014
    Posts:
    59
    Okay, so I've come to embarrassingly point out that I had my errors turned off in the console which is why it looked like "nothing" was happening. Turned them on, and sure enough, I'm getting the Win32 exception error. At least now I know what it is and can look online to fix it.

    Thanks guys. :)
     
  11. lovewgq

    lovewgq

    Joined:
    Jul 15, 2014
    Posts:
    9
    So glad to hear that you have found the root cause, I'm sure mine should be the same issue, I can't wait to try this but I'm in the office:p
    thanks Osteel !
     
  12. farahnajwa30

    farahnajwa30

    Joined:
    Apr 29, 2019
    Posts:
    1
    Mine is not working, the apk doesn't appear. But there is no error in the console that state;
    "Build completed with a result of 'Succeeded'
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)"

    Help please :(
     
  13. Oak_360

    Oak_360

    Joined:
    Mar 25, 2019
    Posts:
    4
    am having same problem
     
  14. Oak_360

    Oak_360

    Joined:
    Mar 25, 2019
    Posts:
    4
  15. erdincayaritu

    erdincayaritu

    Joined:
    Jan 7, 2020
    Posts:
    2
    Does anyone solved this problem?
     
  16. costin88boss

    costin88boss

    Joined:
    Apr 12, 2020
    Posts:
    6
    Same problem, but i also get
    UnityEditor.BuildPlayerWindow+BuildMethodException: 7 errorrs
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00242] in C:\buildslave/unity/build/editor/mono/buildplayerwindowbuildmethods.cs:194
     
  17. kentritchy

    kentritchy

    Joined:
    Nov 4, 2018
    Posts:
    12
    Hey guys, I've got the same issue too. Has anyone been able to find solution?
    Please do let me know, I will be glad to have it solved
     
  18. aounmuhammad47

    aounmuhammad47

    Joined:
    May 17, 2018
    Posts:
    2
    Hello,
    Does Unity .apk file contains the ip adress of pc being used to generate that apk??