How to use tags to use a specific runner?

How to use tags to use a specific runner? I wrote tag in .gitlab-ci.yml:

appBuild:
  stage: build
  tags:
    - android

I wrote “android” tag in runner config. But job is in pending state and is waiting to be picked by a runner. What is wrong?

Hi,
most likely you don’t have a runner with tag android.

i have a runner with tag android, it is visible in gitlab

Please check under your project Settings → CI/CD → Runners if that Runner is available for your project.
If you have Admin rights you can check in Admin → Runners what is it’s state and when was the last contact.