Import from eclipse into the pits that Android studio encounters

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.