Skip to content

BuildingFromSource

Klaus Weidner edited this page Dec 11, 2018 · 5 revisions

Instructions originally contributed by Christian Holm Christensen, thank you!

You can get the sources for the app from Github as usual.

Developing using Android Studio

  • 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.

Developing using Eclipse

Warning: The Eclipse IDE is no longer supported by Google. I've deleted the old instructions here since they are unlikely to work.

Other stuff

Make Git ignore some (generated) files

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.