Git Product home page Git Product logo

Comments (10)

Lezh1k avatar Lezh1k commented on July 18, 2024

Hello. Try to change build file. Actual version of library is 13

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

0.1.13 I mean

from mad-location-manager.

Gabriel0402 avatar Gabriel0402 commented on July 18, 2024

Still got the error: Could not find method compile() for arguments [com.github.maddevsio:mad-location-manager:0.1.13] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Here's the build file:

buildscript {
    
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.3'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}


allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    compile 'com.github.maddevsio:mad-location-manager:0.1.13'
}

But could build by importing the library:
settings: include ':app',':madlocationmanager'
build: api project(path: ':madlocationmanager')

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

Try replace "compile" with "implementation". Maybe you have newest version of android studio and gradle . (compile is deprecated as I know)

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

@Gabriel0402 any progress here? )))

from mad-location-manager.

Gabriel0402 avatar Gabriel0402 commented on July 18, 2024

tried implementation, still the same error here.

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

What's your environment? I mean java version, studio version, OS etc. :)
I just can't reproduce so I think it's somehow related to that stuff

from mad-location-manager.

Gabriel0402 avatar Gabriel0402 commented on July 18, 2024

I'm using java 8,
Android Studio 3.1.3
Build #AI-173.4819257, built on June 4, 2018
JRE: 1.8.0_152-release-1024-b01 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
and I tried both mac and windows 10, neither works.

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

Ok, let me try to reproduce it on mac.

from mad-location-manager.

Lezh1k avatar Lezh1k commented on July 18, 2024

can't reproduce.

from mad-location-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.