PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [WM17] Erreurs de compilations
[WM17] Erreurs de compilations
Débuté par mrcooll, 29 nov. 2012 01:13 - 6 réponses
Membre enregistré
3 messages
Posté le 29 novembre 2012 - 01:13
Bonsoir tout le monde,
j'ai créé une app test, et lors de la compilation de l'app android ça me renvoi des erreurs (ci-dessous), si quelqu’un a une idée sur comment je peux résoudre mon problème. a savoir que j'ai désinstallé et réinstallé le JDK Java et le SDK android, ainsi que WM.



Echec de la création de l'application Android <C:\Mes Projets Mobile\Mon_Projet\Exe\Mon_Projet.apk>.


Ligne de commande : "C:\Program Files\Java\jdk1.7.0_09\bin\javac.exe" -encoding UnicodeLittle -nowarn -source 1.5 -target 1.5 -d bin\classes -bootclasspath "C:\Program Files\Android\android-sdk\platforms\android-13\android.jar" gen\com\masociete\mon_projet\*.java src\com\masociete\mon_projet\wdgen\*.java -classpath "libs"


Erreur retournée :
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:13: error: package fr.pcsoft.wdjava.framework.ihm does not exist
import fr.pcsoft.wdjava.framework.ihm.*;
^
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:14: error: package fr.pcsoft.wdjava.api.WDOBJ does not exist
import fr.pcsoft.wdjava.api.WDOBJ.*;
^
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:16: error: package fr.pcsoft.wdjava.framework.ihm.activite does not exist
import fr.pcsoft.wdjava.framework.ihm.activite.*;
^
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:17: error: package fr.pcsoft.wdjava.framework does not exist
import fr.pcsoft.wdjava.framework.*;
^
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:23: error: cannot find symbol
public class GWDFFenetre1 extends WDFenetre
^
symbol: class WDFenetre
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:33: error: cannot find symbol
class GWDBouton1 extends WDBouton
^
symbol: class WDBouton
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:234: error: cannot find symbol
public static class WDActiviteFenetre extends WDActivite
^
symbol: class WDActivite
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:236: error: cannot find symbol
protected WDFenetre getFenetre()
^
symbol: class WDFenetre
location: class WDActiviteFenetre
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:14: error: package fr.pcsoft.wdjava.framework.projet does not exist
import fr.pcsoft.wdjava.framework.projet.*;
^
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:15: error: package fr.pcsoft.wdandroid does not exist
import fr.pcsoft.wdandroid.*;
^
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:16: error: package fr.pcsoft.wdjava.framework does not exist
import fr.pcsoft.wdjava.framework.*;
^
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:24: error: cannot find symbol
public class GWDPMon_Projet extends WDProjet
^
symbol: class WDProjet
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:109: error: cannot find symbol
public static class WDLanceur extends WDAbstractLanceur
^
symbol: class WDAbstractLanceur
location: class GWDPMon_Projet
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:47: error: cannot find symbol
super.initialiserSousObjets();
^
symbol: variable super
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:51: error: cannot find symbol
super.initialiserObjet();
^
symbol: variable super
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:52: error: cannot find symbol
setFenetre( getWDFenetreThis() );
^
symbol: method getWDFenetreThis()
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:53: error: cannot find symbol
setQuid(2357220748091608532l);
^
symbol: method setQuid(long)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:55: error: cannot find symbol
setChecksum("602201276");
^
symbol: method setChecksum(String)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:57: error: cannot find symbol
setNom("Bouton1");
^
symbol: method setNom(String)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:59: error: cannot find symbol
setType(4);
^
symbol: method setType(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:61: error: cannot find symbol
setLibelle("Bouton");
^
symbol: method setLibelle(String)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:63: error: cannot find symbol
setMenuContextuelSysteme();
^
symbol: method setMenuContextuelSysteme()
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:65: error: cannot find symbol
setNote("");
^
symbol: method setNote(String)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:67: error: cannot find symbol
setNavigable(true);
^
symbol: method setNavigable(boolean)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:69: error: cannot find symbol
setEtatInitial(0);
^
symbol: method setEtatInitial(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:71: error: cannot find symbol
setPositionInitiale(73, 106);
^
symbol: method setPositionInitiale(int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:73: error: cannot find symbol
setTailleInitiale(156, 48);
^
symbol: method setTailleInitiale(int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:75: error: cannot find symbol
setPlan(0);
^
symbol: method setPlan(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:77: error: cannot find symbol
setAncrage(0);
^
symbol: method setAncrage(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:79: error: cannot find symbol
setImageEtat(1);
^
symbol: method setImageEtat(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:81: error: cannot find symbol
setImageFondEtat(5);
^
symbol: method setImageFondEtat(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:83: error: cannot find symbol
setTailleMin(0, 0);
^
symbol: method setTailleMin(int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:85: error: cannot find symbol
setTailleMax(2147483647, 2147483647);
^
symbol: method setTailleMax(int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:87: error: cannot find symbol
setVisibleInitial(true);
^
symbol: method setVisibleInitial(boolean)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:89: error: cannot find symbol
setAltitude(1);
^
symbol: method setAltitude(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:91: error: cannot find symbol
setTauxAncrage(1000, 1000, 1000, 1000);
^
symbol: method setTauxAncrage(int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:93: error: cannot find symbol
setNumTab(1);
^
symbol: method setNumTab(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:95: error: cannot find symbol
setLettreAppel(65535);
^
symbol: method setLettreAppel(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:97: error: cannot find symbol
setTypeBouton(0);
^
symbol: method setTypeBouton(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:99: error: cannot find symbol
setTypeActionPredefinie(0);
^
symbol: method setTypeActionPredefinie(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:101: error: cannot find symbol
setPresenceLibelle(true);
^
symbol: method setPresenceLibelle(boolean)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:102: error: cannot find symbol
setImage("", 0, 2);
^
symbol: method setImage(String,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:103: error: cannot find symbol
setLibelleVAlign(1);
^
symbol: method setLibelleVAlign(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:104: error: cannot find symbol
setLibelleHAlign(1);
^
symbol: method setLibelleHAlign(int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:105: error: cannot find symbol
setStyleLibelleRepos(0x0, creerPolice("Droid Sans", -9.000000, 0));
^
symbol: method creerPolice(String,double,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:106: error: cannot find symbol
setStyleLibelleSurvol(0x0, creerPolice("Droid Sans", -9.000000, 0));
^
symbol: method creerPolice(String,double,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:107: error: cannot find symbol
setStyleLibelleEnfonce(0x0, creerPolice("Droid Sans", -9.000000, 0));
^
symbol: method creerPolice(String,double,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:108: error: cannot find symbol
setStyleCadreRepos(2, 0xCECECE, 0x191919, 0x0, 4, 4);
^
symbol: method setStyleCadreRepos(int,int,int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:109: error: cannot find symbol
setStyleCadreSurvol(2, 0xCECECE, 0x191919, 0x0, 4, 4);
^
symbol: method setStyleCadreSurvol(int,int,int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:110: error: cannot find symbol
setStyleCadreEnfonce(2, 0xCECECE, 0x191919, 0x0, 4, 4);
^
symbol: method setStyleCadreEnfonce(int,int,int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:111: error: cannot find symbol
setImageFond9Images(new int[] {1,4,1,2,2,2,1,4,1}, 10, 10, 6, 9);
^
symbol: method setImageFond9Images(int[],int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:112: error: cannot find symbol
setImageFond("##SYSTEM##?E5_3NP", 1, 0, 1, 1);
^
symbol: method setImageFond(String,int,int,int,int)
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:121: error: cannot find symbol
super.clicSurBoutonGauche();
^
symbol: variable super
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:124: error: cannot find symbol
WDAPIToast.toastAffiche("test");
^
symbol: variable WDAPIToast
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:133: error: cannot find symbol
activerEcouteurClic();
^
symbol: method activerEcouteurClic()
location: class GWDFFenetre1.GWDBouton1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:163: error: cannot find symbol
setQuid(2357220735203491714l);
^
symbol: method setQuid(long)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:165: error: cannot find symbol
setChecksum("603074528");
^
symbol: method setChecksum(String)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:167: error: cannot find symbol
setNom("Fenêtre1");
^
symbol: method setNom(String)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:169: error: cannot find symbol
setType(1);
^
symbol: method setType(int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:171: error: cannot find symbol
setMenuContextuelSysteme();
^
symbol: method setMenuContextuelSysteme()
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:173: error: cannot find symbol
setNote("");
^
symbol: method setNote(String)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:175: error: cannot find symbol
setCouleur(0x0);
^
symbol: method setCouleur(int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:177: error: cannot find symbol
setCouleurFond(0x191919);
^
symbol: method setCouleurFond(int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:179: error: cannot find symbol
setPositionInitiale(0, 0);
^
symbol: method setPositionInitiale(int,int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:181: error: cannot find symbol
setTailleInitiale(320, 377);
^
symbol: method setTailleInitiale(int,int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:183: error: cannot find symbol
setTitre("");
^
symbol: method setTitre(String)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:185: error: cannot find symbol
setTailleMin(-1, -1);
^
symbol: method setTailleMin(int,int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:187: error: cannot find symbol
setTailleMax(20000, 20000);
^
symbol: method setTailleMax(int,int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:189: error: cannot find symbol
setVisibleInitial(true);
^
symbol: method setVisibleInitial(boolean)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:191: error: cannot find symbol
setPersistant(true);
^
symbol: method setPersistant(boolean)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:193: error: cannot find symbol
setGFI(true);
^
symbol: method setGFI(boolean)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:195: error: cannot find symbol
setImageFond("", 4, 0, 1);
^
symbol: method setImageFond(String,int,int,int)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDFFenetre1.java:203: error: cannot find symbol
ajouter("Bouton1", mWD_Bouton1);
^
symbol: method ajouter(String,GWDFFenetre1.GWDBouton1)
location: class GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:38: error: cannot find symbol
mWD_Fenetre1.verifierOuverte();
^
symbol: method verifierOuverte()
location: variable mWD_Fenetre1 of type GWDFFenetre1
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:46: error: cannot find symbol
ajouterFenetre("Fenêtre1", mWD_Fenetre1);
^
symbol: method ajouterFenetre(String,GWDFFenetre1)
location: class GWDPMon_Projet
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:62: error: cannot find symbol
GWDPMon_Projet.ms_Project.setLangueProjet(new int[] {1}, 1);
^
symbol: method setLangueProjet(int[],int)
location: variable ms_Project of type GWDPMon_Projet
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:63: error: cannot find symbol
GWDPMon_Projet.ms_Project.setNomCollectionProcedure(new String[]{});
^
symbol: method setNomCollectionProcedure(String[])
location: variable ms_Project of type GWDPMon_Projet
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:80: error: cannot find symbol
GWDPMon_Projet.ms_Project.initialiserProjet("Mon_Projet", "Application Android", args);
^
symbol: method initialiserProjet(String,String,String[])
location: variable ms_Project of type GWDPMon_Projet
src\com\masociete\mon_projet\wdgen\GWDPMon_Projet.java:103: error: cannot find symbol
GWDPMon_Projet.ms_Project.lancerProjet("Fenêtre1");
^
symbol: method lancerProjet(String)
location: variable ms_Project of type GWDPMon_Projet
79 errors
Membre enregistré
3 messages
Posté le 29 novembre 2012 - 18:54
Est ce qu'il y a une solution SVP
Posté le 30 novembre 2012 - 14:18
Supprimes le contenu de ton répertoire temp.
Membre enregistré
3 messages
Posté le 30 novembre 2012 - 17:38
C'est OK :)
Merci bcp
Posté le 02 décembre 2012 - 16:05
Bjr,

wddev a formulé la demande :
> Supprimes le contenu de ton répertoire temp.

au cas ou ca m'arriverait, quel repertoire temp ?

Merci

--
-------------------------------------------------------------
www.ctc-soft.com
Gestion biblo-documentaire (free-share)
Comptabilité shareware
Logiciels de Gestion de saisie terrain
Spécialisé Tournées de boulangers
-------------------------------------------------------------
Posté le 11 janvier 2013 - 18:52
wddev a écrit dans le message de news <ee4a7ef023a674109616ebb6534a88d6@news.pcsoft> :
> Supprimes le contenu de ton répertoire temp.

je devient fou avec la même erreur ! De quel répertoire temp parle-tu ?
J'ai supprimé le rep CPL et le Rep Android du projet et ça ne fait rien !!!

Merci d'avance de ta réponse ...
Posté le 12 janvier 2013 - 00:16
Je me répond à moi-même !

C:\Users\NomUser\AppData\Local\Temp

il y avait un répertoire FRMK_Android_17.0.351.0

un petit batch sur le bureau au cas où :

del C:\Users\NomUser\AppData\Local\Temp\*.* /S /F /Q
del C:\Windows\Temp\*.* /S /F /Q
del C:\Temp\*.* /S /F /Q

Voili, voila...