Issues encountered by Android Studio (summary of Records)

Source: Internet
Author: User

The SDK could not update the solution

This problem is not a problem with Android studio, and is caused by some well-known reasons, we say the solution here.

Open the SDK Manager, stop updating the connection, open the SDK manager on the top of the interface, Tools->Options Settings Select “Force https://… sources to be fetched using http://…” , force the HTTP protocol, and then follow the steps below to configure the next hosts.

First, find your Hosts file, under different platforms (Windows,mac,lunix) This file is located in the same path, the following:

    • Windows:C:\WINDOWS\system32\drivers\etc
    • Mac:/etc/hosts
    • Linux:/etc/hosts

Open the file with your familiar editor hosts and add the following two addresses at the bottom:

203.208.46.146 dl.google.com203.208.46.146 dl-ssl.google.com

Save and exit.

Android Studio Chinese garbled solution

Many students have installed the Android Studio, but found that Chinese is garbled, in fact, this is a good solution. In the IDE, click File , select Settings (shortcut key is Ctrl+alt+s ). In the open window, locate the IDE Settings next Appearance , tick on the right, “Override default fonts by” then select the font in the first drop-down box, “simsun” then apply, restart the IDE, just fine.

    • Could not find so

Create a new jnilibs and put so in

sourcesets {
Main {
Jnilibs.srcdir ' Jnilibs '
}
}
    • Exit value is 2

It's possible that the method is over 65k.

    • Code recovery, right-click Svn-show History-Copy version number, then update, enter version number

Not to be continued ...

Issues encountered by Android Studio (summary of Records)

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.