Skip to content

๐ŸŽ€ CLI to create Android apps on Termux / Linux

Notifications You must be signed in to change notification settings

lipeedev/gendroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GenDroid

Create Android projects directly from your Termux or Linux without installing Android Studio.

Requirements

You need to have these tools installed

  • jdk 17+
  • gradle 7.6.3+
  • git
  • wget
  • unzip
  • java or kotlin

Installing

  1. Clone this repo
git clone https://github.com/lipeedev/gendroid.git
  1. Add to your path
mv gendroid ~/.local/share
export PATH=$PATH:~/.local/share/gendroid
  1. Install Android SDK if you do not have
gendroid install-sdk

If you are using termux, type "y" in "is your architecture aarch64?"

Using

You can create your projects using

gendroid create

App Name - Project Name

Group - Group Name (ex: com.lipe)

generate the APK using

./gradlew assemble

./gradlew assembleDebug

./gradlew assembleRelease

use assembleDebug during development

APK file is on app/build/outputs/apk/ folder

Setting up IDE

lvim.plugins = {
  "hsanson/vim-android"
}

Editing UI (mobile)

  • install LayoutEditor

  • make your Layout / Screen

  • export or copy xml generated code and put on res directory of your app