Search Unity

Question The type or namespace name 'AndroidExternalToolsSettings' does not exist in the namespace 'UnityEdit

Discussion in 'Linux' started by MX-Pain, May 29, 2022.

  1. MX-Pain

    MX-Pain

    Joined:
    Sep 27, 2020
    Posts:
    49
    Hi there,

    So as title reads, I have opened a new project and then switch it to Android and as soon as stop compiling.

    The error below appears on console.
    Code (CSharp):
    1. The type or namespace name 'AndroidExternalToolsSettings' does not exist in the namespace 'UnityEditor.Android'
    I'm using Kubuntu 20.04 & Android modules installed too.
     
    Tymianek likes this.
  2. KevinWelton

    KevinWelton

    Joined:
    Jul 26, 2018
    Posts:
    239
    Hi @MX-Pain. Can you let us know which version of the editor you are running?
     
  3. Neil-Corre

    Neil-Corre

    Joined:
    Nov 29, 2015
    Posts:
    44
    Hi there, this also happened to me. Here's the full log:

    Code (CSharp):
    1. Library\PackageCache\com.unity.burst@1.6.5\Editor\BurstAotCompiler.cs(754,27): error CS0234: The type or namespace name 'AndroidExternalToolsSettings' does not exist in the namespace 'UnityEditor.Android' (are you missing an assembly reference?)
    2.  
    Here are the versions I use:
    - Unity Editor 2021.3.1f1
    - Burst 1.6.5
    - Jobs 0.50.0-preview.9
     
    RomaDoma09 and Tymianek like this.
  4. simanouri

    simanouri

    Joined:
    Dec 28, 2021
    Posts:
    1
    I have the same error after change my unity version to 2022.1.7f1
     
  5. ryanmillerca

    ryanmillerca

    Joined:
    Aug 12, 2012
    Posts:
    143
    Happening to me as well, Windows 10 Unity Editor 2021.3.1f1 Burst 1.6.5. Updating to Burst 1.6.6 did not resolve.

    Does not occur on my M1 Macbook, however!
     
  6. ryanmillerca

    ryanmillerca

    Joined:
    Aug 12, 2012
    Posts:
    143
    Update: Completely uninstalling & reinstalling Unity fixed this.
     
    ma20062 likes this.
  7. unity_32nguyen

    unity_32nguyen

    Joined:
    Apr 27, 2018
    Posts:
    4
    @ryanmillierca. Hi, how could you remove it? it was gray out ('remove') in my pack manager. Thanks.
     
  8. ryan-at-melcher

    ryan-at-melcher

    Joined:
    Oct 22, 2018
    Posts:
    16
    One of my team members had the same error message after they installed Android SDK. They managed to fix it by restarting the editor.
     
    henriquepxl and Sherwinkc like this.
  9. Raghvendra-Coder

    Raghvendra-Coder

    Joined:
    Aug 11, 2023
    Posts:
    1
    Restart your Unity to fix this
     
    nlam102203 likes this.
  10. Bloxxxy

    Bloxxxy

    Joined:
    Sep 18, 2023
    Posts:
    1
    restart is helpful.
     
    nlam102203 likes this.
  11. ShreyasSahoo

    ShreyasSahoo

    Joined:
    Oct 1, 2023
    Posts:
    1
    Restarting fixed it for me
     
  12. Andrew-Park

    Andrew-Park

    Joined:
    Feb 1, 2015
    Posts:
    3
    restart unity