Search Unity

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:
    44
    Hi @sebastian19969
    Could you check if you have set right permissions?
    Maybe Unity can't access/executes some binaries from Data/PlaybackEngines/AndroidPlayer/SDK.