Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library compile issue (Android) #234

Open
ghnsharma opened this issue Dec 11, 2023 · 5 comments
Open

Library compile issue (Android) #234

ghnsharma opened this issue Dec 11, 2023 · 5 comments

Comments

@ghnsharma
Copy link

error: InCallProximityManager.java:51: error: lambda expressions are not supported in -source 7
UiThreadUtil.runOnUiThread(() -> {
^
(use -source 8 or higher to enable lambda expressions)

FAILURE: Build failed with an exception.

I am getting this when trying to build the app on my android device. Any solutions?

@dinhduongson
Copy link

Me too

@fukemy
Copy link

fukemy commented Jan 30, 2024

use JAVA > 1.8

@viniciusmolina12
Copy link

Did you fix it?

@LongThV
Copy link

LongThV commented Mar 20, 2024

use JAVA > 1.8

I updated to java 11 but it still doesn't work

@fukemy
Copy link

fukemy commented Mar 20, 2024

use JAVA > 1.8

I updated to java 11 but it still doesn't work

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

add it into build.gradle app, inside android blockquote

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

No branches or pull requests

5 participants