Code Monkey home page Code Monkey logo

Comments (8)

uKL avatar uKL commented on July 30, 2024

Hey, are you using proguard?

from rxandroidble.

mzgreen avatar mzgreen commented on July 30, 2024

@SkaveRat could you provide information about your device and Android version?

from rxandroidble.

SkaveRat avatar SkaveRat commented on July 30, 2024

@uKL no

@mzgreen BlackPhone2 with 5.1.1, Kernel 3.10.49.

Can later try with a different phone

from rxandroidble.

SkaveRat avatar SkaveRat commented on July 30, 2024

Other devices have the same problem.

After playing around some more, it appears that retrolambda is a required dependency.
Changed around a lot of stuff, but only after adding retrolambda it finally worked:

# app/build.gradle

apply plugin: 'me.tatarka.retrolambda'


buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath 'me.tatarka:gradle-retrolambda:3.2.5'
    }
}

from rxandroidble.

uKL avatar uKL commented on July 30, 2024

Hmm, what is your compile sdk, target, min sdk, build tools version and java version in gradle?

from rxandroidble.

SkaveRat avatar SkaveRat commented on July 30, 2024

I've tried pretty much any combination.

The versions I was on while discovering the retrolambda solutions were compile/build 23, min 18 and I think java 1.7.

After it worked, I upgraded successfully to the following:
compile: 24
buildtools: 24
minSdk: 18
Java: 1.8

As soon as I remove retrolambda from these settings, the SDK tells me to enable Jack (which I also tried unsuccessfully)

Today my phone updated to 6.0.1, so that should be considered, if I should test other things

from rxandroidble.

lavenj avatar lavenj commented on July 30, 2024

@uKL love this project, but it seems like it's tied to RetroLambda. Any chance/timeline for Jack compatibility?

from rxandroidble.

dariuszseweryn avatar dariuszseweryn commented on July 30, 2024

Version 1.2.0-SNAPSHOT is now compatible with Jack.

from rxandroidble.

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.