Hi,
I just downloaded the latest release from August, now I have the following build error:
[proguard] Warning: com.steema.teechart.tools.SeriesBand$1: can't find referenced class org.w3c.dom.events.Event
[proguard] Warning: com.steema.teechart.tools.SeriesBand$2: can't find referenced class org.w3c.dom.events.Event
I do not have this error with the previous release.
Building for Android 4.0.3 API
What happened? How can I resolve this.
Right now I rolled back to the previous release.
thanks,
Android Build Error with Latest Release
-
- Newbie
- Posts: 21
- Joined: Tue Nov 15, 2011 12:00 am
Re: Android Build Error with Latest Release
Hi,
SeriesBand.java hasn't been changed between v3.2012.0202 and v3.2012.0808.
I've tried the code below in a simple testing project and it seems to work fine for me here. Could you please give it a try and tell us if it works fine for you?
If you still have problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Thanks in advance.
SeriesBand.java hasn't been changed between v3.2012.0202 and v3.2012.0808.
I've tried the code below in a simple testing project and it seems to work fine for me here. Could you please give it a try and tell us if it works fine for you?
Code: Select all
tChart1.getAspect().setView3D(false);
tChart1.getLegend().setVisible(false);
FastLine fastLine1 = new FastLine(tChart1.getChart());
fastLine1.fillSampleValues();
FastLine fastLine2 = new FastLine(tChart1.getChart());
fastLine2.fillSampleValues();
SeriesBand band1 = new SeriesBand(tChart1.getChart());
band1.setSeries(fastLine1);
band1.setSeries2(fastLine2);
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 21
- Joined: Tue Nov 15, 2011 12:00 am
Re: Android Build Error with Latest Release
Hi,
I'm sorry, I don't think i was very clear. The problem comes up when making a Release Build with Proguard enabled (not while in development). The issue seems to be with ProGuard (as usual) EG::
> ant release
.....
then the build fails with the following error:
[proguard] Warning: com.steema.teechart.tools.SeriesBand$1: can't find referenced class org.w3c.dom.events.Event
[proguard] Warning: com.steema.teechart.tools.SeriesBand$2: can't find referenced class org.w3c.dom.events.Event
I am currently unable to release using this version of TeeChart and has to revert back to the older version. I am currently building against Android 4.0.3 API
Regards,
I'm sorry, I don't think i was very clear. The problem comes up when making a Release Build with Proguard enabled (not while in development). The issue seems to be with ProGuard (as usual) EG::
> ant release
.....
then the build fails with the following error:
[proguard] Warning: com.steema.teechart.tools.SeriesBand$1: can't find referenced class org.w3c.dom.events.Event
[proguard] Warning: com.steema.teechart.tools.SeriesBand$2: can't find referenced class org.w3c.dom.events.Event
I am currently unable to release using this version of TeeChart and has to revert back to the older version. I am currently building against Android 4.0.3 API
Regards,
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Android Build Error with Latest Release
Hi froggyware,
Does the version work fine without ProGuard? Does the application work fine with ProGuard in spite of the warning message? If that's the case then you may want to look at some ProGuard warning suggestions: http://proguard.sourceforge.net/manual/ ... olvedclass searching for "can't find referenced class" there or related posts at StackOverflow:
http://stackoverflow.com/questions/8009 ... lass-scala
http://stackoverflow.com/questions/1258 ... nced-class
http://stackoverflow.com/questions/6974 ... nced-class
Thanks in advance.
Does the version work fine without ProGuard? Does the application work fine with ProGuard in spite of the warning message? If that's the case then you may want to look at some ProGuard warning suggestions: http://proguard.sourceforge.net/manual/ ... olvedclass searching for "can't find referenced class" there or related posts at StackOverflow:
http://stackoverflow.com/questions/8009 ... lass-scala
http://stackoverflow.com/questions/1258 ... nced-class
http://stackoverflow.com/questions/6974 ... nced-class
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 21
- Joined: Tue Nov 15, 2011 12:00 am
Re: Android Build Error with Latest Release
-dontwarn org.w3c.**
Fixed the problem.
thx
Fixed the problem.
thx
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Android Build Error with Latest Release
Hi froggyware,
Thanks for your feedback, I'm glad to hear that.
Thanks for your feedback, I'm glad to hear that.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 21
- Joined: Tue Nov 15, 2011 12:00 am
Re: Android Build Error with Latest Release
Hi,
After sometime I came back to this issue again.
Looking at the source code of SeriesBand. There is the following import
import org.w3c.dom.events.Event
This does not appear to be correct. Should it not be:
import com.steema.teechart.events.Event
??
thx.
After sometime I came back to this issue again.
Looking at the source code of SeriesBand. There is the following import
import org.w3c.dom.events.Event
This does not appear to be correct. Should it not be:
import com.steema.teechart.events.Event
??
thx.
Re: Android Build Error with Latest Release
Hello,
Thank you for the error report. The import line, import org.w3c.dom.events.Event; is indeed in the latest (downloadable) source. As you say, it shouldn't be there.
We're not sure where the error has slipped in from. The line can be removed completely, it is not required.
Apologies for the error and for your time it has taken. We'll correct the publicly downloadable version and replace it.
Regards,
Marc Meumann
Thank you for the error report. The import line, import org.w3c.dom.events.Event; is indeed in the latest (downloadable) source. As you say, it shouldn't be there.
We're not sure where the error has slipped in from. The line can be removed completely, it is not required.
Apologies for the error and for your time it has taken. We'll correct the publicly downloadable version and replace it.
Regards,
Marc Meumann
Steema Support
Re: Android Build Error with Latest Release
A new update correcting this error has been placed on the customer download page.
Regards,
Marc
Regards,
Marc
Steema Support