Jobs - How to execute api and android together in same job

Earlier I was able to execute api test and android test one by one in a sam job. now i cannot add api test in android job. Because api test will create test data then it will execute the android test. do we have solution to have api and android in same job.