PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → compilation error for android application
compilation error for android application
Iniciado por Angelino FRANCESCO, set., 02 2018 8:59 AM - 3 respostas
Membro registado
4 mensagems
Publicado em setembro, 02 2018 - 8:59 AM
Hi,
when i try to use a function as "StringToDate" in WM Rel. 20, i get this error

Error returned:
src\com\mycompany\warehouse\wdgen\GWDFWIN_NewPall.java:162: error: cannot find symbol
vWD_gdW_DataOrd.setValeur(WDAPIDate.chaineVersDate(WDAPIChaine.milieu(this,7,10).getString()));
^
symbol: variable WDAPIDate
location: class GWDFWIN_NewPall.GWDEDT_Ord

or when I use variable as "XX is a BarCodes" i get the error

src\com\mycompany\android_inventory\wdgen\GWDFWIN_Main.java:1027: error: cannot find symbol
vWD_BCProduct = new WDInstance( new WDCodeBarres() );
^
symbol: class WDCodeBarres
location: class GWDFWIN_Main.GWDBTN_Scan
src\com\mycompany\android_inventory\wdgen\GWDFWIN_Main.java:1031: error: cannot find symbol
vWD_BCProduct.setValeur(WDAPICodeBarres.cbCapture(3));
^
symbol: variable WDAPICodeBarres
location: class GWDFWIN_Main.GWDBTN_Scan

can someone help me?

many thanks
Membro registado
514 mensagems
Publicado em setembro, 05 2018 - 7:31 PM
Hi

Did you try to recompile and synchronize the project before you generated your apk?

--
Best Regards
ARV
Membro registado
4 mensagems
Publicado em setembro, 05 2018 - 10:30 PM
Hi,
thanks for the reply.
Of course. Any time I recompile and synchronize the project.
I think something is missing in my android sdk or some java library.
I get the same error when I try to compile the examples as "Android inventory" or "Android managing orders".

My project without those functions, works very well.


Best Regards
Membro registado
514 mensagems
Publicado em setembro, 05 2018 - 11:57 PM
Hi

Yes it could it be some java library, sometimes I have issues with those random errors that it doesn't find something, for me I just generate another project with all I have and see step by step what happend.
Hope you could find the problem

--
Best Regards
ARV