I tried various forums but no luck I couldn't figure out what's wrong with it
I'd forgo forums for a bit and research priors. I used https://www.google.com/search?q=missing+styles+is+the+correct+theme+chosen+for+this+layout only to discover there is no single cause or cure.
You need to work those prior discussions to find what it is this time.
I tried several options but still no luck I will try on eclipse just to see if there is something wrong with the Android studio and update the thread thanks for the help
The last time I had an error like this, I think it was something I changed in one of the many XML files. Dummy me didn't have a backup, rollback in place and I had to delete that activity and create it again. Better than a total wipe out.