You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To publish on the Play Store, you need to sign your app with a digital certificate.
13
14
@@ -111,6 +112,22 @@ In this example the keystore was exported to base64 with `base64 -i /path/to/key
111
112
112
113
Configure gradle to use your upload key when building your app in release mode by editing the `[project]/src-tauri/gen/android/app/build.gradle.kts` file.
113
114
115
+
:::tip
116
+
117
+
There are multiple different `build.gradle.kts` files in a typical Android project. If there is no `buildTypes` block you're looking at the wrong file. The one you need is in the `app/` directory relative to the keystore file from the prior step.
118
+
119
+
<details>
120
+
<summary>
121
+
Click here for a screenshot showing its location in a typical file tree.
122
+
</summary>
123
+
<Image
124
+
src={BuildGradleFiletree}
125
+
alt="build.gradle.kts location in file tree"
126
+
/>
127
+
</details>
128
+
129
+
:::
130
+
114
131
1. Add the needed import at the beginning of the file:
0 commit comments