首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > Android >

ubuntu android 开发环境配备

2013-08-25 
ubuntu android 开发环境配置$ vim .profile?$ vim .bashrc$ vim /etc/environment?Download the Android

ubuntu android 开发环境配置

$ vim .profile?

$ vim .bashrc

$ vim /etc/environment

?

Download the Android NDK and SDK.

SDK: http://dl.google.com/android/android-sdk_r18-linux.tgzNDK: http://dl.google.com/android/ndk/android-ndk-r8-linux-x86.tar.bz2?JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk7u7-downloads-1836413.html

?

export ANDROID_NDK=/home/lzyfn/android-ndk-r8

export ANDROID_SDK=/home/lzyfn/android-sdk-linux

PATH=${PATH}:$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:${ANDROID_SDK}/tools:${ANDROID_SDK}/platform-tools:${ANDRO ? ?ID_SDK}

export ANDROID_API_LVL=4

export ANDROID_PLATFORM=${ANDROID_NDK}/platforms/android-${ANDROID_API_LVL}/arch-arm

export JAVA_HOME=/home/lzyfn/jdk1.7.0_07

export PATH=$JAVA_HOME/bin:$PATH

export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

?

export JNI_PATH=/home/lzyfn/jdk1.7.0_07/include

export JNI_PATH_PATH=$JNI_PATH/linux

export PATH=$PATH:/home/lzyfn/android-ndk-r8

??编译执行(参考):http://wiki.navit-project.org/index.php/Android_development#Pre-requisites

热点排行