DEV Community

Cover image for Build Native Android Java/XML Apps Without Android Studio
Nagodip
Nagodip

Posted on

Build Native Android Java/XML Apps Without Android Studio

I built Oviora Builder: a lightweight native Android Java/XML CLI builder

Android Studio is powerful, but for many beginners it is also heavy.

If you are using a low-spec PC, Android Studio can become slow before you even start building your first app. Indexing, Gradle sync, emulator setup, and the deep Android folder structure can make native Android development feel difficult.

So I built Oviora Builder.

Oviora Builder is a lightweight command-line tool for creating real native Android Java/XML projects without opening the Android Studio GUI.

Website: https://oviora-builder.netlify.app/
NPM: https://www.npmjs.com/package/oviora-builder
GitHub: https://github.com/nagodip7-sys/oviora-builder


What is Oviora Builder?

Oviora Builder is a Node.js CLI tool that creates and manages native Android projects.

It uses:

  • Java
  • XML layouts
  • Android SDK
  • Gradle
  • ADB

It creates a real Android project, builds the APK, installs it on a connected Android phone, and launches the app.

It is not a WebView builder.

It is not Cordova.
It is not Capacitor.
It is not Flutter.
It is not React Native.

It generates real native Android Java/XML project files.


Install

npm install -g oviora-builder
Enter fullscreen mode Exit fullscreen mode

Create your first app

oviora create MyApp
cd MyApp
oviora br
Enter fullscreen mode Exit fullscreen mode

That single oviora br command will:

  1. Sync your beginner workspace
  2. Build the debug APK
  3. Install it on your connected Android phone
  4. Launch the app

Why I built it

A normal native Android project has folders like this:

app/src/main/java/...
app/src/main/res/layout/...
app/src/main/res/drawable/...
app/src/main/AndroidManifest.xml
Enter fullscreen mode Exit fullscreen mode

For beginners, this can feel complex.

Oviora Builder gives a simpler workspace:

oviora/
  layout/
  java/
  images/
  firebase/
Enter fullscreen mode Exit fullscreen mode

The beginner edits files inside oviora/.

The builder syncs them into the real Android project automatically.

So you get the simplicity of a beginner workspace while still keeping the output native.


The main idea

Android Studio is a full IDE.

Oviora Builder is not trying to replace all of Android Studio.

The goal is different:

Make native Android Java/XML development easier for beginners and possible on low-spec PCs.

It removes the heavy IDE layer but keeps the native Android build system.


Comparison

Tool Language Output
React Native JavaScript / TypeScript Native UI through JS bridge
Flutter Dart Skia-rendered UI
Cordova / Capacitor HTML / CSS / JS WebView wrapper
Android Studio Java / Kotlin + XML / Compose Native Android
Oviora Builder Java + XML Native Android

Oviora Builder is focused on one specific use case:

native Java/XML Android apps from a simple CLI workflow.


Current commands

oviora
oviora doctor
oviora create MyApp
oviora sync
oviora build
oviora run
oviora br
Enter fullscreen mode Exit fullscreen mode

oviora doctor

Checks your system:

oviora doctor
Enter fullscreen mode Exit fullscreen mode

It checks tools like:

  • Node.js
  • npm
  • Java
  • ADB
  • Gradle

oviora create

Creates a new Android project:

oviora create MyApp
Enter fullscreen mode Exit fullscreen mode

oviora br

Build + run shortcut:

oviora br
Enter fullscreen mode Exit fullscreen mode

This is the main beginner command.


Example workflow

npm install -g oviora-builder
oviora doctor
oviora create MyFirstApp
cd MyFirstApp
oviora br
Enter fullscreen mode Exit fullscreen mode

After that, edit files inside:

oviora/layout/
oviora/java/
oviora/images/
Enter fullscreen mode Exit fullscreen mode

Then run again:

oviora br
Enter fullscreen mode Exit fullscreen mode

Who is this for?

Oviora Builder is useful for:

  • Beginners learning Android development
  • Students with low-spec laptops
  • Developers who want native Java/XML output
  • People who do not want WebView-based apps
  • People who want to build and install APKs from the terminal

Current status

Current version:

v0.1.0
Enter fullscreen mode Exit fullscreen mode

Working:

  • Project creation
  • Workspace generation
  • Java/XML native project structure
  • APK debug build
  • APK install using ADB
  • App launch on connected phone
  • Basic error helper
  • NPM global install

NPM package:

npm install -g oviora-builder
Enter fullscreen mode Exit fullscreen mode

Current limitations

Oviora Builder is still early.

Current v0.1 does not yet include:

  • Automatic Android SDK installation
  • Automatic JDK installation
  • Release APK signing
  • AAB generation
  • Plugin system
  • Visual XML designer
  • Auto camera/microphone generators

The current goal is simple:

Create → Sync → Build → Install → Launch
Enter fullscreen mode Exit fullscreen mode

Why this matters

Many beginner developers want to build Android apps, but their machines cannot comfortably run Android Studio.

A lightweight CLI can make the first step easier.

Oviora Builder keeps the output native, but makes the workflow simpler.

oviora create MyApp
cd MyApp
oviora br
Enter fullscreen mode Exit fullscreen mode

That is the main idea.


Links

Website: https://oviora-builder.netlify.app/
NPM: https://www.npmjs.com/package/oviora-builder
GitHub: https://github.com/nagodip7-sys/oviora-builder

If you try it, feedback is welcome.

Top comments (0)