First, the development environment is the MAC computer. Some things are more troublesome to set up, such as the MyEclipse font size never found the OK key.
Eclipse's Andorid project ran all right, after importing to Android, there was a problem,
The first is always stuck in Info reading bar interface, here can only wait. I was waiting.
After entering Andoridstudio, the SDK is inconsistent. Here I directly modified the gradle-wrapper.properties in this file.
=
My is the 3.3 version, you can according to their own current version of the modification, if not know. Just create a new demo to see it.
Then the modification is a series of waits, the process Andoridstudio will help you to complete, here you do not need to do anything.
If it goes well, then it's over here.
If you have a. 9 file in your phone file. Oh oh, please look down.
Andoridstudio the detection of. 9 files is very strict.
The original filename suffix of my red file is. 9.png If there is a similar file. Open the file and look at the right side of the picture, the upper and lower points on the black dot and then re-close the project in open. There's no problem.
This step requires that the file name followed by the R file is red. Like R.id R.layout, the ID and layout are red.
If you go to the trouble of dealing with this problem, then it is a far cry from the contrary.
What I do is to just put. 9 The suffix is removed and the effect is the same.
OK, the program does not error. But the tragedy comes when it runs. Running is a prompt that the application is not installed. The simulator runs up and comes out with a dialog box. There's one line.
Install_failed_ NO _matching_ ABIS
This hint in Baidu search, said the simulator can not be replaced with X86 arm for the good
So I downloaded arm. and then run. Hehe, I did not wait for the simulator to run successfully, too card.
I just direct real-machine debugging, search the Internet for a large stack of real-machine debugging information.
What are the ADB orders? Read a blog, the bottom of the comments under the attention. Say directly on the phone to open the developer option on it, try it really can. Open Developer Options Steps
Set about mobile phone version the line hits three and pops up.
Then go back to Settings, select Developer Options, and allow USB debugging.
Plug in the data cable and debug it on the real machine. Shuangshuang's.
Because the demo is a Bluetooth module. So the real machine debugging just use.
This article is from the "Shallow Blog" blog, be sure to keep this source http://10516822.blog.51cto.com/10506822/1952808
Import from eclipse into the pits that Android studio encounters