android - importing ShowcaseView with gradle -


I'm trying to use the ShowcaseView project in my app, but can not get to create the project.

When I run 'gradle clean installDebug', I get the following error:

  There was a problem evaluating the root problem 'how-it-going' The method for logic can not be found [project: 'showcase'] root project 'how-it-is-running' I'm using gradle 1.11 and Android Studio 0.54.  

I downloaded the source, and imported the project using the file - & gt; Import module - & gt; ShowcaseView - which makes up my project structure:

- Project
--app
- Showcase view

My settings. Gradle file looks like this:

  Include: 'app', 'ShowcaseView'   


and build my project level .gradle I have the following:

  Dependency {Compilation Project (': ShowcaseView'}}   

Any help with this properly included will be highly appreciated Thank you.

I recently created a ShowcaseView in an Android studio project, and I hope this can push you in the right direction.

My file structure looks something like this:

  • Project
    • App
      • build.gradle
      • Library
        • Display
        • build.gradle
        • settings.gradle < / Ul
          1. Add files to ShowcaseView in the Showcase directory in the libraries directory.

          2. Add Showcase Directory as a module for your project.

          3. Change your app's build.gradle file to include:

              Dependency {Collection project ( ': Library: Display')}    
          4. To include your settings.gradle :

            < Code> Include: 'Libraries: Showcase'

          5. Sync Project with Gradual Files

            This Depends on the matter that if you have any problems, then it is more detailed, but this method works for any library The Minister.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -