FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
WM20 - unable to generate android application
WM20 - unable to generate android application
Débuté par Angelino FRANCESCO, 23 juin 2018 00:38 - 3 réponses
Connectez-vous…
Angelino FRANCESCO
#1
Membre enregistré
4 messages
Popularité : +1 (1 vote)
Posté le 23 juin 2018 - 00:38
Hi. I'm a new developer on Windev Mobile.
When I try to compile my first App, I have this problem:
Failure creating the Android application named <D:\App_Depo\Exe\App_Depo.apk>.
Command Line: "C:\Program Files\Java\jdk1.8.0_151\bin\java.exe" -Xmx2048m -Xss1m -Djava.ext.dirs=.\build-tools\25.0.1\lib -jar .\build-tools\25.0.1\lib\dx.jar --dex --incremental --output="D:\App_Depo\Android\Generation\bin\classes.dex" "D:\App_Depo\Android\Generation\bin\classes" "D:\App_Depo\Android\Generation\libs"
Error returned:
Result compacted from 5153.1KiB to 3332.5KiB to save 1820.6KiB
Merged dex #1 (12 defs/13.2KiB)
Merged dex #2 (2173 defs/4068.0KiB)
Result is 2173 defs/3332.5KiB. Took 0.6s
Why?
Can anone help me?
Regards,
Francesco
Signaler
0
0
ARV
#2
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 25 juin 2018 - 16:25
Hi Angelino FRANCESCO
That's a bug for windev mobile 20 the thing you need to do it's go to your C:/ then go to My Mobile Projects then go for the file of your project on the file called "Android" delete it and then generate your apk.
if you want a method even more quickly then:
-Open your bloc note
-Put this code:
cd C:\My Mobile Projects\"NAME OF THE FILE OF YOUR PROJECT"\Android\Compile
del info.build
-save it
-change the .txt to .bat (you can even do this when you save the file)
-doble click on this bloc .bat and he will delete the info.build this file it's causing the problem
Good Luck
--
Best Regards
Jose
Signaler
0
0
Angelino FRANCESCO
#3
Membre enregistré
4 messages
Popularité : +1 (1 vote)
Posté le 27 juin 2018 - 20:16
Many thanks Jose.
Problem solved
Best regards
Francesco
Signaler
1
0
ARV
#4
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 27 juin 2018 - 20:46
Hi
I'm glad its solved.
Just remember to create the file on all of your projects, you can even get the patch from this but PCSoft never give it to me the patch so this is the way I used when I was con WM20
--
Best Regards
Jose
Signaler
0
0
→ Revenir à WINDEV Mobile 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