iNaturalistAndroid is an Android app for iNaturalist.org. If you'd like to contribute code, please check out Contributing Code to iNaturalist for general guidelines. If you'd like to contribute translations, please provide them through our Crowdin project (look for the strings.xml
file to work on the Android app).
- Make sure you have the latest Android Studio
- Download the iNaturalist source code and extract to a directory of your choosing
- Go to
iNaturalist/src/main/res/values
and copyconfig.example.xml
toconfig.xml
(and change its values to match your GMaps, FB, etc. keys) - Go to
iNaturalist/
and copygoogle-services.example.json
togoogle-services.json
. This contains stub values that will allow the app to build but won't connect to Firebase or other Google Services. - From Android Studio: File -> Open -> Choose the root directory of the downloaded source code
- Download and install Android NDK
- Make sure ANDROID_NDK_HOME environment variable points to the NDK root path.
- If on Mac: Make sure the above env variable is passed to Android Studio's gradle system: https://stackoverflow.com/a/30128305/1233767
- Clean & build