Android SDK installation Error or incomplete workaround

Source: Internet
Author: User

Does the 1.Android SDK have a list of updatable packages after installation?

Locate the installation directory for the SDK, D:\ANDROID\ANDROID-SDK

Run DK Manager.exe After opening in menu Tools->options

Then in the others box, put those colors on (use HTTP instead of Secure link HTTPS, or Google site will refuse)

After the 2.Android SDK is installed, does the update often fail when the network is broken?

Open Folder C:\Windows\System32\drivers\etc

Locate the Hosts file, open it with Notepad, and add the following to the end:

127.0.0.1 localhost

#Google主页

203.208.46.146 www.google.com

#这行是为了方便打开Android开发官网 don't seem to be able to open a VPN now.

74.125.113.121 developer.android.com

#更新的内容从以下地址下载

203.208.46.146 dl.google.com

203.208.46.146 dl-ssl.google.com

74.125.237.1 dl-ssl.google.com

****************************************

3.Android SDK Common version is 2.2, the bottom is compatible with 1.6

Now the new phones are 4.0-4.4.

Select the highest version or 2.2 at the time of development and change the version at the time of release

4.Mono for Android supports C # development, if you are doing personal products yourself. NET cooked best with this can quickly get started. VS is better to use some.

But the resulting file is a bit larger.

5.vs2010/2012, how to build an APK after installing mono for Android?

The main is vs build when Android options option, to use release production version ...

See the following website for details

Http://blog.sina.com.cn/s/blog_70e5bf6e0101b0z1.html

Or

Http://developer.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_1_ -_preparing_an_application_for_release/

6.SDK Manager.exe or AVD Manager.exe when the command-line shell interface is turned on, the screen disappears as soon as it becomes black. Can't open it?

Seems to be the Android SDK inside Find_java.bat some problems,
So that Android.bat can not find it when it calls for Java.exe,
You cannot run SDK manager, etc...
My workaround is to modify the Android.bat, directly specify the location of the Java.exe,
You don't have to call Find_java.bat.
REM Check we have a valid Java.exe in the path.
This line below the
Set java_exe= changed to set java_exe= "D:\Program Files\java\jdk1.7.0_07\bin\java.exe" (where Java.exe is located)
Call lib\find_java.batif Not defined Java_exe goto:eof
These two lines can be erased now everything OK!

7. How do I choose a development tool for beginners?

From Ease of use:

Mono for Android > Android Studio > Eclipse

From a general point of view (which is better for Android), just the reverse:

Android Studio > Eclipse > Mono for Android

Android SDK installation Error or incomplete workaround

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.