|
GRUPOS DE DISCUSSÃO PROFISSIONAL WINDEV, WEBDEV e WINDEV Mobile |
| | | | | |
Android error generating application |
Iniciado por hscabeza, out., 21 2011 5:36 PM - 1 resposta |
| |
| | | |
|
| |
Membro registado 4 mensagems |
|
Publicado em outubro, 21 2011 - 5:36 PM |
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 em março, 22 2024 - 3:01 AM |
did you get to solve the issue? I do have something similar |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|