aboutsummaryrefslogtreecommitdiffhomepage
path: root/build-android/README.md
blob: 25932637e41dc231dd4296880c139f025a0f323e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### Binary ###

Download the latest [build for Android](http://d.etpan.org/mailcore2-deps/mailcore2-android/)

### Build for Android ###

```
$ export ANDROID_SDK=/path/to/android-sdk
$ export ANDROID_NDK=/path/to/android-ndk
$ cd build-android
$ ./build.sh
```

It will produce the following binaries:

- mailcore2-android-*version*.aar

### Running example ###

Copy the binary result of the build (ailcore2-android-*version*.aar) to `mailcore2/example/android/AndroidExample/app/libs`.

- Open the example in Android Studio
- Tweaks the login and password in the class `MessagesSyncManager`
- Then, run it.