PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
compilation error for android application
compilation error for android application
Started by Angelino FRANCESCO, Sep., 02 2018 8:59 AM - 3 replies
Connect yourself…
Angelino FRANCESCO
#1
Registered member
4 messages
Popularité : +1 (1 vote)
Posted on September, 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
Report
0
0
ARV
#2
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on September, 05 2018 - 7:31 PM
Hi
Did you try to recompile and synchronize the project before you generated your apk?
--
Best Regards
ARV
Report
0
0
Angelino FRANCESCO
#3
Registered member
4 messages
Popularité : +1 (1 vote)
Posted on September, 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
Report
0
0
ARV
#4
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on September, 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
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text