How to build a Test Version

I would like to create a version of my app that could be downloaded by an android phone and tested.
It should look like the production one.
I tried with this profile:

  "test": {
    "distribution": "internal",
    "buildType": "apk",
    "env": {
      "ENVIROMENT": "development"
    "workflow": "managed"

But when I download it I get this error:

can you link to your build page?