Giter Site home page Giter Site logo

Comments (2)

dileep-gadiraju avatar dileep-gadiraju commented on July 21, 2024

from project-saral.

navin9584 avatar navin9584 commented on July 21, 2024

Android App Bundling Steps
1.Open Terminal in %FRONTEND_FOLDER%/SaralApp/android folder

./gradlew clean

  1. APK Signing can be enabled using the below Gradle files. Make sure the Keystore file is to be used for signing placed in FRONTEND_FOLDER%/SaralApp/android/app folder.

%FRONTEND_FOLDER%/SaralApp/android/gradle.properties

MYAPP_RELEASE_STORE_FILE=my-upload-key.keystore
MYAPP_RELEASE_STORE_PASSWORD=tarento@mis
MYAPP_RELEASE_KEY_ALIAS=hwrecog-key-alias
MYAPP_RELEASE_KEY_PASSWORD=tarento@mis

%FRONTEND_FOLDER%/SaralApp/android/app/build.gradle
Note: Make sure signingConfig signingConfigs.release line is uncommented.

signingConfigs {
release {
if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
storeFile file(MYAPP_RELEASE_STORE_FILE)
storePassword MYAPP_RELEASE_STORE_PASSWORD
keyAlias MYAPP_RELEASE_KEY_ALIAS
keyPassword MYAPP_RELEASE_KEY_PASSWORD
}
}
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}

buildTypes {
debug {
signingConfig signingConfigs.release
}
release {
signingConfig signingConfigs.release
debug {
debuggable true
}
}
}

  1. Open Terminal in %FRONTEND_FOLDER%/SaralApp/android folder
    ./gradlew bundleRelease

  2. You can find release .aab file in Project-Saral/v1.0/frontend/SaralApp/android/app/build/outputs/bundle/release folder.

upload on playstore steps

  1. got to google console by click on this link
    https://play.google.com/console/about/
  2. login with developer account
  3. required short discription of saral app
  4. required long discription of saral app
  5. required app icon
  6. required screenshots of app minimum 1 and maximum 8
  7. required one banner size image
  8. select the type of application
  9. add contact detail (optional)
  10. after all detail go to option publish your app on google play
  11. select app countries for publishing
  12. go to create new release and upload the AAB file
  13. click on review release
  14. click on start rollout to production

step to convert AAB file Into APK file
1 download java bundletool from
https://github.com/google/bundletool/releases
2 make a folder suppose name (saralapp) and put java bundletool, AAB file & keystore file in same folder
3 open command folder from saralapp folder
4 run this command :-

java -jar bundletool.jar build-apks --bundle=./app-release.aab --output=./universal.apks --ks=./hwrecog-upload-
key.keystore --ks-key-alias=hwrecog-key-alias --mode=universal
(make sure bundletool name , AAB file name , keystore file name , and alias name is correct)

5 give keystore password
6 Now universal zip file is generated in saralapp folder after extract it will be installed

from project-saral.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.