Giter Club home page Giter Club logo

jellyfin-android's Introduction

Jellyfin Mobile

Part of the Jellyfin Project

Jellyfin Mobile is an Android app built with Cordova.

Build Process

Getting Started

  1. Clone or download this repository.
    git clone https://github.com/jellyfin/jellyfin-android.git
    cd jellyfin-android
    git submodule update --init --recursive --remote
  2. Install Cordova and other build dependencies via npm in the project directory.
    npm install
  3. Prepare the Cordova platforms.
    npx cordova prepare

Prepare Interface

If any changes are made to src/, the www/ directory will need to be rebuilt using the following command.

npx gulp

If NODE_ENV=development is set in the environment, then the source files will be copied without being minified.

Build APK

You can use the -d flag if you want to build a debug version. A release version will need to be signed before it will run.

npx cordova build android

Deploy to Emulator

npx cordova run android

Troubleshooting

Failed to find ANDROID_HOME

Cordova needs that environment vairable set to the location of your Android SDK to build the app. If you are using linux it will be somewhere in your home directory.

Command failed with exit code EACCES

Android Studio will write over gradlew occasionally but doesn't set it as executable. Go to platforms/android and set that file as executable to fix the build for Cordova.

File not Found index.html

Make sure the web source has been properly copied to www using gulp. If you are using Android Studio you have to build with cordova at least once so the files are copied into the android source files.

jellyfin-android's People

Contributors

andi-bz avatar angelblue05 avatar anthonylavado avatar dependabot[bot] avatar dkanada avatar ebr11 avatar froghut avatar grafixeyehero avatar joshuaboniface avatar justaman avatar lukepulverenti avatar matt07211 avatar nvllsvm avatar onny avatar rijul-a avatar theorangepotato avatar thetedadams avatar thornbill avatar vitorsemeano avatar

Watchers

 avatar

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.