Search Unity

A problem while building an apk for android

Discussion in 'Getting Started' started by ktokto5427, Apr 2, 2023.

?

missing gradle dependency-locks

  1. poll

    0 vote(s)
    0.0%
  2. poll2

    1 vote(s)
    100.0%
  1. ktokto5427

    ktokto5427

    Joined:
    Apr 2, 2023
    Posts:
    1
    I have a very annoying problem which is about building an apk for android, all errors on screen. Please help cuz ive been trying to solve it for days.
     

    Attached Files:

  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,060
    Are the sdk and ndk installed in unity hub?
    And selected in preferences - external tools
     
  3. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    You need to ensure the Android modules are installed.

    That should solve the problem.