GLBasic forum

Main forum => GLBasic - en => Topic started by: Marmor on 2012-Aug-09

Title: compiling for android (II)
Post by: Marmor on 2012-Aug-09
Solved after plugin another  android device .
looks like windows is sometimes confused when I 





i get this error ..


_______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.9.829 SN:68f8ed17 - 3D, NET
Wordcount:44 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE
     [echo] Gathering info for glbasic...
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Handling aidl files...
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
    [javac] C:\glb\GLBasic\webtwintris\distribute\Android\gen\com\.webtwintris\R.java:8: error: malformed floating point literal
    [javac] package com..webtwintris;
    [javac]            ^
    [javac] 1 error

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:580: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:602: Compile failed; see the compiler error output for details.

Total time: 5 seconds
.
BUILD STAGE 2: Build DEBUG and install on device
     [echo] Gathering info for glbasic...
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Handling aidl files...
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...
    [javac] C:\glb\GLBasic\webtwintris\distribute\Android\gen\com\.webtwintris\R.java:8: error: malformed floating point literal
    [javac] package com..webtwintris;
    [javac]            ^
    [javac] 1 error

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:580: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:602: Compile failed; see the compiler error output for details.

Total time: 2 seconds
finished Android build-script.
Android=C:\glb\GLBasic\webtwintris\distribute\Android
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 28.1 sek. Zeit: 15:49
Erstellen: 1 erfolgreich.

no apk in /bin dir !?
whats wrong ?

source
b=1  whats all
Title: Re: compiling for android (II)
Post by: Schranz0r on 2012-Aug-10
Why you post in the german thread? :)
Title: Re: compiling for android (II)
Post by: Marmor on 2012-Aug-10
uhm öh hmm keine Ahnung  :whistle:
Title: Re: compiling for android (II)
Post by: MrTAToad on 2012-Aug-10
Does your project start with a digit or perhaps some other numeric operator ?
Title: Re: compiling for android (II)
Post by: Marmor on 2012-Aug-10
Ok i think i solved yet really .
In the post above i say i solved the error but after a lot compiling the error come back !
After reinstall Kies , some reboot , some deaktivate tests in the hardware manager ill have no luck .



Ill get the same error as above  so i cant find a solution with reinstall and reboot ,but for try out some things i will kill the android folder.
BUT THE DISTRIBUTE/ANDROID FOLDER wars Busy and i cant delete it  !!
Reboot , kill the distribute folder , create a new Project with the same Testprogramm and it will run !!
It looks like some windows services blocked the folder , so ill get this error !
After killing the folder and creating a new Project in another Location
the compiling  service runs fine and ill get an APK !

i hope this helps .

@MrTAToad

no i use no digit or numeric in the project name . (called webtris)
Title: Re: compiling for android (II)
Post by: Marmor on 2012-Aug-10
Danke fürs moven ich habe  :bed:
Title: Re: compiling for android (II)
Post by: MrTAToad on 2012-Aug-10
What about the company name ?  Does it have any invalid characters in there (spaces, numbers etc) ?

To kill the ADB system (so you can delete files), you need to call ADB KILL-SERVER from the command line (and assuming you have set up %PATH% correctly) :)