Question: How do I create an APK installer for mobile without the react native simulator? This is what happened when I tried to install the APK on Android.

[![enter image description here](https://i.stack.imgur.com/MJ179.png)](https://i.stack.imgur.com/MJ179.png)

Answer: 
**UPDATE** *Original question is about Angular 2 CLI. This doesn't work for curent Angular version!*

1. Run `ng init --routing`
2. And answer **no** every question from CLI.
By this way you will get *app-routing.module.ts*.
3. Add `import { AppRoutingModule } from './app-routing.module';`

and `imports: [AppRoutingModule]` to your *app.module.ts*

4. **Profit!** You get the same routing you would get if you would create routing with Angular CLI from the start.
it is not explain if you currently has some router declared in your application, any way you can add routing in any moment. 

It is not possible using the command --**ng int --routing** because was eliminated. and the routing option is only available when you running the new command, that create a new solution.

But you can create manually it. if you have some router in your app.module or none, you can follow the step described here to generate it:
[Implementing routing in separate module in angular](https://www.youtube.com/watch?v=LEB9RUCM1m8&list=PL6n9fhu94yhWUcq5Pc16uf8YKXoZ87Vh_&index=19)