Jellyfin Mobile is an Android app built with Cordova.
- Clone or download this repository.
git clone https://github.com/jellyfin/jellyfin-android.git cd jellyfin-android git submodule update --init --recursive
- Install Cordova and other build dependencies via npm in the project directory.
- Prepare the Cordova platforms.
npx cordova prepare
If any changes are made to
www/ directory will need to be rebuilt using the following command.
NODE_ENV=developmentis set in the environment, then the source files will be copied without being minified.
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
Failed to find
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
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.