Recipes Assistant
This project has the purpose to understand and learn about Android Actions and Slices.
Installation
Clone this repository and import into Android Studio
git clone https://github.com/anacoimbrag/recipes-assistant.git
Pre-requisites:
- Android Version 5.0 Lollipop
- Android SDK 29
- Android Studio 3.2+
Configuration
Keystores:
Create app/keystore.gradle
with the following info:
ext.key_alias='...'
ext.key_password='...'
ext.store_password='...'
And place keystores file under app/keystores/
directory:
<keyname>.jks
Build variants
Use the Android Studio Build Variants button debug and release build types
Build APK
Generating signed build from Android Studio
- Build menu
- Generate Signed APK...
- If you are generating a build for publish choose App Bundle, if is for sending a build for installing directly on device choose APK
- Fill in the keystore information (you only need to do this once manually and then let Android Studio remember it)
Build from command line
Build debug APK
To build a debug APK, open a command line and navigate to the root of your project directory—from Android Studio, select View > Tool Windows > Terminal. To initiate a debug build, invoke the assembleDebug task:
gradlew assembleDebug
This creates an APK named module_name-debug.apk in project_name/module_name/build/outputs/apk/. The file is already signed with the debug key and aligned with zipalign, so you can immediately install it on a device.
Or to build the APK and immediately install it on a running emulator or connected device, instead invoke installDebug
gradlew installDebug
Build a release APK
When you're ready to release and distribute your app, you must build a release APK that is signed with your private key. If you don't have a private key or need help, see Sign Your App.
For more information checkout Android Developer Documentation