`
文章列表
Problems When building you might run into the Unable to get buffer of resource asset file error. The root cause of this is that the new android resource file resources.arsc is larger than the aapt tool allows. You can exchange the .arsc file inside android.jar with an older version or patch the aa ...
Android JNI 编程实践      一、直接使用java 本身jni 接口(windows/ubuntu )      1. 在Eclipsh 中新建一个android 应用程序。两个类:一个继承于Activity ,UI 显示用。另一个包含native 方法。编译生成所有类。      jnitest.java 文件:      package com.hello.jnitest;            import android.app.Activity;      import android.os.Bund ...
Android JNI 知识简介          Java Native Interface (JNI) 标准是java 平台的一部分,它允许Java 代码和其他语言写的代码进行交互。JNI 是本地编程接口,它使得在 Java 虚拟机 (VM) 内部运行的 Java 代码能够与用其它编 ...
编译 Android 代码   Type the following command to install it:   $ tar -xvzf Android_PlatformRel_Linux_MHLV_2010WW05.tgz -C [installed_directory]   Building Android Download android donut release into [Android_directory]   $ repo init -u git://android.git.kernel.org/pl ...
Cupcake 编译指导   准备文件: \ cupcake\ 从服务器下载该目录下所有文件   解压 cupcake.tgz 至 ~/cupcake tar zxf path/cupcake.tgz –C ~/   拷贝 clean_git.sh 至 ~/cupcake/ 并执行之,以清除各个子目录下的 .git 目录        cd ~/cupcake        chomd a+x clean_git.sh        ./clean_git.sh   做原始 ...
ubuntu samba配置 关键字: ubuntu samba 转自: http://www.5ilinux.com/samba.html 一、samba要求: 公司有财务,技术,领导3个部门,我们分别为3个部门建立3个用户组为caiwu,network,lingdao; 三个部门里各有2个用户,我们建用户分别为caiwu01,caiwu02,network01,network02,lingdao01,lingdao02 然后我们分别就公司的具体情况建立相应的目录及访问权限,通过以下的例子,希望大家能在平时的工作中灵活的应用samba的安全权限来设置你们的samba文件服务器。 ...
挂载SDCAED 1. 到SDK目录 cd ~/android/tools 2. 创建一个sdcard镜像 (2Gb) mksdcard 2147483648 ~/mysdcard/sdcard.img 3. 挂载镜像 sudo losetup /dev/loop0 ~/mysdcard/sdcard.img (source: http://www.osdev.org/osfaq2/inde ... ges%20Under%20Linux) 4. 创建一个目录, 用来挂载镜像 mkdir ~/mysdcard/sdcard 5. 挂载设备到这个镜像目录, 这样你就能直接往这个 ...
1、android文件系统的结构 android源码编译后得到 system.img,ramdisk.img,userdata.img映像文件。其中, ramdisk.img是emulator的文件系统,system.img包括了主要的包、库等文件,userdata.img包括了一些用户数据,emulator加载这3个映像文件后,会把 s ...
环境:ubuntu10.04  android2.1 启动android模拟器: wangxinyuan@wangxinyuan-desktop:~$ emulator -shell -avd wxy21 启动后 出现 # 命令提示符 # pwd && ls -a -l / drwxrwx---      system   cache                          2010-06-28 08:23 cachedr-x------          root        root                               2010 ...
aapt(Android asset packaging tool):用于建立zip兼容的包(zip jar apk),也可用于将资源编译到二进制的assets。 adb(Android debug brigde,android调试桥):使用adb工具可以在模拟器或设备上安装用户程序的.apk文件,并从命令行访问模拟器或设备。也可以用它把android模拟器或设备上的应用程序代码和一个标准的调试器链接在一起。 android 工具:android工具是一个脚本,用于创建和管理Android Virtual Devices(AVDs)。 AIDL(Android Interface Des ...
在ubuntu10.04中用git和repo获得的android源码目录中没有kernel目录, kernel需要我们在重新下载。 编译linux内核映像 a)准备交叉编译工具链 android代码树中有一个prebuilt项目,包含了我们编译内核所需的交叉编译工具。 b)设定环� ...
Ubuntu10.04编译android1.5源码出错问题解决   环境:Ubuntu10.04     android1.5源码 make: (1)/bin/bash: bison: command not found 解决:$ sudo apt-get install bison (2)make: *** No rule to make target `Please-install-JDK-5.0,-update-12-or-higher,-which-you-can-download-from-java.sun.com', needed by `out/targe ...
<!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } H1 { margin-bottom: 0.21cm } H1.western { font-family: "AR PL UMing CN", serif } H1.cjk { font-family: "DejaVu Sans"; font-size: 24pt; font-style: normal; font-weight: bold } H1.ctl { font ...
<!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } A:link { so-language: zxx } --> Git 是 Linux Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码 的分布式版本控制软件 ,它不同于Subversion 、CVS 这样的集中式版本控制系统。在集中式版本控制系统中只有一个仓库(repository ),许多个工作目录(working copy ...
编译Android过程 建立编译环境, Ubuntu版本Linux操作系统, 在此基础上下载编译Android代码。  下面是顺序描述的程序,安装操作系统, 编译程序到结束,过程如下。 1. Ubuntu Linux操作系统安装软件包。    使用 ubuntu-8.04.1 desktop-i386系统.    - 第一,获得ISO映像的Ubuntu Linux操作系统安装光盘创建。       ftp://ftp.daum.net/ubuntu-releases/8.04.1/ubuntu-8.04.1-desktop-i386.iso    ...
Global site tag (gtag.js) - Google Analytics