FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Android compilation error: target release 1.5 conflicts with default source release 1.7
Android compilation error: target release 1.5 conflicts with default source release 1.7
Débuté par jsanta, 09 aoû. 2011 15:55 - 4 réponses
Connectez-vous…
jsanta
#1
Membre enregistré
2 messages
Posté le 09 août 2011 - 15:55
Hi All,
I have got the following problem.
I do have installed:
*JDK
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
*ANDROID
Android_SDKr12
*WINDEV MOBILE 16
Latest updated: Module Version: 16.0.133.4
Internal version: 06A160057k
and when compiling for android device I do get following error:
Failure creating the Android application named <D:\My Mobile Projects\Android BC\Exe\Android BC.apk>.
Command Line: "D:\Program Files\Java\jdk1.7.0\bin\javac.exe" -encoding cp1252 -target 1.5 -d bin\classes -bootclasspath "D:\Program Files\Android\android-sdk\\platforms\android-13\android.jar" gen\com\mycompany\android_bc\*.java src\com\mycompany\android_bc\wdgen\*.java -classpath "libs\WD160Android.jar"
Error returned:
javac: target release 1.5 conflicts with default source release 1.7
It seems to be something from Windev as I am able to compile and debug with Eclipse IDE.
Anyone has experienced a similar problem?
Any help would be very much appreciated.
Regards,
Ju
Signaler
0
0
BOEUF
#2
Posté le 11 août 2011 - 13:06
Bonjour,
J'ai le même problème !
Signaler
0
0
Laurent HEMON
#3
Posté le 26 août 2011 - 12:23
moi aussi !!!
Echec de la création de l'application Android <C:\WinDev Mobile 16\Exemples\Android\Android GPS\Exe\Android GPS\Android GPS.apk>.
Ligne de commande : "C:\Program Files\Java\jdk1.7.0\bin\javac.exe" -encoding cp1252 -target 1.5 -d bin\classes -bootclasspath "C:\Documents and Settings\laurent.hemon\Mes documents\windev\android-sdk_r12-windows\android-sdk-windows\\platforms\android-4\android.jar" gen\com\masociete\android_gps\*.java src\com\masociete\android_gps\wdgen\*.java -classpath "libs\WD160Android.jar"
Erreur retournée :
javac: target release 1.5 conflicts with default source release 1.7
Signaler
0
0
jsanta
#4
Posté le 26 août 2011 - 12:55
Hi,
downgrade from 1.7 to 1.6.26 (this worked for me)
Regards,
Ju
Signaler
0
0
Hubert
#5
Posté le 13 septembre 2011 - 12:41
I red in an article of developing android apps the tip
allways use the 32 bit version of the sdk even on 64 bit systems.
To avoid compatibily problems.
I had installed 64 bit version 1.7... uninstall and new install 1.6... 32 bit now it works.
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