• 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 Android export

shahin54

Member
Hi,
What does this message mean? " Execution failed for task ':com.home.Maze:compileReleaseJavaWithJavac'. "
Someone knows ?
Is it because of JDK? or GMS engine?
It is really a disaster to export an Android version in GMS.
 

chamaeleon

Member
Did you follow the required sdk installation instructions to the letter, or did you use your own judgement to pick what and which versions to install?
 

Mool

Member
the lines above Execution failed for task ':com.home.Maze:compileReleaseJavaWithJavac'. " are important. There you can see the java compiler errors.

Its prob an extension error.
 

FrostyCat

Member
It means that the Java compiler (which GMS uses to build Android final products) is unable to finish because something is written or set up incorrectly.

Scroll through the rest of the output logs and there will be clues as to what has gone wrong.
 

shahin54

Member
It means that the Java compiler (which GMS uses to build Android final products) is unable to finish because something is written or set up incorrectly.

Scroll through the rest of the output logs and there will be clues as to what has gone wrong.
I can't find output logs file.
 

Mool

Member
Just compile your game and if it doesnt work, then copy and past the console text and show it to us.
 

shahin54

Member
Create started: 7:39:24 AM
"C:\Program Files\gamemaker_studio\GMAssetCompiler.exe" /fU="C:\Users\shahin\AppData\Local\gm_ttt_90384\a70050.txt" /c /m=android /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /cvm /tp=1024 /mv=1 /iv=0 /rv=0 /bv=1757 /gn="duel" /td="C:\Users\shahin\AppData\Local" /cd="C:\Users\shahin\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="192.168.1.111" /hprt="51268" /optionsini="C:\Users\shahin\AppData\Local\gm_ttt_90384\gm_ttt_3299\duel.ini" /o="C:\Users\shahin\AppData\Local\gm_ttt_90384\gm_ttt_3299" "D:\game maker\duel.gmx\duel.project.gmx"

Reading project file....finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Final Compile...finished.
Saving IFF file... C:\Users\shahin\AppData\Local\gm_ttt_90384\gm_ttt_3299\duel.droid
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... TPAGE
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=1993.114
Stats : GMA : sp=3,au=0,bk=1,pt=0,sc=0,sh=0,fo=0,tl=0,ob=4,ro=1,da=0,ex=0,ma=2,fm=0x8000040
cmd /c ""C:\Program Files\gamemaker_studio\Android\runner\gradle\gradlew"" build -x assembleDebug

:com.companyname.duel:preBuild UP-TO-DATE
:com.companyname.duel:preReleaseBuild UP-TO-DATE
:com.companyname.duel:checkReleaseManifest
:com.companyname.duel:preDebugBuild UP-TO-DATE
:com.companyname.duel:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:com.companyname.duel:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:com.companyname.duel:prepareReleaseDependencies
:com.companyname.duel:compileReleaseAidl UP-TO-DATE
:com.companyname.duel:compileReleaseRenderscript UP-TO-DATE
:com.companyname.duel:generateReleaseBuildConfig UP-TO-DATE
:com.companyname.duel:generateReleaseAssets UP-TO-DATE
:com.companyname.duel:mergeReleaseAssets
:com.companyname.duel:generateReleaseResValues UP-TO-DATE
:com.companyname.duel:generateReleaseResources UP-TO-DATE
:com.companyname.duel:mergeReleaseResources UP-TO-DATE
:com.companyname.duel:processArmeabi-v7aReleaseManifest UP-TO-DATE
:com.companyname.duel:processArmeabi-v7aReleaseResources
:com.companyname.duel:processArmeabiReleaseManifest UP-TO-DATE
:com.companyname.duel:processArmeabiReleaseResources
:com.companyname.duel:processMipsReleaseManifest UP-TO-DATE
:com.companyname.duel:processMipsReleaseResources
:com.companyname.duel:processUniversalReleaseManifest UP-TO-DATE
:com.companyname.duel:processUniversalReleaseResources
:com.companyname.duel:processX86ReleaseManifest UP-TO-DATE
:com.companyname.duel:processX86ReleaseResources
:com.companyname.duel:generateReleaseSources
:com.companyname.duel:processReleaseJavaRes UP-TO-DATE
:com.companyname.duel:compileReleaseJavaWithJavacC:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerActivity.java:140: error: cannot find symbol
private static IRunnerBilling mRunnerBilling;
^
symbol: class IRunnerBilling
location: class RunnerActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerActivity.java:141: error: cannot find symbol
public static IRunnerBilling RunnerBilling() {
^
symbol: class IRunnerBilling
location: class RunnerActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:22: error: cannot find symbol
import com.companyname.duel.IGamepadDevice;
^
symbol: class IGamepadDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:24: error: cannot find symbol
import com.companyname.duel.GameStickDevice;
^
symbol: class GameStickDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:39: error: cannot find symbol
static ArrayList<IGamepadDevice> msGamepadList = new ArrayList<IGamepadDevice>();
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:46: error: cannot find symbol
public static IGamepadDevice msMogaDevice = null; // there is only one Moga device
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:52: error: cannot find symbol
static HashMap<String, IGamepadDevice> msDevice2Gamepad = new HashMap<String, IGamepadDevice>();
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:53: error: cannot find symbol
static ArrayList<IGamepadDeviceFactory> msGamepadDeviceFactories = new ArrayList<IGamepadDeviceFactory>();
^
symbol: class IGamepadDeviceFactory
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:431: error: cannot find symbol
static private IGamepadDevice GetGamepadDevice(String deviceName, String deviceId)
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:14: error: cannot find symbol
import com.companyname.duel.IGamepadDevice;
^
symbol: class IGamepadDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:16: error: cannot find symbol
public class GenericDevice extends IGamepadDevice
^
symbol: class IGamepadDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:12: error: cannot find symbol
import com.companyname.duel.IGamepadDevice;
^
symbol: class IGamepadDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:14: error: cannot find symbol
public class MogaDevice extends IGamepadDevice
^
symbol: class IGamepadDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:12: error: cannot find symbol
import com.companyname.duel.IGamepadDevice;
^
symbol: class IGamepadDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:14: error: cannot find symbol
public class MogaProDevice extends IGamepadDevice
^
symbol: class IGamepadDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\NYKODevice.java:12: error: cannot find symbol
import com.companyname.duel.IGamepadDevice;
^
symbol: class IGamepadDevice
location: package com.companyname.duel
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\NYKODevice.java:14: error: cannot find symbol
public class NYKODevice extends IGamepadDevice
^
symbol: class IGamepadDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerActivity.java:1037: error: cannot find symbol
Intent settingsActivity = new Intent( getBaseContext(), RunnerPreferenceActivity.class );
^
symbol: class RunnerPreferenceActivity
location: class RunnerActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerActivity.java:1785: error: cannot find symbol
mRunnerBilling = (IRunnerBilling)RunnerBilling;
^
symbol: class IRunnerBilling
location: class RunnerActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerActivity.java:1797: error: cannot find symbol
mRunnerBilling = new NullBilling(this);
^
symbol: class NullBilling
location: class RunnerActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\RunnerDownloadTask.java:86: error: cannot find symbol
Intent settingsActivity = new Intent( RunnerJNILib.ms_context, RunnerPreferenceActivity.class );
^
symbol: class RunnerPreferenceActivity
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:39: error: cannot find symbol
static ArrayList<IGamepadDevice> msGamepadList = new ArrayList<IGamepadDevice>();
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:52: error: cannot find symbol
static HashMap<String, IGamepadDevice> msDevice2Gamepad = new HashMap<String, IGamepadDevice>();
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:53: error: cannot find symbol
static ArrayList<IGamepadDeviceFactory> msGamepadDeviceFactories = new ArrayList<IGamepadDeviceFactory>();
^
symbol: class IGamepadDeviceFactory
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:118: error: cannot find symbol
IGamepadDeviceFactory gdf = msGamepadDeviceFactories.get( i );
^
symbol: class IGamepadDeviceFactory
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:157: error: cannot find symbol
IGamepadDevice device = null;
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:159: error: cannot find symbol
IGamepadDeviceFactory gdf = msGamepadDeviceFactories.get( i );
^
symbol: class IGamepadDeviceFactory
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:173: error: cannot find symbol
else if (bd.getName().contains(GameStickDevice.DeviceDescriptor)) {
^
symbol: variable GameStickDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:174: error: cannot find symbol
device = new GameStickDevice(bd.getName());
^
symbol: class GameStickDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:222: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(n);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:263: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(n);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:366: error: cannot find symbol
IGamepadDevice device = null;
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:370: error: cannot find symbol
IGamepadDeviceFactory gdf = msGamepadDeviceFactories.get( i );
^
symbol: class IGamepadDeviceFactory
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:378: error: cannot find symbol
device = new nVidiaShieldDevice(joystick.getName());
^
symbol: class nVidiaShieldDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:380: error: cannot find symbol
else if (joystick.getName().contains(GameStickDevice.DeviceDescriptor)) {
^
symbol: variable GameStickDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:381: error: cannot find symbol
device = new GameStickDevice(joystick.getName());
^
symbol: class GameStickDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:419: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(n);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:443: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(n);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:526: error: cannot find symbol
IGamepadDevice device = GetGamepadDevice((String)msInputDeviceMethods.get("getName").invoke(inputDevice), (String)msInputDeviceMethods.get("getDescriptor").invoke(inputDevice));
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:533: error: cannot find symbol
IGamepadDevice device = GetGamepadDevice((String)msInputDeviceMethods.get("getName").invoke(inputDevice),Integer.toString(ev.getDeviceId()));
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:561: error: cannot find symbol
IGamepadDevice device = null;
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:612: error: cannot find symbol
IGamepadDevice device;
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:670: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(deviceIndex - 1);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:688: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(deviceIndex - 1);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:709: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(deviceIndex - 1);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java:727: error: cannot find symbol
IGamepadDevice device = msGamepadList.get(deviceIndex - 1);
^
symbol: class IGamepadDevice
location: class Gamepad
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:78: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:81: error: cannot find symbol
if(mBluetoothDevice!=null)
^
symbol: variable mBluetoothDevice
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:82: error: cannot find symbol
return mBluetoothDevice.getName();
^
symbol: variable mBluetoothDevice
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:292: error: cannot find symbol
case STICK_LEFT:
^
symbol: variable STICK_LEFT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:296: error: cannot find symbol
case STICK_RIGHT:
^
symbol: variable STICK_RIGHT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:300: error: cannot find symbol
case FACE1:
^
symbol: variable FACE1
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:303: error: cannot find symbol
case FACE2:
^
symbol: variable FACE2
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:306: error: cannot find symbol
case FACE3:
^
symbol: variable FACE3
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:309: error: cannot find symbol
case FACE4:
^
symbol: variable FACE4
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:312: error: cannot find symbol
case SHOULDER_LEFT:
^
symbol: variable SHOULDER_LEFT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:315: error: cannot find symbol
case SHOULDER_RIGHT:
^
symbol: variable SHOULDER_RIGHT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:318: error: cannot find symbol
case SHOULDER_LEFT_BOTTOM:
^
symbol: variable SHOULDER_LEFT_BOTTOM
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:321: error: cannot find symbol
case SHOULDER_RIGHT_BOTTOM:
^
symbol: variable SHOULDER_RIGHT_BOTTOM
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:324: error: cannot find symbol
case SELECT:
^
symbol: variable SELECT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:327: error: cannot find symbol
case START:
^
symbol: variable START
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:330: error: cannot find symbol
case PAD_UP:
^
symbol: variable PAD_UP
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:333: error: cannot find symbol
case PAD_DOWN:
^
symbol: variable PAD_DOWN
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:336: error: cannot find symbol
case PAD_LEFT:
^
symbol: variable PAD_LEFT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:339: error: cannot find symbol
case PAD_RIGHT:
^
symbol: variable PAD_RIGHT
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:343: error: cannot find symbol
case AXIS_LEFT_HORIZONTAL:
^
symbol: variable AXIS_LEFT_HORIZONTAL
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:346: error: cannot find symbol
case AXIS_LEFT_VERTICAL:
^
symbol: variable AXIS_LEFT_VERTICAL
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:349: error: cannot find symbol
case AXIS_RIGHT_HORIZONTAL:
^
symbol: variable AXIS_RIGHT_HORIZONTAL
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\GenericDevice.java:352: error: cannot find symbol
case AXIS_RIGHT_VERTICAL:
^
symbol: variable AXIS_RIGHT_VERTICAL
location: class GenericDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:43: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:46: error: cannot find symbol
if(mBluetoothDevice!=null)
^
symbol: variable mBluetoothDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:47: error: cannot find symbol
return mBluetoothDevice.getName();
^
symbol: variable mBluetoothDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:153: error: cannot find symbol
case STICK_LEFT:
^
symbol: variable STICK_LEFT
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:155: error: cannot find symbol
case STICK_RIGHT:
^
symbol: variable STICK_RIGHT
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:158: error: cannot find symbol
case IGamepadDevice.FACE1:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:161: error: cannot find symbol
case IGamepadDevice.FACE2:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:164: error: cannot find symbol
case IGamepadDevice.FACE3:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:167: error: cannot find symbol
case IGamepadDevice.FACE4:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:170: error: cannot find symbol
case IGamepadDevice.SHOULDER_LEFT:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:173: error: cannot find symbol
case IGamepadDevice.SHOULDER_RIGHT:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:176: error: cannot find symbol
case IGamepadDevice.SHOULDER_LEFT_BOTTOM:
^
symbol: variable IGamepadDevice
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:178: error: cannot find symbol
case SHOULDER_RIGHT_BOTTOM:
^
symbol: variable SHOULDER_RIGHT_BOTTOM
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:180: error: cannot find symbol
case SELECT:
^
symbol: variable SELECT
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:183: error: cannot find symbol
case START:
^
symbol: variable START
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:186: error: cannot find symbol
case PAD_UP:
^
symbol: variable PAD_UP
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:189: error: cannot find symbol
case PAD_DOWN:
^
symbol: variable PAD_DOWN
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:192: error: cannot find symbol
case PAD_LEFT:
^
symbol: variable PAD_LEFT
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:195: error: cannot find symbol
case PAD_RIGHT:
^
symbol: variable PAD_RIGHT
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:199: error: cannot find symbol
case AXIS_LEFT_HORIZONTAL:
^
symbol: variable AXIS_LEFT_HORIZONTAL
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:202: error: cannot find symbol
case AXIS_LEFT_VERTICAL:
^
symbol: variable AXIS_LEFT_VERTICAL
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:205: error: cannot find symbol
case AXIS_RIGHT_HORIZONTAL:
^
symbol: variable AXIS_RIGHT_HORIZONTAL
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaDevice.java:208: error: cannot find symbol
case AXIS_RIGHT_VERTICAL:
^
symbol: variable AXIS_RIGHT_VERTICAL
location: class MogaDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:46: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:49: error: cannot find symbol
if(mBluetoothDevice!=null)
^
symbol: variable mBluetoothDevice
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:50: error: cannot find symbol
return mBluetoothDevice.getName();
^
symbol: variable mBluetoothDevice
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:170: error: cannot find symbol
case STICK_LEFT:
^
symbol: variable STICK_LEFT
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:173: error: cannot find symbol
case STICK_RIGHT:
^
symbol: variable STICK_RIGHT
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:177: error: cannot find symbol
case IGamepadDevice.FACE1:
^
symbol: variable IGamepadDevice
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:180: error: cannot find symbol
case IGamepadDevice.FACE2:
^
symbol: variable IGamepadDevice
location: class MogaProDevice
C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\MogaProDevice.java:183: error: cannot find symbol
case IGamepadDevice.FACE3:
^
symbol: variable IGamepadDevice
location: class MogaProDevice
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\shahin\Documents\GameMaker\Cache\duel\Android\Default\com.companyname.duel\src\main\java\com\companyname\duel\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.companyname.duel:compileReleaseJavaWithJavac'.
> 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: 23.117 secs
Create finished: 7:39:59 AM

----------------------------------------------------------------------

I have done this before but my problem has not been solved.
An ordinary user can not solve the problem this way.
The error message should be clearer.
 

FrostyCat

Member
All the missing class errors in your logs point either to billing or game controllers.

For billing, install the corresponding libraries in the Android SDK manager, as instructed by the helpdesk article on Android setup:
The helpdesk article said:
To start with you can leave the Tools folder "as is" (it should have selected Android SDK Tools, Build Tools and Platform Tools), and also leave the default Android API that is to be installed (it will have checked the most up-to-date version, but you can run the SDK Manager again later and add further APIs as required). However before installing these you should also check a few things in the Extras folder, namely:

  • Android Support Repository
  • All Extras with "Google" in the title (Google Play Services, Google Play Billing Library, Google USB Driver, etc... see the image below for an example setup)
These are not all going to be used for a simple game on Android (except the Support Library, which is essential), but if you wish to include any type of publicity or online services then you will need them, so it's best to have them installed now to save time later.

Android_ExtrasFolder.png


Note that while installing the packages you may need to accept certain licence agreements and the SDK Manager may require you to restart (in which case simply close the SDK Manager and run the Android.bat file then continue).

IMPORTANT! Make sure to take note of the Build Tools Rev. (Version) number as well that of the API installed, as you will need these later in GameMaker: Studio 1.4.
For game controllers, enable "Bluetooth gamepad/iCade Support" and set the minimum SDK level to at least 13, as shown in this Reddit thread.

And in case you still didn't get the message, remember that GMS 1.4 cannot build Google Play compliant APKs anymore. Anything you build here is for private use only going forward.
 

rIKmAN

Member
Why can't I upload photos?
The server seems to be having issues with image uploads the moment, see this thread and use the workaround I posted there in the meantime.
Can anyone send their sdk image?
The guide Frosty linked you to contains images of the SDK Manager and highlights all the relevant things you need to download.
Just follow that guide through carefully.

Also you shouldn't make 4 posts in a row in a short space of time, it's called "thread bumping" and is against forum rules.
Instead use the "Edit" button on your posts and add any other information or questions into it until someone has time to respond.
 

FrostyCat

Member
Did you even see this screenshot from the helpdesk article?

It clearly shows the following being installed that are not present in your screenshot:
  • Google Repository
  • Google Play APK Expansion library
  • Google Play Licensing Library
  • Google Play Billing Library
You would also need the Google USB Driver and Google Web Driver if you are testing with a Google device.
 

renex

Member
check the obsolete box and see if they pop up in your list, i think i remember having to do that to set things up for android yyc a long time ago.
 

shahin54

Member
Did you even see this screenshot from the helpdesk article?

It clearly shows the following being installed that are not present in your screenshot:
  • Google Repository
  • Google Play APK Expansion library
  • Google Play Licensing Library
  • Google Play Billing Library
You would also need the Google USB Driver and Google Web Driver if you are testing with a Google device.
Have a direct link to download ?
 

FrostyCat

Member
These things are typically not downloaded via direct links, so don't bother asking.

Go to Tools > Manage-add-ons sites > User Defined Sites and add the following repository sources if they are not already there:


Then restart your SDK manager and see if the needed items reappear.

Also, I must remind you again that GMS 1.4 cannot export to Google Play anymore. If you insist on working with Google Play Billing, then switch to GMS 2.3 immediately and move your topic to the GMS 2 section.
 

FrostyCat

Member
I think you should just completely uninstall your current SDK manager and switch to the one in Android Studio. You are making yourself impossible to support for having a setup that most of those who do have it working do not have. There is a warning on the helpdesk article for Android setup about this:
IMPORTANT! The command line tools are now deprecated by Google and if you don't already have a command line tools installation we recommend that you use Android Studio for all your Android SDK requirements going forward.
And for the last time, stop trying to work with Google Play using GMS 1.4.
 

rIKmAN

Member
I have Android Studio. Can i use it for manage SDK?
Read the guide that has been linked for you multiple times, because that question shows that you haven't even looked at it.
You've spent over a week asking questions and waiting for answers when you could have taken 10mins to go through that guide which answers everything you are asking.

The second section of the guide walks you through setting up Android Studio including showing you exactly which packages to download.
Follow it slowly and carefully from start to finish, you have to put some effort in yourself to get things working but all the information you need is there in the step-by-step guide.

As has been mentioned, you are not going to be able to use any of the Google Play services or upload to the store using v1.4, so if that is your intention then save yourself the time and look into moving over to GMS2.
If you just want to deploy to your own attached device(s) then you should be fine.
 

shahin54

Member
Read the guide that has been linked for you multiple times, because that question shows that you haven't even looked at it.
You've spent over a week asking questions and waiting for answers when you could have taken 10mins to go through that guide which answers everything you are asking.

The second section of the guide walks you through setting up Android Studio including showing you exactly which packages to download.
Follow it slowly and carefully from start to finish, you have to put some effort in yourself to get things working but all the information you need is there in the step-by-step guide.

As has been mentioned, you are not going to be able to use any of the Google Play services or upload to the store using v1.4, so if that is your intention then save yourself the time and look into moving over to GMS2.
If you just want to deploy to your own attached device(s) then you should be fine.
I have Required SDKs.

Untitled-2.jpg

But my problem still exists.
 

rIKmAN

Member
I have Required SDKs.

View attachment 38220

But my problem still exists.
So you’re saying that you uninstalled everything and started from the beginning of the guide, you installed Android Studio and all the missing packages/libraries and followed the guide exactly.

You then tried to compile a new fresh empty project, but the error message you have didn’t change at all from the one you gave in your first post?

What version of GMS 1.4 are you using?
 
Last edited:

shahin54

Member
So you’re saying that you uninstalled everything and started from the beginning of the guide, you installed Android Studio and all the missing packages/libraries and followed the guide exactly.

You then tried to compile a new fresh empty project, but the error message you have didn’t change at all from the one you gave in your first post?

What version of GMS 1.4 are you using?
Version 1.4.1757
 

rIKmAN

Member
Version 1.4.1757
If you are using that version because it's cracked/pirated then you aren't going to get any help here and the thread will likely be locked.

If you do have a legit licence, login to your account on the YYG website and download v1.4.9999 and go through the setup guide again using that version.
 

shahin54

Member
If you are using that version because it's cracked/pirated then you aren't going to get any help here and the thread will likely be locked.

If you do have a legit licence, login to your account on the YYG website and download v1.4.9999 and go through the setup guide again using that version.
where is it? I can't find it.
 

rIKmAN

Member
1) Login at https://www.yoyogames.com/
2) Click GAMEMAKER in the menu on the left.
3) Click Download in the menu that slides down.
4) Click the GameMaker: Studio 1.4 heading.
5) Click the DOWNLOAD button to get the 1.4.9999 installer.

If you don't see a button to download check which licences are owned/linked to your account by clicking Products in Step 3 in instead.
 

shahin54

Member
1) Login at https://www.yoyogames.com/
2) Click GAMEMAKER in the menu on the left.
3) Click Download in the menu that slides down.
4) Click the GameMaker: Studio 1.4 heading.
5) Click the DOWNLOAD button to get the 1.4.9999 installer.

If you don't see a button to download check which licences are owned/linked to your account by clicking Products in Step 3 in instead.
There is only the latest version .
Untitled-3.jpg
 

rIKmAN

Member
There is only the latest version .
Are any 1.4 licences listed as owned by your account?
Check using the instructions I posted above to see what licences your account actually has linked to it.

Given that there is no heading for GMS 1.4 in the download section it would seem that you don't actually own any (which is odd considering you have access to the Android export in 1757....) but if you are sure that you have previously purchased 1.4 licence(s) when they were available then you will need to contact support and discuss it with them to sort out whatever the issue may be with regards to them not showing up on your account.
 

FoxyOfJungle

Kazan Games
Dude, don't use the command line to download the SDK, just don't use it, because it's very obsolete. Download the SDK through Android Studio, using the same version mentioned in the link below.

Everything you need, with all the details, including Required SDK's, can be found on this page:


Just read carefully and do exactly what is written, be sure if you not downloaded something due to negligence or not knowing what it is, try to know what it is. Tip: Download the NDK side-by-side at the time of installation. Also use the latest version of GMS 2. I'm sure it will work if you follow everything to the letter, because it is well explained. 🙂
 

shahin54

Member
Dude, don't use the command line to download the SDK, just don't use it, because it's very obsolete. Download the SDK through Android Studio, using the same version mentioned in the link below.

Everything you need, with all the details, including Required SDK's, can be found on this page:


Just read carefully and do exactly what is written, be sure if you not downloaded something due to negligence or not knowing what it is, try to know what it is. Tip: Download the NDK side-by-side at the time of installation. Also use the latest version of GMS 2. I'm sure it will work if you follow everything to the letter, because it is well explained. 🙂
This is my Android studio :
Untitled-4.jpg

Untitled-5.jpg

I can't add new component.
As I said before, I used the same version, but due to a system virus, I had to reinstall all the programs. The error message is also due to a component of SDK that is not installed
Why does the error message not show the required component?
 
Top