problems compiling to android

Previous topic - Next topic

funny_guy

Hello

When I try to compile this (I chose "android" in project/options and in compile multiplatform):

  PRINT "HELLO WORLD!" ,100,100
  SHOWSCREEN
  MOUSEWAIT
  END

I get this:


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:f5df2e87 - 3D, NET
Wordcount:4 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE
Exception in thread "main" java.lang.RuntimeException: Failed to create Q:\Compiler\platform\android\android-sdk-windows\add-ons.
   at com.android.sdklib.SdkManager.loadAddOns(SdkManager.java:665)
   at com.android.sdklib.SdkManager.createManager(SdkManager.java:144)
   at com.android.sdkmanager.Main.parseSdk(Main.java:221)
   at com.android.sdkmanager.Main.run(Main.java:118)
   at com.android.sdkmanager.Main.main(Main.java:102)
Buildfile: build.xml does not exist!
Build failed
.
BUILD STAGE 2: Build DEBUG and install on device
Buildfile: build.xml does not exist!
Build failed
finished Android build-script.
Android=C:\Users\misforbruger\Documents\GLBasic\a\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 28.7 sec. Time: 20:03
Build: 1 succeeded.


What to do?
Thanks

MrTAToad

Try manually creating the add-ons directory in <program files>\Compiler\platform\android\android-sdk-windows\add-ons

funny_guy


quangdx

sorry for the cross posting but I'm at a hackjam so time is of the essence.
i'm getting the same error,
and have tried creating the folder in c:\program files\Compiler\platform\android\android-sdk-windows\add-ons
but no joy, what am I doing wrong or missing?
many thanks.
Asobi tech - the science of play.
Spare time indiegame developer.

MrTAToad

Dont create the directory through the Q drive though...