Repository navigation
BuildingFromSource
- Download Android SDK:
wget https://dl.google.com/android/repository/commandlinetools-linux-15859902_latest.zip
# exact number at bottom of https://developer.android.com/studio page
unzip commandlinetools-linux-15859902_latest.zip
./cmdline-tools/bin/android sdk install "platforms;android-37" "build-tools;37.0.0"- Get hacker's keyboard:
git clone https://github.com/AlainKnaff/hackerskeyboard- Compile it using included gradlew
cd hackerskeyboard
export ANDROID_HOME=$HOME/Android/Sdk
./gradlew assembleDebug
# assembleDebug, rather than build, because you don't have my release keysInstructions originally contributed by Christian Holm Christensen, thank you!
- Download Android Studio from https://developer.android.com/studio/
- Use the built-in tools to download the Android SDK
- Import the source code by selecting the downloaded source directory
- Add additional packages as prompted (includes Gradle and NDK)
Using dictionaries requires using the Android NDK for native code compilation in addition to the SDK. The application will work without that, just without spelling dictionaries. This may be sufficient if you're testing new layout or other patch, but if you want a fully working version you'll need to install the NDK too. Android Studio should prompt you to do so as part of the initial import / first build.
If you want to ignore local files, edit the .git/info/excludes file which is private to your repository. Don't edit the.gitignore file in your check-out directory since that is under version control and would cause conflicts for pull requests or merges. (Of course, if you want to intentionally make a change to the version controlled file, you can do so, but that should be a separate pull request from whatever else you're working on.)
Happy coding.