Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[droid] Fix signing of APK with recent java/jarsigner versions

  • Loading branch information...
commit 175a9a56f65e1119709271aea5eb64d670825e44 1 parent 8d57808
Mikkel Troest authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 tools/android/packaging/Makefile
4 tools/android/packaging/Makefile
@@ -36,7 +36,7 @@ libs= $(DSTLIBS)
36 36 multi: x86 arm
37 37 @cp images/xbmcapp-debug-skeleton.apk images/xbmcapp-debug-multi-unaligned.apk
38 38 @cd xbmc; zip -r -q ../images/xbmcapp-debug-multi-unaligned.apk lib/ assets
39   - @jarsigner -keystore ~/.android/debug.keystore -storepass android images/xbmcapp-debug-multi-unaligned.apk androiddebugkey
  39 + @jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore ~/.android/debug.keystore -storepass android images/xbmcapp-debug-multi-unaligned.apk androiddebugkey
40 40 @$(SDKROOT)/tools/zipalign -f 4 images/xbmcapp-debug-multi-unaligned.apk $(XBMCROOT)/xbmcapp-multi-debug.apk
41 41 @rm images/xbmcapp-debug-multi-unaligned.apk
42 42 @echo "$(XBMCROOT)/xbmcapp-multi-debug.apk created"
@@ -47,7 +47,7 @@ package: extras
47 47 @javac -classpath $(SDKROOT)/platforms/$(SDK_PLATFORM)/android.jar:xbmc/obj -d xbmc/obj -sourcepath xbmc/src xbmc/src/org/xbmc/xbmc/*.java
48 48 @$(DX) --dex --output=xbmc/classes.dex xbmc/obj
49 49 @cd xbmc; zip -r -q ../images/xbmcapp-debug-$(PLATFORM)-unaligned.apk lib/$(PLATFORM) assets classes.dex
50   - @jarsigner -keystore ~/.android/debug.keystore -storepass android images/xbmcapp-debug-$(PLATFORM)-unaligned.apk androiddebugkey
  50 + @jarsigner -sigalg MD5withRSA -digestalg SHA1 -keystore ~/.android/debug.keystore -storepass android images/xbmcapp-debug-$(PLATFORM)-unaligned.apk androiddebugkey
51 51 @$(SDKROOT)/tools/zipalign -f 4 images/xbmcapp-debug-$(PLATFORM)-unaligned.apk $(XBMCROOT)/xbmcapp-$(PLATFORM)-debug.apk
52 52 @rm images/xbmcapp-debug-$(PLATFORM)-unaligned.apk
53 53 @echo "$(XBMCROOT)/xbmcapp-$(PLATFORM)-debug.apk created"

0 comments on commit 175a9a5

Please sign in to comment.
Something went wrong with that request. Please try again.