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

Task :vpnLib:compileUiDebugAidl FAILED #50

Open
Amoyens1s opened this issue May 6, 2023 · 15 comments
Open

Task :vpnLib:compileUiDebugAidl FAILED #50

Amoyens1s opened this issue May 6, 2023 · 15 comments
Labels
bug Something isn't working

Comments

@Amoyens1s
Copy link

Bug description:
Task :vpnLib:compileUiDebugAidl FAILED

To Reproduce:
yarn add react-native-simple-openvpn
add config to setting.gradle, and then run
yarn android
got this error

Screenshots/Videos:
image

Environment:

  • OS: windows 10
  • OS version: 22H2
  • react-native version: 0.71.7
  • react-native-simple-openvpn version: 2.1.0
@Amoyens1s Amoyens1s added the bug Something isn't working label May 6, 2023
@xiaozhang0532
Copy link

+1

@xiaozhang0532
Copy link

@Amoyens1s do you find out the issues?

@Amoyens1s
Copy link
Author

@Amoyens1s do you find out the issues?

nope, still got this.

@Intarial
Copy link

@Amoyens1s, have you not bypassed this error yet? Maybe you replaced the library or what did you do?

@ccnnde
Copy link
Owner

ccnnde commented Jun 19, 2023

I cannot reproduce the issue on my Mac

@samovolkin-ms
Copy link

This issue happened on Windows while on Mac it works fine without failures.

For me, downgrading buildToolsVersion from 33.0.0 to 22.1.4 worked. Go to android/build.gradle – you'll see buildToolsVersion there.

Although, I'm not sure if it's the best solution but at least it runs now. Probably downgrading to other versions will work too.

@umeraziz619
Copy link

thanks works

@LynxSumit
Copy link

not worked for me .. can you specify which versions to downgrade ??????

@JoshMerlino
Copy link

Add this to your main build.gradle No need to downgrade packages

buildscript {
// ...
    ext {
        // ...
        kotlinVersion = findProperty('android.kotlinVersion') ?: '1.8.10'

    }

    dependencies {
        // ...
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
    }
}

@LynxSumit
Copy link

Add this to your main build.gradle No need to downgrade packages

buildscript {
// ...
    ext {
        // ...
        kotlinVersion = findProperty('android.kotlinVersion') ?: '1.8.10'

    }

    dependencies {
        // ...
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
    }
}

with expo ?

@JoshMerlino
Copy link

Add this to your main build.gradle No need to downgrade packages

buildscript {
// ...
    ext {
        // ...
        kotlinVersion = findProperty('android.kotlinVersion') ?: '1.8.10'

    }

    dependencies {
        // ...
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
    }
}

with expo ?

Yes

@LynxSumit
Copy link

LynxSumit commented Jan 17, 2024

In last build failed with this error :

Execution failed for task ':vpnLib:compileUiDebugKotlin'.

> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

@JoshMerlino
Copy link

JoshMerlino commented Jan 17, 2024

In last build failed with this error :

Execution failed for task ':vpnLib:compileUiDebugKotlin'.

> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction

Already looking into this. It builds fine on both my windows and linux machines, but fails with that error on EAS.

I got some more specific info about whats failing on EAS

Task :vpnLib:compileUiDebugKotlin FAILED
e: file:https:///home/expo/workingdir/build/node_modules/react-native-simple-openvpn/vpnLib/src/ui/java/de/blinkt/openvpn/fragments/Utils.kt:38:9 'when' expression must be exhaustive, add necessary 'null' branch or 'else' branch instead

Possibly mismatching versions of Kotlin? (im brand new to native dev btw)

@ShadowEmperorYT
Copy link

Anyone got any fix for this i am getting this error

> Task :vpnLib:compileUiDebugJavaWithJavac

> Task :vpnLib:compileUiDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
43 actionable tasks: 5 executed, 38 up-to-date

info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor

D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\activities\DisconnectVPN.java:20: error: cannot find symbol
import de.blinkt.openvpn.core.IOpenVPNServiceInternal;
                             ^
  symbol:   class IOpenVPNServiceInternal
  location: package de.blinkt.openvpn.core
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\activities\DisconnectVPN.java:29: error: cannot find symbol
    private IOpenVPNServiceInternal mService;
            ^
  symbol:   class IOpenVPNServiceInternal
  location: class DisconnectVPN
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ConfirmDialog.java:40: error: cannot find symbol
import de.blinkt.openvpn.core.IOpenVPNServiceInternal;
                             ^
  symbol:   class IOpenVPNServiceInternal
  location: package de.blinkt.openvpn.core
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ConfirmDialog.java:58: error: cannot find symbol
    private IOpenVPNServiceInternal mService;
            ^
  symbol:   class IOpenVPNServiceInternal
  location: class ConfirmDialog
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:42: error: cannot find symbol
import de.blinkt.openvpn.core.IOpenVPNServiceInternal;
                             ^
  symbol:   class IOpenVPNServiceInternal
  location: package de.blinkt.openvpn.core
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:56: error: cannot find symbol
    final RemoteCallbackList<IOpenVPNStatusCallback> mCallbacks =
                             ^
  symbol:   class IOpenVPNStatusCallback
  location: class ExternalOpenVPNService
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:59: error: cannot find symbol
    private IOpenVPNServiceInternal mService;
            ^
  symbol:   class IOpenVPNServiceInternal
  location: class ExternalOpenVPNService
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:116: error: package IOpenVPNAPIService does not exist
    private final IOpenVPNAPIService.Stub mBinder = new IOpenVPNAPIService.Stub() {
                                    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:408: error: cannot find symbol
        private void sendUpdate(IOpenVPNStatusCallback broadcastItem,
                                ^
  symbol:   class IOpenVPNStatusCallback
  location: class OpenVPNServiceHandler
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\RemoteAction.java:20: error: cannot find symbol
import de.blinkt.openvpn.core.IOpenVPNServiceInternal;
                             ^
  symbol:   class IOpenVPNServiceInternal
  location: package de.blinkt.openvpn.core
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\RemoteAction.java:29: error: cannot find symbol
    private IOpenVPNServiceInternal mService;
            ^
  symbol:   class IOpenVPNServiceInternal
  location: class RemoteAction
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:22: error: cannot find symbol
import de.blinkt.openvpn.api.ExternalCertificateProvider;
                            ^
  symbol:   class ExternalCertificateProvider
  location: package de.blinkt.openvpn.api
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:248: error: cannot find symbol
        private final ExternalCertificateProvider service;
                      ^
  symbol:   class ExternalCertificateProvider
  location: class ExternalAuthProviderConnection
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:252: error: cannot find symbol
                                                 ExternalCertificateProvider service) {
                                                 ^
  symbol:   class ExternalCertificateProvider
  location: class ExternalAuthProviderConnection
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:263: error: cannot find symbol
        public ExternalCertificateProvider getService() {
               ^
  symbol:   class ExternalCertificateProvider
  location: class ExternalAuthProviderConnection
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:31: error: cannot find symbol
    private final IStatusCallbacks mCallback = new IStatusCallbacks.Stub() {
                  ^
  symbol:   class IStatusCallbacks
  location: class StatusListener
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:69: error: cannot find symbol
public class OpenVPNService extends VpnService implements StateListener, Callback, ByteCountListener, IOpenVPNServiceInternal {
                                                                                                      ^
  symbol: class IOpenVPNServiceInternal
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:37: error: cannot find symbol
    static final RemoteCallbackList<IStatusCallbacks> mCallbacks =
                                    ^
  symbol:   class IStatusCallbacks
  location: class OpenVPNStatusService
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:61: error: package IServiceStatus does not exist
    private static final IServiceStatus.Stub mBinder = new IServiceStatus.Stub() {
                                       ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:231: error: cannot find symbol
    private static void sendUpdate(IStatusCallbacks broadcastItem,
                                   ^
  symbol:   class IStatusCallbacks
  location: class OpenVPNStatusService
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\LaunchVPN.java:38: error: cannot find symbol
import de.blinkt.openvpn.core.IServiceStatus;
                             ^
  symbol:   class IServiceStatus
  location: package de.blinkt.openvpn.core
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\activities\DisconnectVPN.java:38: error: package IOpenVPNServiceInternal does not exist
            mService = IOpenVPNServiceInternal.Stub.asInterface(service);
                                              ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ConfirmDialog.java:63: error: package IOpenVPNServiceInternal does not exist
            mService = IOpenVPNServiceInternal.Stub.asInterface(service);
                                              ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:70: error: cannot find symbol
            mService = (IOpenVPNServiceInternal) (service);
                        ^
  symbol: class IOpenVPNServiceInternal
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:116: error: package IOpenVPNAPIService does not exist
    private final IOpenVPNAPIService.Stub mBinder = new IOpenVPNAPIService.Stub() {
                                                                          ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:278: error: cannot find symbol
        public void registerStatusCallback(IOpenVPNStatusCallback cb)
                                           ^
  symbol: class IOpenVPNStatusCallback
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:292: error: cannot find symbol
        public void unregisterStatusCallback(IOpenVPNStatusCallback cb)
                                             ^
  symbol: class IOpenVPNStatusCallback
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:118: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:156: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:167: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:199: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:204: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:210: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:235: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:243: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:256: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:266: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:277: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:291: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:300: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:307: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:314: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\ExternalOpenVPNService.java:384: error: cannot find symbol
            RemoteCallbackList<IOpenVPNStatusCallback> callbacks;
                               ^
  symbol:   class IOpenVPNStatusCallback
  location: class OpenVPNServiceHandler
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\api\RemoteAction.java:35: error: package IOpenVPNServiceInternal does not exist
            mService = IOpenVPNServiceInternal.Stub.asInterface(service);
                                              ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:120: error: cannot find symbol
            ExternalCertificateProvider externalAuthProvider = authProviderConnection.getService();
            ^
  symbol:   class ExternalCertificateProvider
  location: class ExtAuthHelper
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:142: error: cannot find symbol
            ExternalCertificateProvider externalAuthProvider = authProviderConnection.getService();
            ^
  symbol:   class ExternalCertificateProvider
  location: class ExtAuthHelper
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:160: error: cannot find symbol
            ExternalCertificateProvider externalAuthProvider = authProviderConnection.getService();
            ^
  symbol:   class ExternalCertificateProvider
  location: class ExtAuthHelper
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:196: error: cannot find symbol
        final BlockingQueue<ExternalCertificateProvider> q = new LinkedBlockingQueue<>(1);
                            ^
  symbol:   class ExternalCertificateProvider
  location: class ExtAuthHelper
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\ExtAuthHelper.java:205: error: package ExternalCertificateProvider does not exist
                        q.put(ExternalCertificateProvider.Stub.asInterface(service));
                                                         ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:31: error: package IStatusCallbacks does not exist
    private final IStatusCallbacks mCallback = new IStatusCallbacks.Stub() {
                                                                   ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:32: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:37: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:43: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:48: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:60: error: cannot find symbol
            IServiceStatus serviceStatus = IServiceStatus.Stub.asInterface(service);
            ^
  symbol: class IServiceStatus
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\StatusListener.java:60: error: package IServiceStatus does not exist
            IServiceStatus serviceStatus = IServiceStatus.Stub.asInterface(service);
                                                         ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:105: error: package IOpenVPNServiceInternal does not exist
    private final IBinder mBinder = new IOpenVPNServiceInternal.Stub() {
                                                               ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:107: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:112: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:117: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:122: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:127: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:133: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:192: error: method does not override or implement a method from a supertype
    @Override
    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:198: error: method does not override or implement a method from a supertype
    @Override
    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:204: error: method does not override or implement a method from a supertype
    @Override
    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:504: error: method does not override or implement a method from a supertype
    @Override
    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:732: error: method does not override or implement a method from a supertype
    @Override
    ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:61: error: package IServiceStatus does not exist
    private static final IServiceStatus.Stub mBinder = new IServiceStatus.Stub() {
                                                                         ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:64: error: cannot find symbol
        public ParcelFileDescriptor registerStatusCallback(IStatusCallbacks cb) throws RemoteException {
                                                           ^
  symbol: class IStatusCallbacks
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:112: error: cannot find symbol
        public void unregisterStatusCallback(IStatusCallbacks cb) throws RemoteException {
                                             ^
  symbol: class IStatusCallbacks
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:63: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:111: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:116: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:121: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:126: error: method does not override or implement a method from a supertype
        @Override
        ^
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:195: error: cannot find symbol
            RemoteCallbackList<IStatusCallbacks> callbacks;
                               ^
  symbol:   class IStatusCallbacks
  location: class OpenVPNStatusHandler
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\core\OpenVPNStatusService.java:204: error: cannot find symbol
                    IStatusCallbacks broadcastItem = callbacks.getBroadcastItem(i);
                    ^
  symbol:   class IStatusCallbacks
  location: class OpenVPNStatusHandler
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\LaunchVPN.java:99: error: cannot find symbol
            IServiceStatus service = IServiceStatus.Stub.asInterface(binder);
            ^
  symbol: class IServiceStatus
D:\Softwares\Proj\Venom\node_modules\react-native-simple-openvpn\vpnLib\src\main\java\de\blinkt\openvpn\LaunchVPN.java:99: error: package IServiceStatus does not exist
            IServiceStatus service = IServiceStatus.Stub.asInterface(binder);
                                                   ^
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.
80 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':vpnLib:compileUiDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.

BUILD FAILED in 9s
error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081

@ShadowEmperorYT
Copy link

@ccnnde please fix this. This is an error with windows i think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants