because changing the MainActivity.java toolbar to put an icon in the toolbat shows me errors in the AndroidManifest.xml that I did not have before.
MainActivity.java
import android.support.v7.widget.Toolbar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
getSupportActionBar().setTitle("Titulo Aqui");
getSupportActionBar().setIcon(R.mipmap.ic_launcher_round);
So you can see the errors in the AndroidManifest.xml, I better put a screenshot.
Can you tell me how to remove these errors?
Thank you.