Ok. Here's what worked for me. I created a launcher activity. Removed the call to setContentView(R.layout.activity_main)
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//setContentView(R.layout.activity_main);
finish();
}