react-native-webrtc / react-native-webrtc/react-native-incall-manager

Library compile issue (Android)

Open
#234 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
597
Forks
201
Avg merge
2h 42m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read InCallProximityManager.java at line 51 and the Android build configuration that selects source 7. Reproduce the build failure, then verify the library builds without the reported lambda/source-level error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.