Skip to content

Async_CompleteCallback is not abstract error when running npm run samples #475

Closed
@msaelices

Description

@msaelices

Version

2.2.1

Reproduction link

https://github.com/nativescript-vue/nativescript-vue/tree/master/samples

Platform and OS info

Android

Steps to reproduce

  • Clone the nativescript-vue repo
  • Run npm run dev in one terminal
  • Run npm run samples in another terminal, choosing some test and Android as the platform.

What is expected?

Running the sample app on Android.

What is actually happening?

This error:

Gradle build...
         + setting applicationId
         + applying user-defined configuration from /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/app/App_Resources/Android/app.gradle
         + adding nativescript runtime package dependency: nativescript-optimized-with-inspector
         + adding aar plugin dependency: /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/node_modules/nativescript-socketio/platforms/android/fancylogger-release.aar
         + adding aar plugin dependency: /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/node_modules/nativescript-ui-gauge/platforms/android/TNSGauge-release.aar
         + adding aar plugin dependency: /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/node_modules/nativescript-ui-sidedrawer/platforms/android/TNSSideDrawer-release.aar
         + adding aar plugin dependency: /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/node_modules/nativescript-ui-core/platforms/android/TNSCore-release.aar
         + adding aar plugin dependency: /Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
(node:73646) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
/Users/manuelsaelices/src/nativescript-repos/nativescript-vue/samples/platforms/android/app/src/main/java/com/tns/gen/org/nativescript/widgets/Async_CompleteCallback.java:8: error: Async_CompleteCallback is not abstract and does not override abstract method onError(String,Object) in CompleteCallback
public class Async_CompleteCallback implements org.nativescript.widgets.Async.CompleteCallback {
       ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

FAILURE: Build failed with an exception.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions