I also transferred from the EC to as, there is no way, the general trend, however, in the use of as in the process encountered a lot of strange mistakes, now say the mistake I encountered today.
The artist gave me a picture, used as a button of the background, of course, this diagram can also be directly placed in the ImageView to join the Click event method is also OK, this is not discussed here, the name of the picture is: eweima.png
Note here, the artwork to my picture, I did not modify, then, began to take the careless use of. Put the picture in the mipmap-hdpi folder below, this will show inside except the default Ic_launcher.png more than a eweima.png picture, At this time, began to write ImageView, not much to repeat.
Here is the assumption that a careful look will find that eweima below a light-colored small wavy line, do not worry, do it.
At that time a look, must be crazy, what app:processdebugresources something ... And then Aapt.exe ... This is certainly not the side of the thriller, in fact, don't worry, at this time, because I have experienced this error, so, my side just need to do is to change the eweima.png to Eweima.jpg
, the difference between PNG and JPG two styles I know not much, just can through in as inside click the picture, open can see out of their differences. Now, execute again.
Well, something like that has been installed successfully. The problem is solved perfectly.
Several common bug fixes for Android studio