Added the debug.keystore to the repo so that I can move between devices and build the app without getting installation errors on the phone.

Also updated the testModelActivity to a more robust USB connection permissions testing and connection testing....
This commit is contained in:
2026-01-30 16:40:42 +11:00
parent 2a8f004916
commit 9f6d67a567
5 changed files with 54 additions and 17 deletions

View File

@@ -7,12 +7,22 @@ android {
namespace = "net.mmanningau.speechtokeyboard"
compileSdk = 36
signingConfigs {
getByName("debug") {
// This tells Gradle to look for the key in the same folder as this build file
storeFile = file("debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}
}
defaultConfig {
applicationId = "net.mmanningau.speechtokeyboard"
minSdk = 28
targetSdk = 36
versionCode = 12
versionName = "1.1"
versionCode = 13
versionName = "1.1.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@@ -29,6 +39,8 @@ android {
applicationIdSuffix = ".streaming"
// This changes the app name on your homescreen to "MyApp (Dev)"
resValue("string", "app_name", "Speech To Keyboard (Streaming)")
// Explicitly tell the debug build to use the config we defined above
signingConfig = signingConfigs["debug"]
}
}
compileOptions {