Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
10
Erster Beitrag:
vor 3 Jahren, 6 Monaten
Letzter Beitrag:
vor 3 Jahren, 6 Monaten
Beteiligte Autoren:
Viggo Poulsen, Giovanni Carella, raul vijay, himanshu vijay, Arie

SOLVED [WM 18] Error compiling Android application

Startbeitrag von Giovanni Carella am 07.11.2014 08:34

Hello guy,
i have a problem.
After new installation of Windev Mobile 18 (Version: 06A180062j) i have create a simple "Hello word" and when compiling and create a apk give me this error:


Failure creating the Android application named .


Command Line: .\build-tools\21.1.0\aapt.exe package -f -M "C:\My Mobile Projects\WiNeMoMobile\Android\Generation\AndroidManifest.xml" -S "C:\My Mobile Projects\WiNeMoMobile\Android\Generation\res" -F "C:\My Mobile Projects\WiNeMoMobile\Android\Generation\bin\application.ap_" -I "platforms\android-21\android.jar" -0 ".FNC"


Error returned:
C:\My Mobile Projects\WiNeMoMobile\Android\Generation\res\drawable-ldpi\i_c_o_n_e________2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited




what is this??? :confused:

Antworten:

Re: [WM 18] Error compiling Android application

The problem is the generic icon of the Andorid application. I have changed this and it works

von Giovanni Carella - am 07.11.2014 09:00

Re: [WM 18] Error compiling Android application

Hi Giovanni

I have just reinstalled WM18 and starts getting the exact same error:


Error returned:
C:\WinDev Mobile 18\My Mobile Projects\Vp_arb1\Android\Generation\res\drawable\app_sharp_2.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

One project it helped to change the icon, but on other Projects this did not help.
It can be both the generic icon and splash screen icon whitch gives the problems.

Anyone:

Changed on my system is:
Before: Win 7, 64 bit. Now Win7, 32 bit.
Before: Avast virusscan. Now: Microsoft Security Essentials.

Newest Android and Java are being used.

Should any of these give this kind of problem ?

Best regards
Viggo Poulsen

von Viggo Poulsen - am 14.11.2014 13:39

Re: [WM 18] Error compiling Android application

Hi

One thing that Work as a solution: Changing the PNG from 1024x1024 to 512x512 helped. Now I can use my logo Again.

Best regards
Viggo Poulsen

von Viggo Poulsen - am 14.11.2014 14:58

how to run andoroid apllication in windev mobile 17

dear sir;
how do connect windev mobile 17 to andorid phone run android application

von himanshu vijay - am 20.11.2014 09:17

Re: how to run andoroid apllication in windev mobile 17

I presume you have followed the help and installed the Android SDK?
You also have to install the ADB driver for your type of phone. If that is working you can run "ADB.EXE DEVICES" to check if the Phone is recognized. If so WM will find it too, because it basicly does the same.

von Arie - am 20.11.2014 10:51

Re: how to run andoroid apllication in windev mobile 17

Hi Arie

Hmm. ADB might be the problem. I'll check it out.

Best regards
Viggo Poulsen

von Viggo Poulsen - am 20.11.2014 14:06

how to run android application on windev mobile 17

sir;
how do you run android application on windev mobile 17

von raul vijay - am 21.11.2014 06:31

Re: how to run android application on windev mobile 17

Hi Raul

Please look at this help page from Pc Soft: http://doc.windev.com/en-US/?9000099
Here you will find all information.

Best regards
Viggo Poulsen

von Viggo Poulsen - am 21.11.2014 08:47

Re: how to run andoroid apllication in windev mobile 17

Quote
Arie Mars
I presume you have followed the help and installed the Android SDK?
You also have to install the ADB driver for your type of phone. If that is working you can run "ADB.EXE DEVICES" to check if the Phone is recognized. If so WM will find it too, because it basicly does the same.


Hi Arie

I have checked both now. All is up and running fine. I can compile, test and deploy as expected, except now there seems to be a limit on the size of used images.
Changing the PNG from 1024x1024 to 512x512 helped. This is no problem because I do not need this detailed logo. Just take care if using Icon Catalog as it tends to make large icons.

Best regards
Viggo Poulsen

von Viggo Poulsen - am 21.11.2014 08:54
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.