在Ubuntu 14.04上使用eclipse设置android sdk的综合指南LTS 64位

在Ubuntu 14.04上使用eclipse设置android sdk的综合指南LTS 64位,第1张

概述参见英文答案>CompleteInstallationGuideforAndroidSDK/ADTBundleonUbuntu                                    6个几周前我已经转移到Ubuntu了,在设置Ubuntu后,我的第一步是设置Eclipse进行android开发.我对Linux没有任何了解.

参见英文答案 > Complete Installation Guide for Android SDK / ADT Bundle on Ubuntu                                    6个
几周前我已经转移到Ubuntu了,在设置Ubuntu后,我的第一步是设置Eclipse进行androID开发.我对linux没有任何了解.我在谷歌和本网站上搜索了一个全面的指南.大多数指南适用于较旧版本的Ubuntu,大部分说明都不适用于我.因为我不是很熟悉linux所以经常我不得不重新开始使用Ubuntu的干净副本.
我发现这个guide最终使得androID开发对我起作用了.

希望它也能帮助其他用户.

解决方法:

以下是在ubuntu 14.04上设置androID SDK的步骤:

# ++++++++++++++++++++++++++++++# apt-get update and upgrade# ++++++++++++++++++++++++++++++sudo apt-get updatesudo apt-get upgrade# ++++++++++++++++++++++++++++++# For development# ++++++++++++++++++++++++++++++sudo apt-get install build-essential# ++++++++++++++++++++++++++++++# Git# ++++++++++++++++++++++++++++++sudo apt-get install gitgit --version#git version 1.9.1# ++++++++++++++++++++++++++++++#  (required for adb)# ++++++++++++++++++++++++++++++#bash: /usr/local/androID-sdk-linux/platform-tools/adb: No such file or directorysudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0#adb: error while loading shared librarIEs: libstdc++.so.6: cannot open shared object file: No such file or directorysudo apt-get install g++-multilib# ++++++++++++++++++++++++++++++# AndroID SDK# ++++++++++++++++++++++++++++++# http://developer.androID.com/sdk/index.HTML# DOWNLOAD FOR OTHER PLATFORMS - SDK Tools Only - linux 32 & 64-bit# androID-sdk_r22.6.2-linux.tgztar zxvf androID-sdk_r22.6.2-linux.tgzmv androID-sdk-linux androID-sdk_r22.6.2-linuxsudo mv androID-sdk_r22.6.2-linux /usr/local/sudo ln -s /usr/local/androID-sdk_r22.6.2-linux /usr/local/androID-sdk-linuxecho '' >> ~/.profileecho '# AndroID SDK' >> ~/.profileecho 'export ANDROID_SDK_HOME="/usr/local/androID-sdk-linux"' >> ~/.profileecho 'export PATH="$PATH:$ANDROID_SDK_HOME/tools"' >> ~/.profileecho 'export PATH="$PATH:$ANDROID_SDK_HOME/platform-tools"' >> ~/.profilesource ~/.profile# ++++++++++++++++++++++++++++++# AndroID NDK# ++++++++++++++++++++++++++++++# https://developer.androID.com/tools/sdk/ndk/index.HTML# linux 64-bit (x86)# androID-ndk-r9d-linux-x86_64.tar.bz2tar xjvf androID-ndk-r9d-linux-x86_64.tar.bz2mv androID-ndk-r9d androID-ndk-r9d-linux-x86_64sudo mv androID-ndk-r9d-linux-x86_64 /usr/local/sudo ln -s /usr/local/androID-ndk-r9d-linux-x86_64 /usr/local/androID-ndk-linuxecho '' >> ~/.profileecho '# AndroID NDK' >> ~/.profileecho 'export ANDROID_NDK_HOME="/usr/local/androID-ndk-linux"' >> ~/.profileecho 'export PATH="$PATH:$ANDROID_NDK_HOME"' >> ~/.profilesource ~/.profile# ++++++++++++++++++++++++++++++# AndroID w/Eclipse# ++++++++++++++++++++++++++++++# Run androID command# androID# AndroID SDK Manager#   Installed#     Tools - AndroID SDK Tools 22.6.2#   default checked#     Tools - AndroID SDK Platform-tools 19.0.1#     Tools - AndroID SDK Build-tools 19.0.3#     AndroID 4.4.2 (API 19) All#     Extras - AndroID Support library 19.1#   install 13 packages# Eclipse - Help - Install New Software...#   name: ADT Plugin#   Location: https://dl-ssl.Google.com/androID/eclipse/#   Developer Tools, NDK Plugins#   Eclipse restart#   -> AndroID SDK "Location of the AndroID SDK has not been setup in the preferences" -> Close#   -> Welcome to AndroID Development -> Use exsting SDKs#   Existing Location: /usr/local/androID-sdk-linux#   -> Next -> Finish# Confirm : Eclipse - Window - Preferences - AndroID
总结

以上是内存溢出为你收集整理的在Ubuntu 14.04上使用eclipse设置android sdk的综合指南LTS 64位全部内容,希望文章能够帮你解决在Ubuntu 14.04上使用eclipse设置android sdk的综合指南LTS 64位所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1112171.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存