Search Unity

  1. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Bug error if click on file-> build settings -> android

Discussion in 'Linux Editor' started by sebastian19969, Jul 31, 2019.

  1. sebastian19969

    sebastian19969

    Joined:
    Aug 2, 2018
    Posts:
    3
    but i can switch and compile to android apk, (google play)app bundle 32 bit (.aab) but not 64 bit.


    complete error:

    Win32Exception: ApplicationName='/home/pc/Programas/2019.1.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/platform-tools/adb', CommandLine='devices', CurrentDirectory='/home/pc/Programas/2019.1.12f1/Editor/Data/PlaybackEngines/AndroidPlayer/SDK', Native error= Access denied
    System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <0079a30f96a047348857e1cecc6c638a>:0)
    System.Diagnostics.Process.Start () (at <0079a30f96a047348857e1cecc6c638a>:0)
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    UnityEditor.Utils.Program.Start (System.EventHandler exitCallback) (at /home/builduser/buildslave/unity/build/Editor/Mono/Utils/Program.cs:44)
    UnityEditor.Utils.Program.Start () (at /home/builduser/buildslave/unity/build/Editor/Mono/Utils/Program.cs:28)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
    UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
    UnityEditor.Android.ADB.RunInternal (System.String[] command, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
    UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <1a10f9035b6b403994c99e5b653643c6>:0)
    UnityEditor.Android.AndroidDeploymentTargetsExtension.GetKnownTargets (UnityEditor.DeploymentTargets.IDeploymentTargetsMainThreadContext context, UnityEditor.ProgressHandler progressHandler) (at <1a10f9035b6b403994c99e5b653643c6>:0)
    UnityEditor.DeploymentTargets.DeploymentTargetManager.GetKnownTargets () (at /home/builduser/buildslave/unity/build/Editor/Mono/DeploymentTargets/DeploymentTargetManager.cs:50)
    UnityEditor.Android.AndroidBuildWindowExtension+<SpawnFetchTargetsThread>c__AnonStorey0.<>m__0 () (at <1a10f9035b6b403994c99e5b653643c6>:0)
    System.Threading.ThreadHelper:ThreadStart()
     
  2. senkal_

    senkal_

    Joined:
    May 22, 2018
    Posts:
    74
    Hi @sebastian19969
    Could you check if you have set right permissions?
    Maybe Unity can't access/executes some binaries from Data/PlaybackEngines/AndroidPlayer/SDK.
     
unityunity