PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Android error generating application
Android error generating application
Iniciado por hscabeza, 21,oct. 2011 17:36 - 1 respuesta
Miembro registrado
4 mensajes
Publicado el 21,octubre 2011 - 17:36
Hello everyone, today I started with my first application in Windev Mobile
15. I just did something a abm simple.
First download the Java SDK (1.7 is available) and then the SDK
android (r13). Generate my first project in android and PC
the emulator works well. Now when building the application
android I find the following errors:

1) This error 2.3.1del use the platform android SDK and Signing
the application
Failure creating the Android application named <d:\My Mobile Projects
\MiPrimerAndroid\EXE\Android application.apk>.
Command Line: C:\Archivos de programa\Java\jdk1.7.0\bin\javac.exe -
encoding cp1252 -target 1.5 -d bin\classes -bootclasspath "C:\Archivos
de programa\Android\android-sdk\\platforms\android-9\android.jar" -
classpath libs\WD150Android.jar gen\com\mycompany\miprimerandroid
\*.java src\com\mycompany\miprimerandroid\wdgen\*.java
Error returned:
javac: target release 1.5 conflicts with default source release 1.7

2) This error use the platform SDK 1.6, android and Signing
the application and the Java 1.6 SDK 027

Failure creating the Android application named <d:\My Mobile Projects
\MiPrimerAndroid\EXE\Android application.apk>.

Reason: Failure signing the generated Android archive.
An error was returned by the tool for archive signature.

Possible solutions:
- Check the parameters specified in the command line of the tool for
archive signature.
- Check whether the passwords specified for the key file and for the
key are correct.
- Generate a new key file (delete the existing key file).
(See the error below to define the correction to perform).

Command Line: "C:\Archivos de programa\Java\jdk1.6.0_27\bin
\jarsigner.exe" -keystore "d:\My Mobile Projects\MiPrimerAndroid
\Hernan.jks" -storepass Hernan -keypass Hernan "Android
application.apk" Hernan

Error returned:
jarsigner: unable to open jar file: Android application.apk

3) This error use the platform android SDK 1.6, and using a
Signature and the generic Java 1.6 SDK 027

Unable to copy <d:\My Mobile Projects\MiPrimerAndroid\Android
\Generation\bin\Android application.apk> file to <d:\My Mobile Projects
\MiPrimerAndroid\EXE\Android application.apk>.
System error message:
El sistema no puede hallar el archivo especificado.

Update the android sdk and try to download all
supplements available. I also tried to compete, as I saw in this
forum, in the tool folder files (Adb.exe, AdbWinApi.dll and
AdbWinUsbApi.dll) and also create the folder tool within <SDK
directory> / platforms/android-9/tools directory and copy the files.
This platform for testing with 2.3.

Well I'm a little confused, if someone is so
kindly suggest where to go I thank you.
Best Regards
Hernan Castro
Publicado el 22,marzo 2024 - 03:01
did you get to solve the issue? I do have something similar