FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
WD Mobile 23 Android complier error
WD Mobile 23 Android complier error
Débuté par DW, 06 juin 2018 20:40 - 3 réponses
Connectez-vous…
DW
#1
Posté le 06 juin 2018 - 20:40
Hello All,
Have a app I am try to compile and get following errors
Error returned: :compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclFieldMangers.java:27: error: duplicate class: com.mycompany.cabinettrac.fm.wdgen.GWDCstTechList class GWDCstTechList extends WDStructure ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclUser.java:28: error: duplicate class: com.mycompany.cabinettrac.fm.wdgen.GWDCstStoreList class GWDCstStoreList extends WDStructure ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDFWIN_Form_Calendar.java:39: error: duplicate class: com.mycompany.cabinettrac.fm.wdgen.GWDCstCal class GWDCstCal extends WDStructure ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDFWIN_Form_Calendar.java:96: error: duplicate class: com.mycompany.cabinettrac.fm.wdgen.GWDCstTechList class GWDCstTechList extends WDStructure ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDFWIN_Popup_DevSuper.java:36: error: duplicate class: com.mycompany.cabinettrac.fm.wdgen.GWDCstList class GWDCstList extends WDStructure ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclCalendar.java:688: error: 'void' type not allowed here vWD_sTech.setValeur(fWD_cm_Cal_GetTechName(WDAPIHF.getFichierSansCasseNiAccent("qry_calendar_outgoing").getRubriqueSansCasseNiAccent("tech_id"))); ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclCalendar.java:1680: error: 'void' type not allowed here if(mWD_m_nFileVersion.opDiff(fWD_cm_Update_GetVersion())) ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclCalPrint.java:381: error: 'void' type not allowed here vWD_nColNum.setValeur(fWD_cm_GetDayNumber(mWD_m_arrData.get(vWD_i).checkType(GWDCstCal.class).mWD_nDayNum)); ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclCalPrint.java:384: error: 'void' type not allowed here vWD_nWeek.setValeur(fWD_cm_GetRowNumber(mWD_m_arrData.get(vWD_i).checkType(GWDCstCal.class).mWD_nDayNum)); ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclUser.java:533: error: 'void' type not allowed here mWD_m_sStoreName.setValeur(fWD_getStoreNameByStoreID(mWD_m_nStoreId)); ^ C:\My Mobile Projects\CabinetTrac FM Android v23\Android\Gen\src\com\mycompany\cabinettrac\m\wdgen\GWDCclUser.java:570: error: 'void' type not allowed here mWD_m_sStoreName.setValeur(fWD_getStoreNameByStoreID(vWD_nStoreID));
Thnak you,
DW
Signaler
0
0
Ruben Sanchez Peña
#2
Posté le 06 juin 2018 - 21:25
Hi. Do you have maybe defined structures with the same name in several windows of the program? Try changing their names. In the same program there cannot be two structures with the same name.
Rubén
Signaler
0
0
Fabrice Harari
#3
Posté le 06 juin 2018 - 21:28
Hi Dennis,
I can't be sure that your error has exactly the same cause, but this article explains one possible cause and solution for this particular error message:
http://fabriceharari.eu/UK/PAGE_ARTICLE.awp…
Best regards
Signaler
0
0
DW
#4
Posté le 07 juin 2018 - 19:46
Thanks Fabrice,
I solved all the errors
10 of them where names of structures in different classes had the same name so I changed them.
the rest where from another post you helped me with.
result = whatever < - I used this way in all other products with no problems and just leaned it needs to be without "="
When I changed it to:
result whatever
That fixed all my compiler errors.
DW
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte