I tried to migrate a project from Eclipse to Android studio. Finally I am able to run it, but at a certain point I got this exception, and I found nothing in google about th
In my case, I look for @rewrihitesh answer, and I notice that I inverted elements order. Changing from
setContentView(R.layout.activity_test); super.onCreate(savedInstanceState);
to
super.onCreate(savedInstanceState); setContentView(R.layout.activity_test);
Fix my problem.
Hope it helps !!