• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android "Build successful" but doesn't work

Mornedil

Member
I'm having problems when building for android. I've created a new project with just an empty room, and I've tested it with both version 1.4.1757 on Steam, and the standalone EA version 1.9.505.

Here's the strange thing:
Play testing on version 1.4 gives no errors, and the YoYo Runner loads the game successfully.
Play testing on version 1.9 gives no errors either, but the YoYo Runner crashes as soon as it loads the game.

Creating a build with either version says "BUILD SUCCESSFUL" and creates an APK, but GameMaker also pops up another window saying there was a compile error. I can install the APK, but it crashes on launch.
(Compile log)

There are a lot of unexpected failures between lines 208 - 234, although I'm not sure what's causing it:
Code:
:com.companyname.emptyRoom:lintUnexpected failure during lint analysis of Gamepad.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getParameterizedType(TypeSystem.java:238)->TypeSystem.getParameterizedType(TypeSystem.java:261)->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)
Unexpected failure during lint analysis of GameStickDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of GenericDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaProDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of nVidiaShieldDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of NYKODevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of Gamepad.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getParameterizedType(TypeSystem.java:238)->TypeSystem.getParameterizedType(TypeSystem.java:261)->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)
Unexpected failure during lint analysis of GameStickDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of GenericDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaProDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of nVidiaShieldDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of NYKODevice.java (this is a bug in lint or one of the libraries it depends on)

Any ideas?
 
P

PlayLight

Guest
I'm having problems when building for android. I've created a new project with just an empty room, and I've tested it with both version 1.4.1757 on Steam, and the standalone EA version 1.9.505.

Here's the strange thing:
Play testing on version 1.4 gives no errors, and the YoYo Runner loads the game successfully.
Play testing on version 1.9 gives no errors either, but the YoYo Runner crashes as soon as it loads the game.

Creating a build with either version says "BUILD SUCCESSFUL" and creates an APK, but GameMaker also pops up another window saying there was a compile error. I can install the APK, but it crashes on launch.
(Compile log)

There are a lot of unexpected failures between lines 208 - 234, although I'm not sure what's causing it:
Code:
:com.companyname.emptyRoom:lintUnexpected failure during lint analysis of Gamepad.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getParameterizedType(TypeSystem.java:238)->TypeSystem.getParameterizedType(TypeSystem.java:261)->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)
Unexpected failure during lint analysis of GameStickDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of GenericDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaProDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of nVidiaShieldDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of NYKODevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of Gamepad.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getParameterizedType(TypeSystem.java:238)->TypeSystem.getParameterizedType(TypeSystem.java:261)->LookupEnvironment.createParameterizedType(LookupEnvironment.java:949)
Unexpected failure during lint analysis of GameStickDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of GenericDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of MogaProDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of nVidiaShieldDevice.java (this is a bug in lint or one of the libraries it depends on)
TypeSystem.getUnannotatedType(TypeSystem.java:180)->TypeSystem.getRawType(TypeSystem.java:268)->TypeSystem.getRawType(TypeSystem.java:297)->LookupEnvironment.createRawType(LookupEnvironment.java:999)
Unexpected failure during lint analysis of NYKODevice.java (this is a bug in lint or one of the libraries it depends on)

Any ideas?
Hey Mornedil,
To begin with, the reason you are getting the Build-error popup even though it compiled successfully, is because it could not find a connected device to push the APK to for installation.

'error: no devices/emulators found'

so if there is no device connected at build time, just disregard it.



In regards to the Unexpected failure in the lint analysis:
Just ignore these as well, they will be attended to in time and have no effect on your build what so ever.


With the crash you are getting on EA, make sure you have uninstall the project runner installed by 1.4.1757, in case it's a compatibility issue in the project runner.
If you still get a crash after that, we should look at your build settings.
 

Mornedil

Member
Thank you very much, uninstalling the YoYo Runner that was created by the 1.4 version of GM:S solved the crashing issue. I did not realize the runner itself had incompatibilities between different versions of GM:S. But it works now after letting version 1.9 install the YoYo Runner on my phone.
 
P

PlayLight

Guest
Thank you very much, uninstalling the YoYo Runner that was created by the 1.4 version of GM:S solved the crashing issue. I did not realize the runner itself had incompatibilities between different versions of GM:S. But it works now after letting version 1.9 install the YoYo Runner on my phone.
hahaa cool. that'll be $300, or at least a high-five.

edit.
Well you gave me a like, so consider us even ;)
 
Top