PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Android drawing - java errors
Android drawing - java errors
Iniciado por guest, 01,ene. 2018 21:21 - 1 respuesta
Publicado el 01,enero 2018 - 21:21
Hi All,

I have a chart that is showing some data. My users need to add a line at an arbitrary point on the chart. This works very well in test mode. However, when I compile for android, I get the errors shown below. The code is:

dStartDrawing(CHART_Duration)
dx = MouseXPos()
dy = MouseYPos()

dLine(dx,dy, dx, 40 ,LightRed)

dFont("Arial",3)
dText(dx + 5, 30,"Baseline",LightRed)


Am I missing a java library?

Thanks, Bill

Compile Errors:

Failure creating the Android application named .


Command Line: "C:\Program Files\Java\jdk1.8.0_131\in\java.exe" "-Dorg.gradle.appname=C:\My Mobile Projects\BCBA\Android\Generation" -classpath "C:\WINDEV Mobile 22\Personal\Android\Gradle\lib\gradle-launcher-2.14.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "C:\My Mobile Projects\BCBA\Android\Generation\uild.gradle"


Error returned:

:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
C:\My Mobile Projects\BCBA\Android\Generation\src\com\harpsoftware\appliedbehavioralpha\wdgen\GWDFWIN_TestChart.java:497: error: cannot find symbol
WDAPIDessin.dLigne(vWD_dx.getInt(),vWD_dy.getInt(),vWD_dx.getInt(),40,255);
^
symbol: variable WDAPIDessin
location: class GWDFWIN_TestChart.GWDCHART_Duration
C:\My Mobile Projects\BCBA\Android\Generation\src\com\harpsoftware\appliedbehavioralpha\wdgen\GWDFWIN_TestChart.java:500: error: cannot find symbol
WDAPIDessin.dPolice("Arial",3);
^
symbol: variable WDAPIDessin
location: class GWDFWIN_TestChart.GWDCHART_Duration
C:\My Mobile Projects\BCBA\Android\Generation\src\com\harpsoftware\appliedbehavioralpha\wdgen\GWDFWIN_TestChart.java:503: error: cannot find symbol
WDAPIDessin.dTexte(vWD_dx.opPlus(5).getInt(),30,"Baseline",255);
^
symbol: variable WDAPIDessin
location: class GWDFWIN_TestChart.GWDCHART_Duration
C:\My Mobile Projects\BCBA\Android\Generation\src\com\harpsoftware\appliedbehavioralpha\wdgen\GWDFWIN_TestChart.java:1555: error: cannot find symbol
WDAPIDessin.dDebutDessin(mWD_CHART_Duration);
^
symbol: variable WDAPIDessin
location: class GWDFWIN_TestChart
4 errors
:compileReleaseJavaWithJavac FAILED
Publicado el 04,enero 2018 - 18:08
I updated my wm version to 71n and the project now compiles.