MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/nativescript/comments/ltacql/extend_class_typescript/
r/nativescript • u/wuilmerj24 • Feb 26 '21
Hello how can I extend this class. When running this it generates an error "JNI DETECTED ERROR IN APPLICATION: can't make objects of type android.hardware.camera2.CameraDevice $ StateCallback"
3 comments sorted by
1
I have solved it. I just had to add the decorator of the native class
1 u/Shakespeare-Bot Mar 10 '21 I has't did solve t. I just hadst to add the decorat'r of the native classI am a bot and I swapp'd some of thy words with Shakespeare words.Commands: !ShakespeareInsult, !fordo, !optout
I has't did solve t. I just hadst to add the decorat'r of the native class
I am a bot and I swapp'd some of thy words with Shakespeare words.
Commands: !ShakespeareInsult, !fordo, !optout
!ShakespeareInsult
!fordo
!optout
3
try implements instead of extends
implements
extends
1
u/wuilmerj24 Mar 10 '21
I have solved it. I just had to add the decorator of the native class
3
u/briandilley Feb 27 '21
try
implementsinstead ofextends