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

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

    Unity Technologies

    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:
    37
    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:
    141
    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:
    141
    Update: Completely uninstalling & reinstalling Unity fixed this.
     
    ma20062 likes this.
  7. unity_32nguyen

    unity_32nguyen

    Joined:
    Apr 27, 2018
    Posts:
    3
    @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:
    13
    One of my team members had the same error message after they installed Android SDK. They managed to fix it by restarting the editor.
     
    Sherwinkc likes this.
  9. Raghvendra-Coder

    Raghvendra-Coder

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

    Bloxxxy

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

    ShreyasSahoo

    Joined:
    Oct 1, 2023
    Posts:
    1
    Restarting fixed it for me