Search code examples
androidandroid-studioandroid-studio-4.2

Lifecycle never pass through onCreate


I have two computers, both with same hardware and Android Studio settings. When I build the app on the first, the app works well, but when I build the app on the second, some parts of the app lifecycle just don't work. Example: the app never pass through the onCreate()


Solution

  • Hey @Matheos welcome to Stackoverflow!!

    As for solution, try to Clean Project and then rebuild on second one PC.

    enter image description here