GLBasic forum

Main forum => GLBasic - en => Topic started by: Schranz0r on 2012-Nov-02

Title: Android compiling problems :(
Post by: Schranz0r on 2012-Nov-02
Hi my friends,
I have now a Samsung Galaxy S3 and can't compile for Android  :'(

ANDROID_SWT = C:\Program Files (x86)\Android\android-sdk\tools\lib\x86
JAVA_HOME =  C:\Program Files (x86)\Java\jdk1.6.0_35

In GLBasic(V11.163) Beta, project -> Options: I set platform to android

gbas:
Code (glbasic) Select
WHILE TRUE


PRINT "TEST", 10,10


SHOWSCREEN
WEND
END


create Multiplatform and doubleclick on Android...

Result ( SRY, german version ):

Code (glbasic) Select
_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.060 SN:3554e9fd - 3D, NET
Wordcount:4 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE
Der Befehl "xcopy" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
ERROR: SWT folder 'C:\Program Files (x86)\Android\android-sdk\tools\lib\x86' does not exist.
Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.
Das System kann den angegebenen Pfad nicht finden.
.
BUILD STAGE 2: Build DEBUG and install on device
Das System kann den angegebenen Pfad nicht finden.
finished Android build-script.
Android=C:\Users\sliver\Documents\GLBasic\Android App\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 3.4 sek. Zeit: 17:00
Erstellen: 1 erfolgreich.


Title: Re: Android compiling problems :(
Post by: MrTAToad on 2012-Nov-02
For the simple solution, see : http://www.glbasic.com/forum/index.php?topic=8013.msg67162#msg67162
Title: Re: Android compiling problems :(
Post by: Schranz0r on 2012-Nov-03
the problem is, the compiler can't use xcopy...