2, install sdk and tools
cd /opt
unzip android-1.5_r04-linux.zip
unzip tools_r06-linux.zip
3, fixed apkbuilder bug for me (我自己修改的)
edit file /opt/tools_r06-linux/apkbuilder
append follow content into line 49
###### append begin ######
if [ ! -r "$frameworkdir/$jarfile" ]
then
progdir="$0"
frameworkdir=`dirname "$progdir"`/lib
libdir=`dirname "$progdir"`/lib
fi
###### append end ######
Enter keystore password:
输入keystore密码:[密码不回显]
Re-enter new password:
再次输入新密码:[密码不回显]
What is your first and last name?
您的姓名是什么?
[Unknown]: android
What is the name of your organizational unit?
您的组织单位名称是什么?
[Unknown]: www.android.com.cn
What is the name of your organization?
您的组织名称是什么?
[Unknown]: www.android.com.cn
What is the name of your City or Locality?
您所在的城市或区域名称是什么?
[Unknown]: ShenZhen
What is the name of your State or Province?
您所在的州或省份名称是什么?
[Unknown]: GuangDong
What is the two-letter country code for this unit?
该单位的两字母国家代码是什么
[Unknown]: CN
Is CN=android, OU=www.android.com.cn, O=www.android.com.cn, L=ShenZhen,
ST=GuangDong, C=CN correct?
[no]: yes 正确否, yes
Enter key password for输入的主密码
(RETURN if same as keystore password):
(如果和 keystore 密码相同,按回车):