Problem when compiling to Android

Previous topic - Next topic

ChristianB

Hi when I compile my (first) game to Andriod, I get the following error message:
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:86a45f58 - 3D, NET
Wordcount:145 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...

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:771: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:787: null returned: 1

Total time: 3 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...

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:771: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:787: null returned: 1

Total time: 3 seconds
finished Android build-script.
Android=L:\Code\GLBasic\BubblePop\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 12.7 sec. Time: 14:39
Build: 1 succeeded.

I have tried to compile and run the sample OneMore with success (in Emulator), so my development environment seems ok.

Environment:
Windows 7 64 bit
GLBasic IDE, Version: 10.202 (Preemium version )
Android SDK Tools 1.16
Java JDK 1.6.0.310 32 bit (I have tried the newest version on another computer with same result)
Best Regards
Christian

MrTAToad

Some things that are worth checking :

A)  Make sure the icon.png file is present with the project
B)  Make sure no invalid characters are in company name
C)  Make sure company name is present.

ChristianB

Hi, thanx for your suggestion, but there is a icon.png in project folder. Company name i set to the 3 characters:sos
And I still have the problem...
Regards
Christian

Kitty Hello

Click the trashcan icon and retry then?

ChristianB

Project/Clean up worked!
Regards
Christian

MrTAToad

Yes, the cleaning bit is important.