Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Incompatibility issues with Android Studio #13

Open
1 task done
KunalGehlot opened this issue Feb 27, 2018 · 0 comments
Open
1 task done

Incompatibility issues with Android Studio #13

KunalGehlot opened this issue Feb 27, 2018 · 0 comments

Comments

@KunalGehlot
Copy link

KunalGehlot commented Feb 27, 2018

Prerequisites

  • Put an X between the brackets on this line if you have done all of the following:
    • My beacons have Estimote Location packet enabled (Check it in the Estimote Cloud, or via app)
    • My Android device/devices supports BLE and has Android OS version >= 5.0.0
    • My Android device/devices have bluetooth enabled
    • My app has Location Permissions granted

Basic information

Estimote SDK version:** [2.1.0]

Description

I'm trying to run the example app on Android Studio 3.0.1, but facing a problem where it says

Error:Could not find method compile() for arguments [com.estimote:indoorsdk:2.1.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Consult IDE log for more details (Help | Show Log)

in the Gradle scripts and in indoorapp\build.gradle it says similar thing

Error:(11, 1) A problem occurred evaluating project ':app'.
> Could not find method compile() for arguments [com.estimote:indoorsdk:2.1.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Though I'm unable to open the log, at least I don't know how to, when I right click on the error and click jump to source, it puts me on the line

dependencies {
    compile 'com.estimote:indoorsdk:2.1.0'
}

Steps to reproduce:

  1. Download the files as zip
  2. Open in Android Studio either by clicking "open existing project" or "import project"
  3. open build.gradle and try to compile

Expected behavior: It should just compile and run on my android emulator (Pixel 2 with Oreo)

Actual behavior: It shows the compile error

(Optional) Additional information

Here's the log file -
idea.log

capture

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant