准备发布一个Android app
1.keytool -genkey -v -keystore debug.keystore -alias wxkdebugkey -keyalg RSA-validity 14000
跟随提示回答问题.
2.Jarsigner -verbose -keystore debug.keystore yourapk.apk wxkdebugkey
3.jarsigner -verify yourapk.apk
4.zipalign -v 4 yourapk.apk lastname.apk
5.start a avd
tools\android.bat list avd
Available Android Virtual Devices:
Name: AVD233
Path: d:\temp\.android\avd\AVD233.avd
Target: Android 2.3.3 (API level 10)
ABI: armeabi
Skin: WVGA800
---------
Name: avd411
Path: d:\temp\.android\avd\avd411.avd
Target: Android 4.1 (API level 16)
ABI: armeabi-v7a
Skin: WVGA800
Sdcard: 512M
Snapshot: true
emulator -avd AVD233 启动
5.adb devices
adb -e install lastname.apk