Ok - this one is driving me a little nuts.
I downloaded Android Studio 0.8.14. I created a test app with it and all worked ok.
Since then I've obviously done something because every new App I create is missing the app icon from the action bar when I compile it and run it.
If I change the theme on the activity view page I can see it in the preview but nothing shows up when I run it on my phone.
The original app I created still has the icon present.
My minimum SDK is 9 and my target is 21.
Any ideas anyone?
Thanks
Just to add.. based on advice I have set the minimum SDK to 11 and tried the following but have not had success with either...
ActionBar actionBar = getActionBar();
actionBar.setIcon(R.drawable.ic_launcher);
Which causes my app to crash when run (on 4.4)
ActionBar actionBar = getSupportActionBar();
actionBar.setIcon(R.drawable.ic_launcher);
Which does nothing.
I'm calling these from my activities on create method.
Thanks in advance