我有一个Android应用程序,似乎在手动签名后挂起。
但它并不总是挂起:
现在我使用以下行来构建和签署应用程序
ant release -f dir/build.xml
jarsigner -signedjar Hedgeroid-signed.apk -keystore /path/to/keystore/hedgewars.keystore -storepass "password1" -keypass "password2" -sigalg MD5withRSA -digestalg SHA1 -verbose path/to/project/bin/MainActivity-release-unsigned.apk hedgeroid
keytool输出:
adding: META-INF/MANIFEST.MF
adding: META-INF/HEDGEROI.SF
adding: META-INF/HEDGEROI.RSA
signing: assets/Data/Fonts/DejaVuSans-Bold.ttf
signing: assets/Data/Forts/LegoL.png
... (summing up all the files) ..
signing: lib/armeabi/libhwengine.so
signing: lib/armeabi/liblua5.1.so
之后我将其zipalign,但无论有没有改变结果。
非常感谢任何帮助。
的PS。
这是logcat从它开始挂起的位置:
D/dalvikvm(12755): Added shared lib /data/data/org.hedgewars.hedgeroid/lib/liblua5.1.so 0x410a4110
D/dalvikvm(12755): No JNI_OnLoad found in /data/data/org.hedgewars.hedgeroid/lib/liblua5.1.so 0x410a4110, skipping init
D/dalvikvm(12755): Trying to load lib /data/data/org.hedgewars.hedgeroid/lib/libhwengine.so 0x410a4110
W/ActivityManager( 192): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 192): Activity idle timeout for ActivityRecord{4182f1c0 org.hedgewars.hedgeroid/.StartGameActivity}
D/dalvikvm(12711): GC_CONCURRENT freed 434K, 9% free 6659K/7239K, paused 2ms+2ms
D/TaskWidgetDataUtils(12711): In trigger refresh list utils