So I pick from apk 8 through current one kitkat.
I create application/project,
The import android.support.v7.app.ActionBar is never used.
The import android.os.Build is never used.
and then I get the above errors from the MainActivity.java file regarding these two lines:
import android.support.v7.app.ActionBar;
import android.os.Build;
And the graphical view of activity_main.xml
shows no "Hello world!" text, and it sends me to the fragment_main.xml
where the "Hello world!" text is on the top left.
I'm pretty sure the tutorial I'm following is a bit outdated since it didn't show fragment xml and kitkat version. So was this all normal?
yes. it is safe to remove any imports not bieng used, so delete those....
as for the activity, you can create an activity without fragments by selecting blank activity from the creation wizard.(one of the options, after u select new android project)
really though, you should find a good fragment tutorial as that is the direction apps are headed, and once you understand them they make life a lot easier