mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-22 04:25:01 +00:00
12 lines
561 B
Text
12 lines
561 B
Text
For an APK to be installable, it must be signed: <https://developer.android.com/training/articles/keystore>
|
|
|
|
For that purpose, create a keystore by executing this command:
|
|
|
|
keytool -genkey -v -keystore ~/.android/scrcpy.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias scrcpy -dname cn=scrcpy
|
|
|
|
(Adapt ~/.android/scrcpy.keystore if you want to generate it to another location.)
|
|
|
|
Then create server/keystore.properties and edit its properties:
|
|
|
|
cp keystore.properties.sample keystore.properties
|
|
vim keystore.properties # fill the properties
|