Android Can't Find GradleWrapperMain error when compiling

Z

Zaxter5

Guest
Hey everyone,

I have a super simple app that I simply am trying to run directly on my Android device (Xiaomi Mi5), however every time I run it, this happens:

Code:
Compile started: 8:29:33 PM
"C:\Users\Z&MHomePc\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\a9104.txt" /c /m=android /studio  /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=2 /cvm /tp=1024 /mv=1 /iv=0 /rv=0 /bv=1763 /gn="Clicker" /td="C:\Users\Z&MHomePc\AppData\Local" /cd="C:\Users\Z&MHomePc\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="127.0.0.1" /hprt="51268" /o="C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\Clicker" /optionsini="C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\gm_ttt_25803\Clicker.ini"   "C:\Users\Z&MHomePc\Documents\GameMaker\Projects\Clicker.gmx\Clicker.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.
Global scripts...finished.
Final Compile...finished.
Saving IFF file... C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\Clicker\Clicker.zip
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
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=7262.4549
Stats : GMA : sp=1,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=1,ro=1,da=0,ex=0,ma=1,fm=0x8000000
"C:\android_sdk\platform-tools\adb" get-state

device
"C:\android_sdk\platform-tools\adb" shell echo $INTERNAL_STORAGE


"C:\android_sdk\platform-tools\adb" shell echo $EXTERNAL_STORAGE

/sdcard
"C:\android_sdk\platform-tools\adb" get-state

device
"C:\android_sdk\platform-tools\adb" shell echo $INTERNAL_STORAGE


"C:\android_sdk\platform-tools\adb" shell echo $EXTERNAL_STORAGE

/sdcard
"C:\android_sdk\platform-tools\adb" shell mkdir -p "/sdcard/GMstudio"

"C:\android_sdk\platform-tools\adb" shell [ -d /sdcard/GMstudio ] && cd /sdcard/GMstudio; rm -r *; 

"C:\android_sdk\platform-tools\adb" push "C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\Clicker\\GameAssetsDROID.zip" /sdcard/GMstudio/GameAssetsDROID.zip

[100%] /sdcard/GMstudio/GameAssetsDROID.zip
"C:\android_sdk\platform-tools\adb" push "C:\Users\Z&MHomePc\AppData\Local\gm_ttt_53369\Clicker\\GameDownload.lock" /sdcard/GMstudio/GameDownload.lock

[100%] /sdcard/GMstudio/GameDownload.lock
"C:\android_sdk\platform-tools\adb"  shell cat /system/build.prop


# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=NRD90M
ro.build.display.id=NRD90M
ro.build.version.incremental=7.2.24
ro.build.version.sdk=24
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=7.0
ro.build.version.security_patch=2017-01-01
ro.build.version.base_os=
ro.build.date=Fri Feb 24 11:54:39 CST 2017
ro.build.date.utc=1487908479
ro.build.type=user
ro.build.user=builder
ro.build.host=c3-miui-ota-bd26.bj
ro.build.tags=release-keys
ro.build.flavor=gemini-user
ro.product.model=MI 5
ro.product.brand=Xiaomi
ro.product.name=gemini
ro.product.device=gemini
ro.product.mod_device=gemini_global
ro.product.board=QC_Reference_Phone
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.locale=en-GB
ro.wifi.channels=
ro.board.platform=msm8996
# ro.build.product is obsolete; use ro.product.device
ro.build.product=gemini
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=gemini-user 7.0 NRD90M 7.2.24 release-keys
ro.build.fingerprint=Xiaomi/gemini/gemini:7.0/NRD90M/7.2.24:user/release-keys
ro.build.characteristics=nosdcard
# end build properties
#
# from device/xiaomi/gemini/system.prop
#
#
# system.prop for msm8996
#

#rild.libpath=/system/lib/libreference-ril.so
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
#rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=RUIM
persist.radio.multisim.config=dsds
DEVICE_PROVISIONED=1
# Start in global mode
ro.telephony.default_network=20,20
ro.telephony.default_cdma_sub=0
persist.sys.ssr.restart_level=ALL_ENABLE
persist.sys.ssr.enable_ramdumps=1


debug.sf.hw=1
debug.egl.hw=1
debug.gralloc.enable_fb_ubwc=1
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false

ro.sf.lcd_density=480
#ro.hdmi.enable=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=false
#
# system props for the cne module
#
persist.cne.feature=1

#
# system props for the dpm module
#
persist.dpm.feature=1
persist.dpm.nsrm.bkg.evt=3955

#system prop for enabling/disabling Android XLAT
persist.net.doxlat=true

#system props for the MM modules
media.stagefright.enable-player=true
media.stagefright.enable-http=true
media.stagefright.enable-aac=true
media.stagefright.enable-qcp=true
media.stagefright.enable-fma2dp=true
media.stagefright.enable-scan=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
mm.enable.sec.smoothstreaming=true
av.debug.disable.pers.cache=true
#185971 is decimal sum of supported parsers in AAL
#37491 is decimal sum of supported codecs in AAL
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE
mm.enable.qcom_parser=1048575
persist.mm.enable.prefetch=true

# Additional i/p buffer in case of encoder DCVS
vidc.enc.dcvs.extra-buff-count=2

# Set default power mode to low power for encoder
vidc.debug.perf.mode=2

#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent

#system props for time-services
persist.timed.enable=true

#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report version 3.0
# 196609 is decimal for 0x30001 to report version 3.1
# 196610 is decimal for 0x30002 to report version 3.2
ro.opengles.version=196610

# system property for maximum number of HFP client connections
bt.max.hfpclient.connections=1

# System property for cabl
ro.qualcomm.cabl=0

# System property for AD
ro.qcom.ad=1
ro.qcom.ad.calib.data=/system/etc/calib.cfg
ro.qcom.ad.sensortype=2

# Display feature support
# bit0-ColorPrefer bit1-EyeCare bit2-AD bit3-CE bit4-CABC bit5-SRGB
ro.sys.display.support=63

#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1

#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true

#system prop for Bluetooth SOC type
qcom.bluetooth.soc=rome

#system prop for wipower support
#wipower not supported on gemini
#ro.bluetooth.wipower=false

#Set this true as ROME which is programmed
#as embedded wipower mode by deafult
#wipower not supported on gemini
#ro.bluetooth.emb_wp_mode=false

#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false

##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true

#system prop for RmNet Data
persist.rmnet.data.enable=true
persist.data.wda.enable=true
persist.data.df.dl_mode=5
persist.data.df.ul_mode=5
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.mux_count=8
persist.data.df.iwlan_mux=9
persist.data.df.dev_name=rmnet_usb0

#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
##property to choose between virtual/external wfd display
persist.sys.wfd.virtual=0

#property to enable sde downscale feature for external display
#sdm.debug.downscale_external=1

#property to specify the number of frames to skip before setting hint
sdm.perf_hint_window=50

#disable tunnel encoding
tunnel.audio.encode=false

#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=32

#Enable offload audio video playback by default
audio.offload.video=true

#Enable 16 bit PCM offload by default
audio.offload.pcm.16bit.enable=true

#Enable 24 bit PCM offload by default
audio.offload.pcm.24bit.enable=true

#Enable audio track offload by default
audio.offload.track.enable=false

#Enable music through deep buffer
audio.deep_buffer.media=true

#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true

#Enable multi channel aac through offload
audio.offload.multiaac.enable=true

# system prop for NFC DT
ro.nfc.port=I2C

#enable dsp gapless mode by default
audio.offload.gapless.enabled=true

#Offload min duration
audio.offload.min.duration.secs=15

#enable pbe effects
audio.safx.pbe.enabled=true

#parser input buffer size(256kb) in byte stream mode
audio.parser.ip.buffer.size=0

#property to enable WFD WL solution
ro.vendor.wl_library=libqti-wl.so

#property for vendor specific library
ro.vendor.gt_library=libqti-gt.so
ro.vendor.at_library=libqti-at.so
sys.games.gt.prof=1

#hwui properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=1024

#Disable property for Dolby ds2
audio.dolby.ds2.enabled=false

#Disable property for hard bypass
audio.dolby.ds2.hardbypass=false

audio.offload.passthrough=false
audio.offload.multiple.enabled=true

# button jack mode & switch
persist.sys.button_jack_profile=volume
persist.sys.button_jack_switch=0

# enable navigation bar
qemu.hw.mainkeys=1

#property to enable VDS WFD solution
persist.hwc.enable_vds=1

#Enable stm events
persist.debug.coresight.config=stm-events
#property to enable fingerprint
persist.qfp=false

#default pd_enable value
persist.sys.pd_enable=0
#Disable rotator split feature
sdm.debug.disable_rotator_split=1

#Enable for IMS feature
persist.radio.VT_HYBRID_ENABLE=1

#For specail cdma card sms issue
persist.radio.force_on_dc=true

#To distinguish 2g/3g/4g rat when do available network query
persist.radio.rat_on=combine

# disable strictmode
persist.sys.strictmode.disable=true

#Increase cached app limit
ro.sys.fw.bg_apps_limit=60

#Camera fullscreen doesn't show navigation bar
Camera.no_navigation_bar=true

#For RIJL netwrok video call
persist.radio.NO_STAPA=1

#enable cellbroadcast switch
persist.cellbroadcast.enabled=false

#property to set fingerpirnt vendor
ro.hardware.fingerprint=fpc
sys.fpc.tu.disabled=0

#Disable face beautification
persist.ts.postmakeup=false
persist.ts.rtmakeup=false

#adjust voice call volume steps
ro.config.vc_call_vol_steps=11
# button jack mode & switch
persist.sys.button_jack_profile=volume
persist.sys.button_jack_switch=0

#Set ims sip user agent
ro.build.software.version=Android7.0_8.1
ro.fota.oem=Xiaomi
ro.product.model=Mi5

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.miui.version.code_time=1487865600
ro.miui.ui.version.code=6
ro.miui.ui.version.name=V8
persist.nfc.smartcard.config=SIM1,SIM2,eSE1
ro.product.first_api_level=23
persist.sys.mcd_config_file=/system/etc/mcd_default.conf
persist.sys.klo=on
persist.sys.whetstone.level=2
ro.setupwizard.require_network=any
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=7.0_r3
drm.service.enabled=true
ro.ss.version=5.1.111
ro.ss.nohidden=true
dalvik.vm.heapgrowthlimit=256m
dalvik.vm.heapstartsize=8m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.sib16_support=1
persist.radio.custom_ecc=1
ro.frp.pst=/dev/block/bootdevice/by-name/frp
af.fast_track_multiplier=1
audio_hal.period_size=192
ro.qc.sdk.audio.fluencetype=none
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
tunnel.audio.encode=false
audio.offload.buffer.size.kb=64
audio.offload.video=true
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
audio.offload.track.enable=false
audio.deep_buffer.media=true
media.stagefright.audio.sink=280
use.voice.path.for.pcm.voip=true
audio.offload.multiaac.enable=true
audio.dolby.ds2.enabled=true
audio.dolby.ds2.hardbypass=true
audio.offload.passthrough=true
audio.offload.multiple.enabled=false
ro.qc.sdk.audio.ssr=false
audio.offload.gapless.enabled=true
audio.safx.pbe.enabled=true
audio.parser.ip.buffer.size=0
qcom.hw.aac.encoder=true
use.qti.sw.alac.decoder=true
use.qti.sw.ape.decoder=true
flac.sw.decoder.24bit.support=true
ro.btconfig.if=uart
ro.btconfig.dev=/dev/ttyHS0
ro.btconfig.vendor=qcom
ro.btconfig.chip=QCA6164
pm.dexopt.boot=interpret-only
dalvik.vm.dex2oat-min-free-mem=209715200
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm64.variant=kryo
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.miui.has_real_blur=1
ro.miui.has_handy_mode_sf=1
ro.mdtp.package_name2=com.qualcomm.qti.securemsm.mdtp.MdtpDemo
ro.product.mod_device=gemini_global
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
ro.com.android.mobiledata=false
ro.product.manufacturer=Xiaomi
ro.config.elder-ringtone=Angel.mp3
keyguard.no_require_sim=true
ro.com.android.dataroaming=false
persist.sys.mitalk.enable=true
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.product.cuptsm=XIAOMI|ESE|02|01
persist.power.useautobrightadj=true
persist.radio.apm_sim_not_pwdn=1
ro.config.max_starting_bg=4
persist.added_boot_bgservices=4
ro.com.google.clientidbase=android-xiaomi
ro.expect.recovery_id=0x39b8f22599430e6388d13a603689dbafc5b9c4b1000000000000000000000000

FastCreate started: 8:29:57 PM
FastCreate End File Copies: 8:29:59 PM
cmd /c "subst Z: "C:\Users\Z&MHomePc\Documents\GameMaker\Cache\Clicker\Android\Default" && Z: && cd \com.companyname.Clicker && "C:\Users\Z&MHomePc\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"  assembleRelease lint "

'MHomePc\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
cmd /c "subst /d Z:"

Lint Build report available at C:\Users\Z&MHomePc\Documents\GameMaker\Cache\Clicker\Android\Default\com.companyname.Clicker\build\outputs\lint-results.html
FastCreate End End: 8:30:01 PM
Compile finished: 8:30:02 PM

The main error occurring here, where it states that the Gradle file path is not recognised and that 'GradleWrapperMain' could not be found:
Code:
FastCreate started: 8:29:57 PM
FastCreate End File Copies: 8:29:59 PM
cmd /c "subst Z: "C:\Users\Z&MHomePc\Documents\GameMaker\Cache\Clicker\Android\Default" && Z: && cd \com.companyname.Clicker && "C:\Users\Z&MHomePc\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"  assembleRelease lint "

'MHomePc\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\' is not recognized as an internal or external command,
operable program or batch file.
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
cmd /c "subst /d Z:"

Lint Build report available at C:\Users\Z&MHomePc\Documents\GameMaker\Cache\Clicker\Android\Default\com.companyname.Clicker\build\outputs\lint-results.html
FastCreate End End: 8:30:01 PM
Compile finished: 8:30:02 PM

I'm a pretty massive newby when it comes to this Android exporting, however I've been using Gamemaker since GameMaker8. Any help would be appreciated!

~Thanks!
 
J

Jaren Nelson

Guest
I am having the same problem. Sorry for reviving a dead thread, but I can find absolutely nothing on this.
 
Top