android-dts-generator
android-dts-generator copied to clipboard
Invalid byte tag in constant pool: 19
Hello friends , I am getting following error while generating typings.
java -jar build/libs/dts-generator.jar -input ../jars/opencv-platform-4.0.1-1.5.jar
Android d.ts Generator Version : 2.0.0
Exception in thread "main" org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19
at org.apache.bcel.classfile.Constant.readConstant(Constant.java:161)
at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:69)
at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:235)
at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:143)
at com.telerik.dts.JarFile.readJar(JarFile.java:45)
at com.telerik.dts.Generator.loadJavaClasses(Generator.java:98)
at com.telerik.dts.Generator.start(Generator.java:38)
at com.telerik.Main.main(Main.java:37)
@govi2010 I just ran into this same error. Make any progress resolving it?
No.
Any Update on this.? I am facing same Issue while building my Project
@EddyVerbruggen Can You help us in This.?
@govi2010 Have you got any solution.?
@akshaydoiphode where do you get opencv-platform-4.0.1-1.5.jar from?
nevermind I found it
can you try again with the latest version
Latest version mean.? Actually My all projects are donwith nativescript 4 and I installed Nativescript 4, JDK 9 and Node JS 8 and I tried building my projec.
Do you have any solution on "Invalid Byte Tag in Contant Pool:19" Issue.?
Thanks and Regards,
On Thu, 10 Oct 2019 at 07:47, Vasil Trifonov [email protected] wrote:
can you try again with the latest version
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQFQN3D2PHH4UNW33ADQN457VA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4T7HI#issuecomment-540622749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQFKPJGRMMVGGRPHUATQN457VANCNFSM4H422I2Q .
-- Thanks & Regards, Akshay Ajit Doiphode. +91-9970571398.
How are you starting the android-dts-generator?
I am not getting your point. What are you talking about?
On Fri, 11 Oct 2019 at 21:39, Vasil Trifonov [email protected] wrote:
How are you starting the android-dts-generator?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQEXK4TWO7ZYAEBVR43QOCQKDA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAO6NY#issuecomment-541126455, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQDJYHT4QO2NGFLTZS3QOCQKDANCNFSM4H422I2Q .
-- Thanks & Regards, Akshay Ajit Doiphode. +91-9970571398.
You’ve got this error while building your nativescript project for android with ‘tns build android’? And you are using nativescript 4.0?
Yes, I am using nativscript 4 and I am getting error while 'tns run android'
On Sat, Oct 12, 2019, 5:25 PM Vasil Trifonov [email protected] wrote:
You’ve got this error while building your nativescript project for android with ‘tns build android’ ? And you are using nativescript 4.0?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NativeScript/android-dts-generator/issues/47?email_source=notifications&email_token=AHDEAQC73URWKMOGCPE2433QOG3MTA5CNFSM4H422I22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBB5WMY#issuecomment-541317939, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHDEAQC7GR67HITCIO7SV5LQOG3MTANCNFSM4H422I2Q .