← Pimp-my-Pumpkin!
Google Collections →
Getting Android SDK working on Ubuntu 64
October 21st, 2009 by Johan Haleby — Android
Johan Haleby
Today I was trying to setup the Android SDK (version 1.6_r1) on the 64 bit version of Ubuntu 9.04 (Jaunty Jackalope). After having installed the ADT Eclipse plugin and pointed out the Android SDK directory in the settings I immediately ran into the following error:
Failed to get the adb version: Cannot run program "/home/johan/devtools/android/android-sdk-linux_x86-1.6_r1/tools/adb": java.io.IOException: error=2, No such file or directory
I opened the terminal and tried to manually run an Android executable but even here it said that the file couldn't be found! The problem seemed to be that the Android executables requires 32 bit libraries that are not available in Ubuntu 64 by default. To solve this I downloaded the execellent getlibs application which is a utility for automatically resolving dependencies for 32-bit programs on a 64 bit system. So I went into platforms/android-1.6/tools in the Android SDK installation folder and executed:
getlibs aapt
which installed and upgraded the following libraries:
The following NEW packages will be installed:
ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1
libc6-i386
The following packages will be upgraded:
libc6 libc6-dev
After this was done I went back into Eclipse, did a project clean and refresh and after that I was able to start the Android emulator successfully. Hopefully this may help someone who's in the same situation.
分享到:
相关推荐
1. `adb/`: 这里包含了ADB的主程序代码,包括服务器端(adb_server)和客户端(adb_client)的实现,以及USB和TCP/IP的通信协议代码。 2. `transport/`: 这个目录下的代码处理设备端的各种传输协议,如USB、TCP/IP和...
Unable to detect adb version, exit value: 0xc0000135. ADB depends on the Windows Universal C Runtime, which is usually installed by default via Windows Update. You may need to manually fetch and ...
带OTG功能安卓设备读取USB外设信息 可以通过AS调试读出 , 过滤关键字 "Li_Debug" , 一次显示使用USB外设 格式举例 厂商/VendorId: 0x10C4 产品/ProductId: 0xEA60 设备/DeviceId: 0x7D2 接口数/InterfaceCount: 1 ...
解决adb server version (31) doesn’t match this client (36); killing… * daemon started successfully * error: no devices/emulators found adb.exe下载 下载后替换adb所在目录
**ADB驱动**:ADB是Android系统开发者工具的一部分,它是一个命令行实用工具,允许开发者通过USB或无线连接在电脑上对Android设备进行调试、传输文件和执行各种操作。安装ADB驱动对于开发者来说至关重要,因为它能...
adb: failed to install SystemActivities.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1716187195.tmp/base.apk (at Binary XML file line #0): Requires newer...
CSDN More information of gradle-screen-...adb: We use it to get screen-record files with .mp4 format. ffmpeg: We use it to convert the format of these files, from .mp4 to .gif. More infomation abou
全志R16平台的android6.0.1系统下的RTL8188EU的配置V1.0 2017/5/31 10:30 1、R:\wyb\rtl8188eu_r16m_20161208\android\device\softwinner\astar-evb30\overlay\frameworks\base\core\res\res\values\config.xml ...
ADB 安装配置 Ubuntu: 1、 获取 adb 下载 sdk:http://developer.android.com/sdk/index.html 选择 linux 64 位版本 adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb 2、 安装 adb $ mkdir -p ~/bin $cp ...
此adb工具包中包含了adb disable-verity命令,这里免费提供给大家使用,具体可看本人的文章 ”/system/bin/sh: disable-verity: not found 的解决方案“ 【使用方式】 platform-tools解压后即可使用。在cmd中通过cd...
例如,`adb (Android Debug Bridge)`用于设备通信,`ddms (Dalvik Debug Monitor Service)`提供了内存和性能分析功能,而`AVD Manager (Android Virtual Device Manager)`则用于创建和管理虚拟设备。 **3. SDK ...
### Android安装APK详解 #### 一、概述 在Android平台上,APK文件扮演着至关重要的角色,它是Android应用程序的封装格式。用户可以通过多种途径安装这些应用,包括但不限于通过网络下载、ADB工具安装以及第三方...
adbWireless enable ADB wireless connection to connect to the phone as if connected by USB. used a method already known to enable the wireless connection through: 03-17-2010: http://goo.gl/iK77 04-10-...
could not get driver version for /dev/input/js1, Invalid argument add device 2: /dev/input/event4 name: "bma250" events: ABS (0003): 0000 : value 0, min -19613100, max 19613100, fuzz 0, flat 0, ...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:...
6. 问题六:host c: adb<= system/core/adb/fdevent.chost Executable:adb (out/host/linux-86/obj/EXECUTABLES/adb_intermediates/adb)/user/bin/ld:cannot find –lncursescollect2: ld 返回 1make: *[out/host/...
预置Chrome浏览器默认主页和书签方法,文件包含所需的工程文件及配置说明文档 可参考: blog:http://blog.csdn.net/jiulousanti/article/details/38869909
[ 3.175402] Bluetooth: get rtl8723bs rtl8723bs_bt_host_wake gpio failed [ 3.953017] Bluetooth: RFCOMM TTY layer initialized [ 3.958456] Bluetooth: RFCOMM socket layer initialized [ 3.964183] ...
rootroot@cm-System-Product-Name:/home/wwt$ tar zxvf tinaV2.1_wyb_20170302_patch_leo_20161102.tar.gz rootroot@cm-System-Product-Name:/home/wwt$ mv tinaV2.1 softap_ap6212a0_tinav2.1 rootroot@cm-System...
在安卓应用开发和调试过程中,ADB(Android Debug Bridge)是一个不可或缺的工具。它提供了一种桥梁,使得开发者能够通过USB连接或Wi-Fi与安卓设备进行通信,进行一系列操作,如安装应用、查看设备状态、发送命令、...