FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
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
Iniciado por jsanta, 09,ago. 2011 15:55 - 4 respuestas
Conéctese…
jsanta
#1
Miembro registrado
2 mensajes
Publicado el 09,agosto 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
Informar
0
0
BOEUF
#2
Publicado el 11,agosto 2011 - 13:06
Bonjour,
J'ai le même problème !
Informar
0
0
Laurent HEMON
#3
Publicado el 26,agosto 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
Informar
0
0
jsanta
#4
Publicado el 26,agosto 2011 - 12:55
Hi,
downgrade from 1.7 to 1.6.26 (this worked for me)
Regards,
Ju
Informar
0
0
Hubert
#5
Publicado el 13,septiembre 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.
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto