bparmentier / WiFiKeyShare

Share Wi-Fi passwords with QR codes or NFC tags
https://wifikeysha.re
GNU General Public License v3.0
118 stars 40 forks source link

Travis build fails with "Could not find aapt2-proto.jar" #36

Closed bparmentier closed 5 years ago

bparmentier commented 5 years ago
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'WiFiKeyShare'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1).
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 22s
The command "./gradlew build" exited with 1.
bparmentier commented 5 years ago

According to https://stackoverflow.com/a/52945215/3997816, the order of the repo in /build.gradle matters. I'll try to put google() before jcenter().