Skip to content

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

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

Closed
msaelices opened this issue Apr 9, 2019 · 2 comments
Closed

Comments

@msaelices
Copy link

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.
@msaelices
Copy link
Author

This issue is related to NativeScript/android#1329

@nativescript-vue-bot
Copy link
Collaborator

We are locking this issue because it has been closed for more than 14 days.

If the issue comes up again please open a new issue with additional details.

@nativescript-vue nativescript-vue locked as resolved and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

2 participants