This repository was archived by the owner on Jul 13, 2019. It is now read-only.
This repository was archived by the owner on Jul 13, 2019. It is now read-only.
nativescript v2.4 + android support v25.1.0 ClassNotFoundError #16
Closed
Description
Hi,
Just try to upgrade the application to latest nativescript, seems like the plugin break the static binding generation. I'm not sure if this is an issue of the plugin or of the nativescript runtime.
I'm getting this exception:
:asbg:generateBindings
java.lang.IllegalArgumentException: clazz is null
at org.nativescript.staticbindinggenerator.ClassInfo.<init>(ClassInfo.java:25)
at org.nativescript.staticbindinggenerator.ClassInfo.<init>(ClassInfo.java:20)
at org.nativescript.staticbindinggenerator.ClassInfo.<init>(ClassInfo.java:20)
at org.nativescript.staticbindinggenerator.ClassInfo.getSuperclass(ClassInfo.java:132)
at com.tns.bindings.Dump.isApplicationClass(Dump.java:626)
at com.tns.bindings.Dump.getSupportedMethods(Dump.java:323)
at com.tns.bindings.Dump.generateProxy(Dump.java:211)
at com.tns.bindings.ProxyGenerator.generateProxy(ProxyGenerator.java:36)
at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:87)
at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)
After hours of trying to figure out what the problem is I tried to remove the plugin and the build did well.
I have found a workaround, changing "android.support" to "com.android.support" (either in this plugin sourcecode, or at the bindings.txt of the ASBG).
Shay
Metadata
Metadata
Assignees
Labels
No labels