Question: I am trying to navigate my first page to the second page by tapping a button.
Once we are at the second page, we will never go back by pressing back button.

Just tap, switch, and never go back.

Is there any simple way to do this? 
I mean, I just don't want to use the component Navigation or Navigator. They are too complex.

Answer: 
I'm using React Navigation from guide of Facebook.

You can read more about this library from:
<https://facebook.github.io/react-native/docs/navigation.html>

Or react navigation's website:
<https://reactnavigation.org/docs/intro/>
This mainly happens when we try to install a new package in our project and it does not get installed properly. I resolved this by

1. Delete `android/app/build/intermediates/signing_config/debug/out/signing-config.json` file.
2. Run `yarn` in the project root path.