LeandroSQ / android-ble-made-easy

An Android Library for handling Bluetooth Low Energy on Android Easy
MIT License
88 stars 29 forks source link

Unable to create main BLE instance #5

Closed trylaarsdam closed 3 years ago

trylaarsdam commented 3 years ago

I'm unable to create the main ble instance by using the code in the readme: val ble = BLE(activity = this) Android Studio cannot find the class and prompts me to create one instead of importing your library

I have the library imported in my app build.gradle: implementation 'com.github.LeandroSQ:android-ble-made-easy:v1.4.0'

and jitpack included in the maven repositories options: maven { url 'https://jitpack.io' }

Your library looks super simple and easy to integrate, so I'm hoping I don't have to switch away simply because I can't get it to install

trylaarsdam commented 3 years ago

I found the logs for the gradle sync, and it looks like it can't find the library on jitpac

Screen Shot 2021-10-14 at 5 31 52 PM
trylaarsdam commented 3 years ago

Got it installed, had jitpack included in my build.gradle for the project but not gradle.properties 🤦