接入pushwoosh时出的问题,新人实在不知道怎么搞请高人指点
androidstudio吧
全部回复
仅看楼主
level 1
Executing tasks: [:generateDebugSources, :generateDebugAndroidTestSources, :mockableAndroidJar, :compileDebugAndroidTestSources, :compileDebugUnitTestSources, :compileDebugSources]
Configuration on demand is an incubating feature.
Configuration 'compile' in project ':' is deprecated. Use 'implementation' instead.
Observed package id 'build-tools;22.0.1' in inconsistent location 'C:\NVPACK\android-sdk-windows\build-tools\android-5.1' (Expected 'C:\NVPACK\android-sdk-windows\build-tools\22.0.1')
Could not find google-services.json while looking in [src/debug]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Could not find google-services.json while looking in [src/release]
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
:preBuild UP-TO-DATE
:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':debugCompileClasspath'.
> Could not find com.pushwoosh:pushwoosh:5.5.5.
Searched in the following locations:
file:/C:/NVPACK/android-sdk-windows/extras/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.pom
file:/C:/NVPACK/android-sdk-windows/extras/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.jar
file:/C:/NVPACK/android-sdk-windows/extras/google/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.pom
file:/C:/NVPACK/android-sdk-windows/extras/google/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.jar
file:/C:/NVPACK/android-sdk-windows/extras/android/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.pom
file:/C:/NVPACK/android-sdk-windows/extras/android/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.jar
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.pom
file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.jar
https://dl.google.com/dl/android/maven2/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.pom
https://dl.google.com/dl/android/maven2/com/pushwoosh/pushwoosh/5.5.5/pushwoosh-5.5.5.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed
2018年03月02日 07点03分 1
1