Skip to content

Commit 772ecba

Browse files
authored
fix: sign android on SDK lower than 35 (#239)
* fix: sign android on SDK lower than 35 * cleanup * changeset
1 parent ae22409 commit 772ecba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shy-coats-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@rnef/platform-android': patch
3+
---
4+
5+
fix: sign android on SDK lower than 35

packages/platform-android/src/lib/commands/signAndroid/signAndroid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Please follow instructions at: https://reactnative.dev/docs/set-up-your-environm
173173
// See: https://developer.android.com/tools/zipalign#usage
174174
const zipalignArgs = [
175175
// aligns uncompressed .so files to the specified page size in KiB. Available since SDK 35
176-
...(isSdkGTE35(zipAlignPath) ? ['-P', '16'] : []),
176+
...(isSdkGTE35(zipAlignPath) ? ['-P', '16'] : ['-p']),
177177
'-f', // Overwrites existing output file.
178178
'-v', // Overwrites existing output file.
179179
'4', // alignment in bytes, e.g. '4' provides 32-bit alignment

0 commit comments

Comments
 (0)