Skip to content

Commit

Permalink
Merge pull request #45 from SurajKRB/sign_upload
Browse files Browse the repository at this point in the history
App Signing, Building and Uploading
  • Loading branch information
chinguyen202 authored Dec 9, 2023
2 parents dae72d4 + acfd06d commit 007f6c0
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ The training model is based on transfer learning and the training is done in [Go
3. Build and run the app on your Android device or emulator.
OR--
1. Download the [app-release.apk](https://github.com/SurajKRB/RepDetect/blob/sign_upload/release/app-release.apk) to Android phone
2. Remember to "Allowing app installs from Unknown Sources in Android"
### Usage
1. Open the app on your Android device.
Expand Down
13 changes: 12 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,19 @@ android {

buildTypes {
release {
minifyEnabled false
// Enables code shrinking, obfuscation, and optimization for only
// your project's release build type.
minifyEnabled true
// Enables resource shrinking, which is performed by the
// Android Gradle plugin.
shrinkResources true
// Includes the default ProGuard rules files that are packaged with
// the Android Gradle plugin.
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
debuggable false
}
debug {
debuggable true
}
}
compileOptions {
Expand Down
Binary file added release/app-release.apk
Binary file not shown.
20 changes: 20 additions & 0 deletions release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.example.poseexercise",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}

0 comments on commit 007f6c0

Please sign in to comment.