How to auto fullscreen on android and how to advertisement in game.

Previous topic - Next topic

MrTAToad

Are the icon.png files present in with the project ?

Szantai


MrTAToad

It could be several things :


  • Wrong version of Java (1.7 is known to cause problems and not just with GLBasic)
  • Icon.png file not present
  • Spaces or invalid characters in project name

If possible, make the project available.

Szantai

icon is ready
file name is correct
java: jdk1.7.0_03

this is configuration made ​​this program and run perfectly.

reinstall is full windows...? or only the devil is playing with me :D :D :D  :whip:

MrTAToad

One other you could try is clean the project.

Can you post the complete output when compiling.

Wampus

Ugh. I can relate to the pain here.

Many things can go wrong or need adjusting to get back to smooth sailing. Previously I found that having 64-bit Java as well as 32-bit Java SDKs and RTEs was causing all sorts of conflicts and issues with SDKs that require it, including compiling to Android with GLBasic. After a major system crash I reinstalled Win7 then ran into issues with Java 1.7. It worked for a while then, for no reason I could determine, some Java apps were failing or doing odd things. Now I stick to 1.6 only and tread carefully. Seems great so far.

Szantai

here is a new project.
error is unchanged.
apk is not created.
______________________________________
*** Configuration: ANDROID ***
precompiling:
GPC - GLBasic Precompiler V.10.104 SN:4cfb7754 - 3D, NET
Wordcount:3 commands
compile+link:
running Android build-script...
BUILD STAGE 1: Compile and pack RELEASE

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: 1 second
.
BUILD STAGE 2: Build DEBUG and install on device

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: 1 second
finished Android build-script.
Android=C:\Documents and Settings\LQ75\Asztal\test\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 6.4 sec. Time: 09:37
Build: 1 succeeded.


[attachment deleted by admin]

Szantai

i unistall the java7
install java jdk1.6.0_25
same error ...
I am very sad now ... :(

Szantai


MrTAToad

Good news!  It fails here, so it's just a matter of finding out why...

I believe the cause is that no company name field is found in the project...  Which means your company name field is empty... Might be a bug there...

Anyhoo, I've repackaged your project with a name, and it all compiles fine.

[attachment deleted by admin]

Szantai

your project perfectly.
My project does not work.
crazy what is wrong in my machine

MrTAToad

Clean the project and make sure there is a valid company name - then when you compile it should be okay.

Szantai