|
FOROS PROFESIONALES WINDEV, WEBDEV y WINDEV Mobile |
| | | | | |
Problème compilation androïde |
Iniciado por Philippe, 20,sep. 2018 16:42 - 5 respuestas |
| |
| | | |
|
| |
Miembro registrado 30 mensajes |
|
Publicado el 20,septiembre 2018 - 16:42 |
Bonjour
depuis la version 23 , sous windevmobile, j ai de nombreux problèmes de compilation java pour android si bine que je repasse sous windev mobile version 22; et j arrete de developper en version 23
avez vous vous aussi ce type de probléme
exemple :
Echec de la création de l'application Android <E:\Mes Projets Mobile\Formation\Exe\Application Android\Formation.apk>.
Ligne de commande : "C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" "-Dorg.gradle.appname=E:\Mes Projets Mobile\Formation\Android\Gen" -classpath "E:\WINDEV Mobile 23\Personnel\Android\Gradle\lib\gradle-launcher-2.14.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "E:\Mes Projets Mobile\Formation\Android\Gen\build.gradle"
Erreur retournée :
:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.). E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:25: error: package fr.pcsoft.wdjava.ui.champs.carte does not exist import fr.pcsoft.wdjava.ui.champs.carte.*; ^ E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:32: error: package fr.pcsoft.wdjava.geo.map does not exist import fr.pcsoft.wdjava.geo.map.*; ^ E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1000: error: cannot find symbol class GWDCARTE_site extends WDChampCarteV2 ^ symbol: class WDChampCarteV2 location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1046: error: cannot find symbol super.setImageMarqueur(""); ^ symbol: method setImageMarqueur(String) E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1048: error: cannot find symbol super.setParamZoom(true, true); ^ symbol: method setParamZoom(boolean,boolean) E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1056: error: cannot find symbol super.setStyleLibelle(0x0, creerPolice_GEN("Segoe UI", -8.000000, 0), -1, 0, 0x808080); ^ symbol: method setStyleLibelle(int,b,int,int,int) E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1325: error: cannot find symbol vWD_MonAdresse = new WDInstance( new WDAdresse() ); ^ symbol: class WDAdresse location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1332: error: cannot find symbol vWD_MonAdresse.setValeur(WDAPIGeo.geoRecupereAdresse(vWD_gsAdressesite.getString())); ^ symbol: variable WDAPIGeo location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1335: error: cannot find symbol vWD_UnMarqueur = new WDInstance( new WDMarqueur() ); ^ symbol: class WDMarqueur location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1345: error: cannot find symbol WDAPICarte.carteAffichePosition(mWD_CARTE_site,vWD_MonAdresse); ^ symbol: variable WDAPICarte location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1348: error: cannot find symbol WDAPICarte.carteAjouteMarqueur(mWD_CARTE_site,vWD_UnMarqueur); ^ symbol: variable WDAPICarte location: class GWDFFEN_Fiche_Site E:\Mes Projets Mobile\Formation\Android\Gen\src\com\edf\formation\wdgen\GWDFFEN_Fiche_Site.java:1472: error: no suitable method found for ajouter(String,GWDFFEN_Fiche_Site.GWDCARTE_site) super.ajouter("CARTE_site", mWD_CARTE_site); ^ method y.ajouter(String,p) is not applicable (argument mismatch; GWDFFEN_Fiche_Site.GWDCARTE_site cannot be converted to p) method v.ajouter(String,p) is not applicable (argument mismatch; GWDFFEN_Fiche_Site.GWDCARTE_site cannot be converted to p) 12 errors :compileReleaseJavaWithJavac FAILED |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 299 mensajes Popularité : +16 (16 votes) |
|
Publicado el 20,septiembre 2018 - 23:34 |
Oui régulièrement J'ai trouvé sur un forum le nom d'un répertoire à vider et supprimer.
J'en ai fait un batch. Il faut remplacer les XXX par le chemin correspondant au vôtre del "C:\Utilisateurs\xxx\AppData\Local\Temp\FRMK_XXXX\*.*" rd "C:\Users\xxx\AppData\Local\Temp\FRMK_Android_20.0.291.0FR" /s md "C:\Users\xx\AppData\Local\Temp\FRMK_Android_20.0.291.0FR" del "C:\Users\xxx\AppData\Local\Temp\FRMK_Android_20.0.291.0FR\*.*"
Pour chaque génération : jouer le batch, réparer le projet et générer. Et on va 10 fois plus vite… Par contre j'avais lu aussi que ce problème avait été corrigé en version 23. |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 30 mensajes |
|
Publicado el 21,septiembre 2018 - 10:40 |
Merci Michel pour cette info ça marche super |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 299 mensajes Popularité : +16 (16 votes) |
|
Publicado el 21,septiembre 2018 - 14:37 |
Content d'avoir pu vous aider C'est parfait. |
| |
| |
| | | |
|
| | |
| |
Publicado el 25,julio 2019 - 13:50 |
Bonjour,
J'ai eu le même problème en WM24 (...75n#) Je vous remercie beaucoup pour cette aide car je ne savais plus où donner de la tête. Le support gratuit PCSoft ne semble pas au courant de cette anomalie, ils n'ont pas su m'aider.
En vous remerciant encore, Marc. |
| |
| |
| | | |
|
| | |
| |
Publicado el 28,diciembre 2020 - 17:41 |
Merci, je ne pouvais pas compiler car il m'indiquait une erreur WDAPIMedia. J'utilise la version 24 WinDev Mobile 01F240075n En supprimant le dossier dans la zone tampon cela a fonctionné. Pour améliorer ton batch, on peut le faire en deux lignes :
del C:\Users\xxxxx\AppData\Local\Temp\FRMK_Android_xxxxxx /S /Q rd C:\Users\xxxxx\AppData\Local\Temp\FRMK_Android_xxxxxx /S /Q
Merci Michel et bonne programmation à tous, |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|