GnuCash Pocket is a companion expense-tracker application for GnuCash (desktop) designed for Android. It allows you to record transactions on-the-go and later import the data into GnuCash for the desktop.
This app is a continuation of codinguser's "Gnucash for Android", which is already abandoned.
Accounts | Transactions | Reports |
---|---|---|
The application supports Android 5 Lollipop (API level 21) and above.
Features include:
There are different ways to get the GnuCash Pocket app for Android – through the app store, from GitHub or by building it yourself.
Download the .apk from Releases. Alternatively you can check latest CI Build action.
This project requires the Android SDK to be installed in your development environment. In addition you'll need to set the ANDROID_HOME
environment variable to the location of your SDK. For example:
export ANDROID_HOME=/home/<user>/tools/android-sdk
After satisfying those requirements, the build is pretty simple:
./gradlew build installDevelopmentDebug
from the within the project folder. It will build the project for you and install it to the connected Android device or running emulator.The app is configured to allow you to install a development and production version in parallel on your device.
The easiest way to build is to install Android Studio v2.+ with Gradle v3.4.1. Once installed, then you can import the project into Android Studio:
File
build.gradle
under the project directoryOK
Then, Gradle will do everything for you.
However, this project uses Firebase and therefore relies on a google-services.json
configuration file. This file is not included in this repo and every contributor is encouraged to generate its own.
When importing the project in Android Studio the build task will fail with the following error:
org.gradle.api.GradleException: File google-services.json is missing. The Google Services Plugin cannot function without it.
or something similar depending on the Android Studio version you're using.
In order to generate a google-services.json
configuration file follow these steps (Note: it requires a Google account):
org.gnucash.android
.google-services.json
file.You can also follow these instructions.
GitHub Issues
There are several ways you could contribute to the development.
Pull requests are always welcome! You could contribute code by fixing bugs, adding new features or automated tests. Take a look at the bug tracker for ideas where to start. It is also preferable to target issues in the current milestone.
Make sure to read our contribution guidelines before starting to code.
Another way to contribute is by providing translations for languages, or improving translations. The original app by codinguser was translated on CrowdIn
For development, it is recommended to use the Android Studio for development which is available for free. Import the project into the IDE using the build.gradle file. The IDE will resolve dependencies automatically.
GnuCash Pocket is free software; you can redistribute it and/or modify it under the terms of the Apache license, version 2.0. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.