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

Error syntaxError during build #101

Open
fiather opened this issue Oct 12, 2023 · 0 comments
Open

Error syntaxError during build #101

fiather opened this issue Oct 12, 2023 · 0 comments

Comments

@fiather
Copy link

fiather commented Oct 12, 2023

error does not occur in m104_release, but error occurs in m114_release

SyntaxError: Inner class (MediaStreamTrack.MediaType) can not be used directly by JNI. Please import the outer class, probably:
import org.webrtc.MediaStreamTrack;

.gclient
solutions = [
{
"name": "src",
"url": "https://github.com/webrtc-sdk/webrtc.git@m114_release",
"deps_file": "DEPS",
"managed": False,
"custom_deps": {},
},
]
target_os = ["android", "unix"]

gn gen out/Debug --args='target_os="android" target_cpu="arm64"'
ninja -C out/Debug

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

1 participant