PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → compilation error for android application
compilation error for android application
Débuté par Angelino FRANCESCO, 02 sep. 2018 08:59 - 3 réponses
Membre enregistré
4 messages
Popularité : +1 (1 vote)
Posté le 02 septembre 2018 - 08:59
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
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 05 septembre 2018 - 19:31
Hi

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

--
Best Regards
ARV
Membre enregistré
4 messages
Popularité : +1 (1 vote)
Posté le 05 septembre 2018 - 22:30
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
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 05 septembre 2018 - 23:57
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