In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to build Android development platform under Windows and Mac, I believe that most people do not know much about it, so share this article for your reference, I hope you will learn a lot after reading this article, let's learn about it!
Develop requirements software:
Required development environment:
Eclipse IDE
Eclipse 3.3 (Europa), 3.4 (Ganymede)
Eclipse JDT plug-ins (most Eclipse IDE packages contain)
WST (optional, but required for Android editor functionality, which is included in most Eclipse IDE packages)
JDK 5 or JDK 6 (JRE is not enough)
Android Development Tools plug-in (optional)
Incompatible GNU Java compiler (gcj)
Other development environments or IDE
JDK 5 or JDK 6 (JRE alone is not enough)
Apache Ant 1.6.5 or later (for Linux and Mac), 1.7 or later (for Windows)
Incompatible GNU Java compiler (gcj)
Required operating system:
Windows XP or Vista
Mac OS X 10.4.8 or later (x86 only)
Linux (Linux Ubuntu Dapper Drake version tested)
Required SDK: Android SDK
SDK download: http://developer. Android. Com/sdk/1.1_r1/index.html
Install SDK
After downloading SDK, extract the .zip file to the appropriate location on your computer. By default, SDK files are extracted to the android_sdk___ folder. This folder contains tools/, samples/ and so on.
Please note the name and location of the unzipped SDK folder on the system-you will need to reference this folder when you install the Android plug-in and use the SDK tool.
You can add the folder path of SDK tools to your environment variable. As mentioned above, the tools/ folder is located in the SDK folder.
Under Linux environment, modify ~ / .bash_profile or ~ / .bashrc files. Find the place where the environment variable is set and add the absolute path to tools/. If you can't find this setting, you need to add a new line:
Export PATH=$ {PATH}: / tools
In Mac, look for .bash _ profile in your home folder and do the same as linux. If you don't have a .bash _ profile file before, you can create a new one.
In the Windows environment, right-click my computer and select Properties. In the advanced tab, click the environment variable, and when the dialog box appears, double-click the path (Path) in the system variables column. And add the full path to the tools/ folder.
Add tools to your environment variables so that you can run android Debug Bridge (adb) and other tools commands without typing the full pathname. It is important to note that if you upgrade your SDK, you need to update your corresponding environment variables to a new location.
Install the Eclipse plug-in (ADT)
If you want to use Eclipse IDE as the environment for developing Android applications, you can install the generic plug-in android Development Tools (ADT) that supports Android engineering and tools. The ADT plugin contains powerful extensions that make it faster and easier to create, run, and debug Android.
If you don't use Eclipse IDE, you don't have to download and install the ADT plug-in
To download and install the ADT plug-in, please follow the steps of your respective Eclipse version.
Eclipse 3. 3 (Europa) Eclipse 3. 4 (Ganymede)
Start Eclipse, then select Help > Software Updates > Find and Install....
After the dialog box appears, select Search for new features to install and click Next.
Click New Remote Site.
In the dialog box, enter the name of the remote site (such as android Plugin), and enter the site as follows:
Https://dl-ssl.google.com/android/eclipse/
Click OK.
You can see the new site added to the search list (and check), click Finish.
In the search results dialog box below, select the check box Android Plugin > Developer Tools. It will check the features: "android Developer Tools" and "android Editors". The features of the Android editor are optional, but we recommend installing it, and if you choose to install it, you need the WST plugin mentioned earlier. Click Next.
Read the license agreement, then choose to accept the license agreement, and click Next.
Click Finish.
The ADT plugin is not signed. You can click "Install All" to install everything.
Restart Eclipse.
Start Eclipse and select Help > Software Updates....
In the dialog box that appears, click the tab Available Software.
Click Add Site...
Enter the following address:
Https://dl-ssl.google.com/android/eclipse/
Click OK.
Return to the view of the available software and you will see the plug-in. Select next step to Developer Tools and click Install...
In the next installation window, select "android Developer Tools" and "android Editors". The Android editor feature is optional, but we recommend installing it, and if you choose to install it, you need the WST plugin mentioned earlier. Click Finish.
Restart Eclipse.
After restarting, update your Eclipse preferences points to the SDK folder:
Select Window > Preferences... To open the properties panel. (Mac OS X: Eclipse > Preferences)
Select Android from the left panel.
Locate SDK on the main interface and click Browse... Then locate the SDK folder.
Click Apply, and then click OK.
The above is all the contents of the article "how to build an Android Development platform under Windows and Mac". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.