App to restart Gnirehtet from the phone.
Unless you grant this permission, it won’t work:
$ adb shell pm grant com.example.gnirehtetrestart android.permission.WRITE_SECURE_SETTINGS
If the connection still doesn’t work afterwards, try to force-stop Gnirehtet in the settings and do another restart.
- Put your keystore
output.jks
in theapp/
folder. - Put the properties
keystore-store-password
,keystore-key-alias
, andkeystore-key-password
in the gradle.properties file.
Finally run
./gradlew assembleRelease
and you should be able to find the APK at app/build/outputs/apk/release/app-release.apk
.