Travis: how to know android sdk/ndk path?
问题 My android project is built with Ant and i have to edit ant.properties manually file to pass sdk.path variable pointing to android sdk directory. i'm going to change it to get sdk path from environment variable to make build possible on Travis CI. What is android sdk variable for this? Also i have some jni code to be built with android ndk, so the similar question - what is env variable for android ndk on Travis? 回答1: Don't use the Travis's Android support; it uses the old 'android' CLI