PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
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
Started by jsanta, Aug., 09 2011 3:55 PM - 4 replies
Connect yourself…
jsanta
#1
Registered member
2 messages
Posted on August, 09 2011 - 3:55 PM
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
Report
0
0
BOEUF
#2
Posted on August, 11 2011 - 1:06 PM
Bonjour,
J'ai le même problème !
Report
0
0
Laurent HEMON
#3
Posted on August, 26 2011 - 12:23 PM
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
Report
0
0
jsanta
#4
Posted on August, 26 2011 - 12:55 PM
Hi,
downgrade from 1.7 to 1.6.26 (this worked for me)
Regards,
Ju
Report
0
0
Hubert
#5
Posted on September, 13 2011 - 12:41 PM
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.
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text