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 密碼相同,按回車):