My project named “dar” had no problems in building till yesterday.
It stopped to build about now.
Then I’ve created new empty project “dar2”, then importing step-by-step all additional packages I use in main “dar” project. Every build was successful till I’ve add sdkbox import facebook
The build error from console:
> Task :dar2:preReleaseBuild FAILED
Resource missing. [HTTP GET: https://dl.google.com/dl/android/maven2/androidsdk/modules/shield/unspecified/shield-unspecified.pom]
Resource missing. [HTTP HEAD: https://dl.google.com/dl/android/maven2/androidsdk/modules/shield/unspecified/shield-unspecified.jar]
Resource missing. [HTTP GET: https://jcenter.bintray.com/androidsdk/modules/shield/unspecified/shield-unspecified.pom]
Resource missing. [HTTP HEAD: https://jcenter.bintray.com/androidsdk/modules/shield/unspecified/shield-unspecified.jar]
:dar2:preReleaseBuild (Thread[Task worker for ':',5,main]) completed. Took 1.597 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':dar2:releaseCompileClasspath'.
> Could not find androidsdk.modules:shield:unspecified.
Searched in the following locations:
file:/C:/Develop/Android/android-sdk/extras/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.pom
file:/C:/Develop/Android/android-sdk/extras/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.jar
file:/C:/Develop/Android/android-sdk/extras/google/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.pom
file:/C:/Develop/Android/android-sdk/extras/google/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.jar
file:/C:/Develop/Android/android-sdk/extras/android/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.pom
file:/C:/Develop/Android/android-sdk/extras/android/m2repository/androidsdk/modules/shield/unspecified/shield-unspecified.jar
https://dl.google.com/dl/android/maven2/androidsdk/modules/shield/unspecified/shield-unspecified.pom
https://dl.google.com/dl/android/maven2/androidsdk/modules/shield/unspecified/shield-unspecified.jar
https://jcenter.bintray.com/androidsdk/modules/shield/unspecified/shield-unspecified.pom
https://jcenter.bintray.com/androidsdk/modules/shield/unspecified/shield-unspecified.jar
Required by:
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-core:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-common:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-login:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-share:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-places:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-applinks:5.15.2
project :dar2 > com.facebook.android:facebook-android-sdk:5.15.2 > com.facebook.android:facebook-messenger:5.15.2
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
It stopped building just after facebook package was added.
The code is just empty project.
Any hint? Thank you.
Now I’ve checked my project two-days-old version: it successfully shares the screenshot via Facebook.