• 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 / Amazon Fire Build Android failed

After build android, output show
Code:
C:\WINDOWS\system32\cmd.exe /c "subst T: "Z:/SocketIO_403D62CE\Android\default" && T: && cd "com.exception.socketio" && "X:/Android\runner\gradle\gradlew" build  assembleRelease  -x lint  "
Exception in thread "main" java.lang.NullPointerException
    at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:38)
    at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:26)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
 

rIKmAN

Member
After build android, output show
Code:
C:\WINDOWS\system32\cmd.exe /c "subst T: "Z:/SocketIO_403D62CE\Android\default" && T: && cd "com.exception.socketio" && "X:/Android\runner\gradle\gradlew" build  assembleRelease  -x lint  "
Exception in thread "main" java.lang.NullPointerException
    at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:38)
    at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:26)
    at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
    at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Can you post the full compiler output?
 
Can you post the full compiler output?
"cmd" /c subst Z: "C:\Users\Tuan Anh\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0388878s for command "cmd" /c subst Z: "C:\Users\Tuan Anh\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 12/01/2019 05:59:04
"cmd" /c subst Y: "C:\Users\Tuan Anh\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0328733s for command "cmd" /c subst Y: "C:\Users\Tuan Anh\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 12/01/2019 05:59:04
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.4.374"

elapsed time 00:00:00.0339087s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.4.374" started at 12/01/2019 05:59:04
Saving project to: C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\SocketIO.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.4.374/bin/Igor.exe" -j=8 -options="C:\Users\Tuan Anh\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run

Loaded Macros from C:\Users\Tuan Anh\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\SocketIO_403D62CE\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Tuan Anh\AppData\Roaming/GameMakerStudio2\letuananh035_2006996\local_settings.json
Options: C:\Users\Tuan Anh\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\SocketIO_403D62CE\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="SocketIO" /td="Y:/" /cd="Z:/SocketIO_403D62CE" /zpuf="C:\Users\Tuan Anh\AppData\Roaming/GameMakerStudio2\letuananh035_2006996" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/SocketIO_403D62CE\functionsUsed.txt" /o="Y:/SocketIO_3CB4C6EB_YYC" /optionsini="Y:/SocketIO_3CB4C6EB_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\SocketIO.yyp" /preprocess="Z:/SocketIO_403D62CE"
Reading project file....C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
Options: Z:/SocketIO_403D62CE\ExtensionOptions.json
PlatformOptions
Options: Z:/SocketIO_403D62CE\PlatformOptions.json
Options: Z:/SocketIO_403D62CE\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="SocketIO" /td="Y:/" /cd="Z:/SocketIO_403D62CE" /zpuf="C:\Users\Tuan Anh\AppData\Roaming/GameMakerStudio2\letuananh035_2006996" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/SocketIO_403D62CE\functionsUsed.txt" /o="Y:/SocketIO_3CB4C6EB_YYC" /optionsini="Y:/SocketIO_3CB4C6EB_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\SocketIO.yyp" /arch=18 /bt=exe /rt=yyc
Reading project file....C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\options\main\inherited\options_main.inherited.yy'
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.
finished.
collapsing enums.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=60
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... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
ClangExeLocation=F:\SDK\ndk\20.1.5948944\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = F:\SDK\ndk\20.1.5948944
Using PlatformDir = F:\SDK\ndk\20.1.5948944\platforms\android-29
Using ARMToolChain = F:\SDK\ndk\20.1.5948944\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64
Using ARM64ToolChain = F:\SDK\ndk\20.1.5948944\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
saving file Y:/SocketIO_3CB4C6EB_YYC\SocketIO.droid
Android NDK: android-14 is unsupported. Using minimum supported version android-16.
Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 14 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_socket_object_Create_0.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_socket_object_Other_3.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_socket_object_Other_70.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_socket_object_Draw_0.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_socket_object_PreCreate_0.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_send_object_Mouse_4.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_send_object_Other_70.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= gml_Object_send_object_PreCreate_0.gml.cpp
[armeabi-v7a] Compile++ arm : yoyo <= SocketIO.vars.cpp
[armeabi-v7a] Prebuilt : libc++_shared.so <= <NDK>/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/
[arm64-v8a] Compile++ : yoyo <= gml_Object_socket_object_Create_0.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_socket_object_Other_3.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_socket_object_Other_70.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_socket_object_Draw_0.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_socket_object_PreCreate_0.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_send_object_Mouse_4.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_send_object_Other_70.gml.cpp
[arm64-v8a] Compile++ : yoyo <= gml_Object_send_object_PreCreate_0.gml.cpp
[armeabi-v7a] SharedLibrary : libyoyo.so
[arm64-v8a] Compile++ : yoyo <= SocketIO.vars.cpp
[arm64-v8a] Prebuilt : libc++_shared.so <= <NDK>/sources/cxx-stl/llvm-libc++/libs/arm64-v8a/
[armeabi-v7a] Install : libc++_shared.so => Y:/SocketIO_3CB4C6EB_YYC/lib/armeabi-v7a/libc++_shared.so
[arm64-v8a] Install : libc++_shared.so => Y:/SocketIO_3CB4C6EB_YYC/lib/arm64-v8a/libc++_shared.so
[arm64-v8a] SharedLibrary : libyoyo.so
[armeabi-v7a] Install : libyoyo.so => Y:/SocketIO_3CB4C6EB_YYC/lib/armeabi-v7a/libyoyo.so
[arm64-v8a] Install : libyoyo.so => Y:/SocketIO_3CB4C6EB_YYC/lib/arm64-v8a/libyoyo.so
Stats : GMA : Elapsed=3815.2408
Stats : GMA : sp=1,au=0,bk=0,pt=0,sc=0,sh=0,fo=1,tl=0,ob=2,ro=1,da=0,ex=1,ma=4,fm=0xA00008040220


X://bin/GMAssetCompiler.exe DONE (0)
AndroidEnvironment
Manifest Permissions
Manifest Metadata
Check GML functions
Licensing
1
Copying C:\Users\Tuan Anh\Documents\GameMakerStudio2\SocketIO\extensions\SocketIO\AndroidSource\java\SocketEngine.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\SocketEngine.java...
0
3
Copying X:/Android\runner\RootFiles\build.gradle to Z:/SocketIO_403D62CE\Android\default\build.gradle...
Copying X:/Android\runner\RootFiles\gradle.properties to Z:/SocketIO_403D62CE\Android\default\gradle.properties...
Copying X:/Android\runner\RootFiles\settings.gradle to Z:/SocketIO_403D62CE\Android\default\settings.gradle...
59
Copying X:/Android\runner\ProjectFiles\build.gradle to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\build.gradle...
Copying X:/Android\runner\ProjectFiles\lint.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\lint.xml...
Copying X:/Android\runner\ProjectFiles\libs\ini4j-0.5.2.jar to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\libs\ini4j-0.5.2.jar...
Copying X:/Android\runner\ProjectFiles\libs\org.apache.http.legacy.jar to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\libs\org.apache.http.legacy.jar...
Copying X:/Android\runner\ProjectFiles\src\main\AndroidManifest.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\AndroidManifest.xml...
Copying X:/Android\runner\ProjectFiles\src\main\assets\splash.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\assets\splash.png...
Copying X:/Android\runner\ProjectFiles\src\main\java\com\yoyogames\runner\RunnerJNILib.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\yoyogames\runner\RunnerJNILib.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\AdvertisingBase.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\AdvertisingBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoGLSurfaceView.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\DemoGLSurfaceView.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRenderer.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\DemoRenderer.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRendererGL2.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\DemoRendererGL2.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ExtensionBase.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\ExtensionBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdExt.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\IAdExt.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdvertising.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\IAdvertising.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IExtensionBase.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\IExtensionBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IniBundle.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\IniBundle.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ISocial.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\ISocial.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerActivity.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerActivity.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerAdExt.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerAdExt.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerApplication.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerApplication.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerKeyboardController.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerKeyboardController.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerSocial.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerSocial.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerVsyncHandler.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\RunnerVsyncHandler.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Gamepad\Gamepad.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\Gamepad\Gamepad.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\IRunnerBilling.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\Purchases\IRunnerBilling.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\Null\NullBilling.java to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\java\com\exception\socketio\Purchases\Null\NullBilling.java...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libc++_shared.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\arm64-v8a\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\arm64-v8a\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\armeabi\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libc++_shared.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\armeabi-v7a\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\armeabi-v7a\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\mips\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\mips\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\mips64\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\mips64\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86\libc++_shared.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\x86\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\x86\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86_64\libc++_shared.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\x86_64\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86_64\libyoyo.so to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\jniLibs\x86_64\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi\icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-hdpi\icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-hdpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-hdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-hdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-ldpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-ldpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-ldpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-ldpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-mdpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-mdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-mdpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-mdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xhdpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\icon.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\drawable-xxxhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\layout\main.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\layout\main.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\layout\userpasslayout.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\layout\userpasslayout.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\values\strings.xml to Z:/SocketIO_403D62CE\Android\default\com.exception.socketio\src\main\res\values\strings.xml...
DoSplash
DoIcon
C:\WINDOWS\system32\cmd.exe /c "subst T: "Z:/SocketIO_403D62CE\Android\default" && T: && cd "com.exception.socketio" && "X:/Android\runner\gradle\gradlew" build assembleRelease -x lint "
Exception in thread "main" java.lang.NullPointerException
at org.gradle.wrapper.BootstrapMainStarter.findLauncherJar(BootstrapMainStarter.java:38)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:26)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)


C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)
"cmd" /c subst Z: /d

elapsed time 00:03:26.8353763s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.4.374/bin/Igor.exe" -j=8 -options="C:\Users\Tuan Anh\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run started at 12/01/2019 05:59:04
elapsed time 00:00:00.0378626s for command "cmd" /c subst Z: /d started at 12/01/2019 06:02:30
"cmd" /c subst Y: /d

elapsed time 00:00:00.0349062s for command "cmd" /c subst Y: /d started at 12/01/2019 06:02:31
"cmd" /c subst X: /d

elapsed time 00:00:00.0339084s for command "cmd" /c subst X: /d started at 12/01/2019 06:02:31
---------- STOPPING ----------
FAILED: Run Program Complete
I used:
Build tool: 29.0.2
Support lib: 29.0.0
Target SDK: 29
Min SDK: 16
Compile SDK: 29

SDK Android Studio
NDK: 20.1.5948944
JRE: Android Studio
 
Last edited by a moderator:

rIKmAN

Member
Make sure you are using Android Studio 3.5 so that the version of the JDK you are pointing to is not v9 or higher as that is not supported by gradle as per the Android section of the GMS2 Required SDKs article.

If you create a fresh new empty project and try to compile to Android in the same way, does that work?

Have you tried targeting API 28, and does that work or give the same error?
What version of the IDE are you using?
 
JAVA JRE:
openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
I used API 28,it give the same error
IDE version: 2.2.4.474, Runtime: 2.2.4.374
 

rIKmAN

Member
How about a fresh new empty room project?

Try both VM and YYC, and make sure you clean the project cache between builds (including your own projects not just this empty room one).
 

rIKmAN

Member
If an empty room fails using default API values like 28 then the issue is with your build tools in general.

I’d recommend starting again fresh and following the GMS2 Android Setup Guide making sure to use the versions from the Required SDKs article linked throughout it and following it exactly.

Before doing that try matching your settings to those in that guide and see if that helps at all or the error message changes. If not go ahead and follow it through from start to finish,

Once done try compiling a fresh empty room project again, once that works we can look at any project specific issues as we’ll know the build tools are setup correctly.
 
Last edited:
Oh yeah, I fixed it
I try chang gradle version in "X:\android\runner\gradle\gradle\wrapper" to version gradle-5.2-all
Can you tell me which version of the gradle you are using?
 

rIKmAN

Member
Sorry I’m not at home at the moment but I can check when I get back.

However it’s whatever the default version is that gets installed as I’ve never changed it manually.
 
I have a question
How to write unicode in IDE?
Because when i write ể or ổ in IDE with vietnamese unicode, IDE replace to ? ?
It working only copy pase text unicode
In GMS 1, I use them normally
 

rIKmAN

Member
I have a question
How to write unicode in IDE?
Because when i write ể or ổ in IDE with vietnamese unicode, IDE replace to ? ?
It working only copy pase text unicode
In GMS 1, I use them normally
Not sure, maybe do a forum / Google search to see if you can find anything and if not make another thread specifically for that issue, someone will probably be able to help you out,
 
Top