Voting: 
Vote up!
0 Votes
0 Replies
New

Android build failed with error "Could not find com.google.android.gms:play-services-maps:10.0.0.;" for visualizer

Question asked by Kaustav Ghosh on Jul 04, 2017 02:23 EDT

Hi, I am trying to build a kony app for native android,but the build fails.The console reads:

  • [exec] substituting a drive
  • [exec] Invalid parameter - A:
  • [echo] app-build.dir isC:\\Users\\KGhosh\\KonyVizWorkspace\\temp\\redi2pay\\build\\luaandroid/dist/redi2pay
  • [echo] isIncrementalBuild = false invoking clean build
  • [exec-shell] Observed package id add-ons;addon-google_apis-google-19 in inconsistent location H:\\android-sdk for visualizer7\\android-sdk\\add-ons\\addon-google_apis-google-19-1 (Expected H:\\android-sdk for visualizer7\\android-sdk\\add-ons\\addon-google_apis-google-19)
  • [exec-shell] Observed package id add-ons;addon-google_apis-google-19 in inconsistent location H:\\android-sdk for visualizer7\\android-sdk\\add-ons\\addon-google_apis-google-19-1 (Expected H:\\android-sdk for visualizer7\\android-sdk\\add-ons\\addon-google_apis-google-19)
  • [exec-shell]
  • [exec-shell] FAILURE: Build failed with an exception.
  • [exec-shell]
  • [exec-shell] - What went wrong:
  • [exec-shell] A problem occurred configuring root project redi2pay.
  • [exec-shell]
  • [exec-shell] BUILD FAILED
  • [exec-shell]
  • [exec-shell] Total time: 18.655 secs
  • [exec-shell] > Could not resolve all dependencies for configuration :_debugApkCopy.
  • [exec-shell] > Could not find com.google.android.gms:play-services-maps:10.0.0.
  • [exec-shell] Required by:
  • [exec-shell] :redi2pay:unspecified
  • [exec-shell]
  • [exec-shell] - Try:
  • [exec-shell] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  • exec-shell returned: 1
  • Ant build error=exec-shell returned: 1
  • exec-shell returned: 1
  • Package Generation failed for platform Android.
  • Build Generation Status
  • Android: Failed
  • Application [redi2pay] was built in offline mode and does not involve Service integration.
  • Total time taken: 67708 ms
  • <----------- Build Generation job is completed--------------->
As you can see the build fails with "Could not resolve all dependencies for configuration :_debugApkCopy." and "Could not find com.google.android.gms:play-services-maps:10.0.0.". Attached my android sdk setup and the version of visualizer I am using.Please help on a urgent basis.