File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # Build and Release Guide for AndroidForClaw
2+
3+ ## Instructions for Building and Releasing Signed APK
4+
5+ ### 1. Keystore Setup
6+ - Generate a keystore using the command:
7+ ``` bash
8+ keytool -genkey -v -keystore your_keystore_name.jks -keyalg RSA -keysize 2048 -validity 10000 -alias your_alias_name
9+ ```
10+ - Follow the prompts to set up your keystore password and other details.
11+
12+ ### 2. Build Commands
13+ - To build the signed APK, navigate to your project directory and run:
14+ ``` bash
15+ ./gradlew assembleRelease
16+ ```
17+ - Make sure to replace the default signing configuration in the ` build.gradle ` file if required:
18+ ``` groovy
19+ android {
20+ signingConfigs {
21+ release {
22+ storeFile file('path_to_your_keystore/your_keystore_name.jks')
23+ storePassword 'your_keystore_password'
24+ keyAlias 'your_alias_name'
25+ keyPassword 'your_key_password'
26+ }
27+ }
28+ }
29+ ```
30+
31+ ### 3. APK Location
32+ - After building, the signed APK will be located at:
33+ ```
34+ app/build/outputs/apk/release/app-release.apk
35+ ```
36+
37+ ### Additional Notes
38+ - Ensure that you have the latest version of the Android SDK and Gradle installed.
39+ - Remember to keep your keystore and passwords secure!
You can’t perform that action at this time.
0 commit comments