Tag: Android

  • 解决在Ubuntu上搭建Android开发环境缺少WST包的问题

    前言:之前写过一篇《Ubuntu 10.04安装Android开发环境》,每天都有不少访问量,估计很多就是遇到了这个问题,一直压在Evernote里没有翻出来,现在已转入Arch阵营,没有再次验证解决方案的正确性,完全参照印象和笔记,有问题尽管留言 平台:Ubuntu 10.10和Ubuntu 11.04,10.04(写那一篇日志的时候)无此问题 原因:Ubuntu下的Eclipse是Ubuntu社区打包的,非完整版,少了WST包的支持 现象:安装ADT的时候会提示类似如下错误(版本号可能会有不同): [text gutter=”false”] Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 10.0.1.v201103111512-110841 (com.android.ide.eclipse.adt.feature.group 0.0.1.v201103111512-110841) Missing requirement: Android Development Tools 10.0.1.v201103111512-10841 (com.android.ide.eclipse.adt.feature.group 10.0.1.v201103111512-110841) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found [/text] 解决方案: 方案1:直接从Eclipse官网下载完整的安装包 方案2:遵照以下菜单顺序或提示执行 [text gutter=”false”]…

  • Android平台下FreePascal的交叉编译器

    0) Preface 0.1) The Operating System is Ubuntu 10.10 0.2) All the softwares are the latest stable version by April 12, 2011 1) Download the Source of Free Pascal Compiler The ‘fpc-2.4.2.source.tar.gz’ on http://sourceforge.net/projects/freepascal/files/Source/2.4.2/ 2) Install the fpc-source. Just extract it. The root folder of fpc-source for me is ‘/home/victorhu/fpc-source’ 3) Download the Arm-Eabi (Sourcery…

  • Ubuntu 10.04安装Android开发环境(更新解决WST包缺少问题)

    更新:在10.10及11.04中搭建时可能会遇到WST包缺少的问题,可以参照这篇日志解决 注:本文中<android_sdk>代表Android SDK安装路径 这里选择”/home/victorhu/Code/android-sdk-linux_86″ Step 0 : 准备 [shell]sudo apt-get update[/shell] Step 1 : 安装 Java JDK & Eclipse [shell]sudo apt-get install sun-java6-jdk eclipse[/shell] Step 2 : 安装 Andorid SDK Starter Package [shell]wget http://dl.google.com/android/android-sdk_r06-linux_86.tgz tar -zxvf android-sdk_r06-linux_86.tgz[/shell] 你可以把这个文件放在任意你希望的位置,这就是Andord SDK的安装位置 Step 3 : 配置环境 [shell]export PATH=${PATH}:/tools[/shell] 如运行时出现”The project cannot be built until build path errors are…