FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Android error generating application
Android error generating application
Débuté par HERNAN CASTRO ( Sana, 21 oct. 2011 17:36 - 1 réponse
Connectez-vous…
HERNAN CASTRO ( Sana
#1
Membre enregistré
4 messages
Posté le 21 octobre 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
Signaler
0
0
David
#2
Posté le 22 mars 2024 - 03:01
did you get to solve the issue? I do have something similar
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