-
Notifications
You must be signed in to change notification settings - Fork 24
Home
xloem edited this page Apr 6, 2020
·
8 revisions
Welcome to the OpenWatch-Android wiki!
How can we breathe new life into this app?
Please edit this to move it towards being clear steps.
- Uses SDK API 18, which is Android 4.3 Jelly Bean.
- Uses gradle 1.6
- gradle 1.6 uses plaintext HTTP connections to repo1.maven.org, which nowadays only accepts HTTPS connections. One solution is to wrap
openssl s_client -connect 151.101.248.209:443with asocatornetcatlistener on localhost port 80, and add to/etc/hosts(or equivalent hosts file) the line127.0.0.1 repo1.maven.org. This lets gradle 1.6 download dependencies via a local proxy. - Libraries are stored as submodules, so one must
git submodule update --init - The android support library is no longer part of the android SDK, so every
build.gradle, even in dependency libraries, needs these lines added:
allprojects {
repositories {
// For gradle 4.1+:
// google()
maven {
url 'https://maven.google.com'
}
}
}