PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
WM20 - unable to generate android application
WM20 - unable to generate android application
Started by Angelino FRANCESCO, Jun., 23 2018 12:38 AM - 3 replies
Connect yourself…
Angelino FRANCESCO
#1
Registered member
4 messages
Popularité : +1 (1 vote)
Posted on June, 23 2018 - 12:38 AM
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
Report
0
0
ARV
#2
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on June, 25 2018 - 4:25 PM
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
Report
0
0
Angelino FRANCESCO
#3
Registered member
4 messages
Popularité : +1 (1 vote)
Posted on June, 27 2018 - 8:16 PM
Many thanks Jose.
Problem solved
Best regards
Francesco
Report
1
0
ARV
#4
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on June, 27 2018 - 8:46 PM
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
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