Search code examples
androidtoast

Toast not showing on my project


Ok to test the toast I simply put this on my Oncreate method:

Toast.makeText(getApplicationContext(),"Hello",Toast.LENGTH_SHORT).show();

It don't show anything nor errors at all. BUT if I create a new blank project it works.


Solution

  • The solution was to create a new blank project and copy all the files in it. I guess the problem was produced by the automatic-created action bar.