-1

I get error while run project here is error

Information:Gradle tasks [clean, :app:generateDebugSources, :app:generateDebugAndroidTestSources, :citruslibrary:generateDebugSources, :citruslibrary:generateDebugAndroidTestSources, :library:generateDebugSources, :library:generateDebugAndroidTestSources, :payUMoneysdk:generateDebugSources, :payUMoneysdk:generateDebugAndroidTestSources, :viewPagerLib:generateDebugSources, :viewPagerLib:generateDebugAndroidTestSources]
Observed package id 'add-ons;addon-google_apis-google-19' in inconsistent location '/opt/android-sdk-linux/add-ons/addon-google_apis-google-19-1' (Expected '/opt/android-sdk-linux/add-ons/addon-google_apis-google-19')
Error:A problem occurred configuring project ':app'.
Cannot evaluate module payUMoneysdk : Configuration with name 'default' not found.

I am not able to understand, please help.

Janki Gadhiya
  • 4,492
  • 2
  • 29
  • 59
  • Have you tried, build->clean? – Urja Pawar Jun 02 '16 at 05:39
  • yes, but not working –  Jun 02 '16 at 05:40
  • post your build.gradle – Urja Pawar Jun 02 '16 at 05:45
  • // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' //classpath 'io.fabric.tools:gradle:1.+' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } –  Jun 02 '16 at 05:57
  • see the edit options under your post, and post the build.gradle(module:app) and save edits – Urja Pawar Jun 02 '16 at 06:01
  • @UrjaPawar - here is build.gradle(module:app) - https://www.dropbox.com/s/ljm33czjb26u7z8/build_gradle.txt?dl=0, pls check –  Jun 02 '16 at 06:04
  • Take a look here http://stackoverflow.com/questions/17234561/build-gradle-and-project-libs – Urja Pawar Jun 02 '16 at 06:07

1 Answers1

0

Its very simple, Go to you project - app--->payUMoneysdk---> .gitignore, open it and remove text written inside

Sanwal Singh
  • 1,765
  • 3
  • 17
  • 35