GM2 build error only on Android and only for this particular project it seems. I've only updated my game and haven't messed with anything else. This has only occured since I updated to GM2 2.2.2.413 but...
... I have tried:
__________________
:com.myname.myapp:compileDebugJavaWithJavac
:com.myname.myapp:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
V:\com.myname.myapp\src\main\java\com\myname\myapp\Gamepad\MogaDevice.java:40: error: cannot find symbol
Gamepad.msMogaDevice = this;
^
symbol: variable msMogaDevice
location: class Gamepad
V:\com.myname.myapp\src\main\java\com\myname\myapp\Gamepad\MogaProDevice.java:43: error: cannot find symbol
Gamepad.msMogaDevice = this;
^
symbol: variable msMogaDevice
location: class Gamepad
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
:com.myname.myapp:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.myname.myapp:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.964 secs
... I have tried:
- Using GM2 latest beta version (No permission to export on this version? No, I'm not using a cracked GM2).
- Using GM2 2.2.413
- Using GM2 2.2.1.375
__________________
:com.myname.myapp:compileDebugJavaWithJavac
:com.myname.myapp:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
V:\com.myname.myapp\src\main\java\com\myname\myapp\Gamepad\MogaDevice.java:40: error: cannot find symbol
Gamepad.msMogaDevice = this;
^
symbol: variable msMogaDevice
location: class Gamepad
V:\com.myname.myapp\src\main\java\com\myname\myapp\Gamepad\MogaProDevice.java:43: error: cannot find symbol
Gamepad.msMogaDevice = this;
^
symbol: variable msMogaDevice
location: class Gamepad
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
:com.myname.myapp:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':com.myname.myapp:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.964 secs