★ wanayoo — archive 1999 https://github.com/NativeScript/android-runtime/issues/1571Nouvelle recherche | Portail wanayoo
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

Using Android KTX is causing NativeScript app to crash #1571

Closed
NickIliev opened this issue Jan 31, 2020 · 2 comments
Closed

Using Android KTX is causing NativeScript app to crash #1571

NickIliev opened this issue Jan 31, 2020 · 2 comments
Assignees
Milestone

Comments

@NickIliev
Copy link
Member

@NickIliev NickIliev commented Jan 31, 2020

Using the following:

implementation 'androidx.core:core-ktx:1.0.2'

Is causing errors of type

01-31 11:03:05.902 28366 28366 D AndroidRuntime: Shutting down VM
01-31 11:03:05.903 28366 28366 E AndroidRuntime: FATAL EXCEPTION: main
01-31 11:03:05.903 28366 28366 E AndroidRuntime: Process: org.nativescript.t1451671, PID: 28366
01-31 11:03:05.903 28366 28366 E AndroidRuntime: com.tns.NativeScriptException: Calling js method onViewAttachedToWindow failed
01-31 11:03:05.903 28366 28366 E AndroidRuntime: Error: java.lang.NoSuchMethodError: no static method "Landroid/animation/Animator;.addListener(Landroid/animation/Animator$AnimatorListener;)V"

Steps to reproduce:

  • Create a template app
  • Use the above Android KTX dependency in app.gradle
  • Build and run
@NickIliev
Copy link
Member Author

@NickIliev NickIliev commented Jan 31, 2020

Reported via t.1451740

@vmutafov vmutafov self-assigned this Feb 3, 2020
@vmutafov
Copy link
Contributor

@vmutafov vmutafov commented Feb 3, 2020

I'll look into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.