Skip to content

Commit 007f6c0

Browse files
authored
Merge pull request #45 from SurajKRB/sign_upload
App Signing, Building and Uploading
2 parents dae72d4 + acfd06d commit 007f6c0

4 files changed

Lines changed: 36 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ The training model is based on transfer learning and the training is done in [Go
9999
100100
3. Build and run the app on your Android device or emulator.
101101
102+
OR--
103+
1. Download the [app-release.apk](https://github.com/SurajKRB/RepDetect/blob/sign_upload/release/app-release.apk) to Android phone
104+
2. Remember to "Allowing app installs from Unknown Sources in Android"
105+
102106
### Usage
103107
104108
1. Open the app on your Android device.

app/build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,19 @@ android {
2121

2222
buildTypes {
2323
release {
24-
minifyEnabled false
24+
// Enables code shrinking, obfuscation, and optimization for only
25+
// your project's release build type.
26+
minifyEnabled true
27+
// Enables resource shrinking, which is performed by the
28+
// Android Gradle plugin.
29+
shrinkResources true
30+
// Includes the default ProGuard rules files that are packaged with
31+
// the Android Gradle plugin.
2532
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
33+
debuggable false
34+
}
35+
debug {
36+
debuggable true
2637
}
2738
}
2839
compileOptions {

release/app-release.apk

57.5 MB
Binary file not shown.

release/output-metadata.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"version": 3,
3+
"artifactType": {
4+
"type": "APK",
5+
"kind": "Directory"
6+
},
7+
"applicationId": "com.example.poseexercise",
8+
"variantName": "release",
9+
"elements": [
10+
{
11+
"type": "SINGLE",
12+
"filters": [],
13+
"attributes": [],
14+
"versionCode": 1,
15+
"versionName": "1.0",
16+
"outputFile": "app-release.apk"
17+
}
18+
],
19+
"elementType": "File"
20+
}

0 commit comments

Comments
 (0)