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: 
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)
**update on the accepted answer** 

make sure to follow below points:

**1>** 
make sure that `<base href="/">` is added inside index.html

```
    <html>
    <head>
    <base href="/" />
    <title>Angular Demo</title>

```

**2>**
Add router outlet in ur app.component.html file `<router-outlet></router-outlet>`

```
    div style="text-align:center">
    <h1>
    Welcome to MyApp
    </h1>
    <img width="300" alt="Angular Logo" src="data:image/svg+xml;....">
    </div>
    <router-outlet></router-outlet>

```

* router outlet tells the router where to display routed view.

**3>** Remember to add AppRoutingModule to the "imports" section of your @NgModule decorator in app.module.ts too

```
        @NgModule({
      imports: [
       AppRoutingModule
      ],
      declarations: [
        AppComponent,
      ],
      bootstrap: [ AppComponent ]
    })
    export class AppModule { }

```