Android Studio is a very useful software, but at the beginning of the use, because of various problems, will fail, and the novice itself does not understand the situation, more confused force.
Here I'll take a look at some of the pits I've met.
First, Android Studio has been installed, create a new project
There's a run button on it.
At the beginning, you will encounter a problem with the following error:
Failed to load AppCompat ActionBar with UnkNown error
Workaround:
Find the global style file in the Androidmanifest.xml file click Theme, link to the Styles.xml file
Change the partent to a bit.
Run here, it can be run, and then you can drag the components into the app, you will start to encounter problems, see the components dragged over.
The error is:
is isn't constrained, it's only have designtime positions, so it'll jump to (0,0) unless you
Just click on the wand and you'll see the dragged control.
At this point the run can see success:
Android Studio create Android Project Hello