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

Build Failed #8

Open
araa909 opened this issue Dec 20, 2022 · 0 comments
Open

Build Failed #8

araa909 opened this issue Dec 20, 2022 · 0 comments

Comments

@araa909
Copy link

araa909 commented Dec 20, 2022

I trying to build app but showing this error

be applied to given types;
boolean useOpenVPN3 = VpnProfile.doUseOpenVPN3(this);
^
required: no arguments
found: OpenVPNService
reason: actual and formal argument lists differ in length
D:\ali\nizvpn-master\android\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:839: error: method doUseOpenVPN3 in class VpnProfile cannot be applied to given types;
if (!VpnProfile.doUseOpenVPN3(this))
^
required: no arguments
found: OpenVPNService
reason: actual and formal argument lists differ in length
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':vpnLib:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 29s
Exception: Gradle task assembleDebug failed with exit code 1

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