compiling for android (II)

Previous topic - Next topic

Marmor

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

Schranz0r

Why you post in the german thread? :)
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Marmor

uhm öh hmm keine Ahnung  :whistle:

MrTAToad

Does your project start with a digit or perhaps some other numeric operator ?

Marmor

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)

Marmor

Danke fürs moven ich habe  :bed:

MrTAToad

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) :)