• 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 Help With Android Repositor

Status
Not open for further replies.
G

GOD-sSs-END

Guest
Greetings,

I followed the GameMaker Studio 2 documentation regarding installing the Android Studio kit, complete with all necessary SDKs. I have green across the board for my paths, and I've installed APIs from the latest back to 25.0.0. I've set up an Android Pixel 2 via USB and tested the connection. My keystore is also good and adjusted for common bugs. But I'm still getting errors and failed builds, both in VM and YYC. And sometimes, the build just hangs on "Install Repository. . ."

Here's my output on YYC:

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Scroll to bottom for Settings

"cmd" /c subst Z: "C:\Users\User\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"
elapsed time 00:00:00.0380339s for command "cmd" /c subst Z: "C:\Users\User\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 09/06/2019 18:26:16
"cmd" /c subst Y: "C:\Users\User\AppData\Local\GameMakerStudio2\GMS2TEMP"
elapsed time 00:00:00.0360234s for command "cmd" /c subst Y: "C:\Users\User\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 09/06/2019 18:26:16
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344"
elapsed time 00:00:00.0370331s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.3.344" started at 09/06/2019 18:26:16
Saving project to: D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001\Enigma_GODHAC 001.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.3.344/bin/Igor.exe" -j=8 -options="C:\Users\User\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Android Run
Loaded Macros from C:\Users\User\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Enigma_GOD_7A114F79_643439FD\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\User\AppData\Roaming/GameMakerStudio2\davidallenfarrell_1968336\local_settings.json
Options: C:\Users\User\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\Enigma_GOD_7A114F79_643439FD\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Enigma_GODHAC 001" /td="Y:/" /cd="Z:/Enigma_GOD_7A114F79_643439FD" /zpuf="C:\Users\User\AppData\Roaming/GameMakerStudio2\davidallenfarrell_1968336" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Enigma_GOD_7A114F79_643439FD\functionsUsed.txt" /o="Y:/Enigma_GODHAC_001_188D1C2B_YYC" /optionsini="Y:/Enigma_GODHAC_001_188D1C2B_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001\Enigma_GODHAC 001.yyp" /preprocess="Z:/Enigma_GOD_7A114F79_643439FD"
Reading project file....D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001
Reading project file....X:\BaseProject
Reading config delta 'D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001\options\main\inherited\options_main.inherited.yy'
finished.
X://bin/GMAssetCompiler.exe DONE (0)
Release build
PlatformOptions
Options: Z:/Enigma_GOD_7A114F79_643439FD\PlatformOptions.json
Options: Z:/Enigma_GOD_7A114F79_643439FD\MainOptions.json
displayname
hostname
runtime
OptionsIni
PlatformOptions
X://bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="Enigma_GODHAC 001" /td="Y:/" /cd="Z:/Enigma_GOD_7A114F79_643439FD" /zpuf="C:\Users\User\AppData\Roaming/GameMakerStudio2\davidallenfarrell_1968336" /m=llvm-android /tgt=8 /llvmSource="X://yyc/" /nodnd /cfg="default" /fU="Z:/Enigma_GOD_7A114F79_643439FD\functionsUsed.txt" /o="Y:/Enigma_GODHAC_001_188D1C2B_YYC" /optionsini="Y:/Enigma_GODHAC_001_188D1C2B_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001\Enigma_GODHAC 001.yyp" /arch=16 /bt=exe /rt=yyc
Reading project file....D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001
Reading project file....X:\BaseProject
Reading config delta 'D:\my Games\Hell Let Loose\Apps\Enigma_GODHAC 001\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...
1 Compressing texture... writing texture texture_1.png...
Writing Chunk... AUDO
ClangExeLocation=C:\Android_NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = C:\Android_NDK
Using PlatformDir = C:\Android_NDK\platforms\android-29
Using ARM64ToolChain = C:\Android_NDK\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
saving file Y:/Enigma_GODHAC_001_188D1C2B_YYC\Enigma_GODHAC 001.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.
[arm64-v8a] Compile++ : yoyo <= Enigma_GODHAC_001.vars.cpp
[arm64-v8a] Install : libc++_shared.so => Y:/Enigma_GODHAC_001_188D1C2B_YYC/lib/arm64-v8a/libc++_shared.so
[arm64-v8a] SharedLibrary : libyoyo.so
[arm64-v8a] Install : libyoyo.so => Y:/Enigma_GODHAC_001_188D1C2B_YYC/lib/arm64-v8a/libyoyo.so
Stats : GMA : Elapsed=1753.5931
Stats : GMA : sp=26,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=14,ro=1,da=0,ex=0,ma=16,fm=0x200000000000
X://bin/GMAssetCompiler.exe DONE (0)
AndroidEnvironment
Manifest Permissions
Manifest Metadata
Check GML functions
Licensing
3
Copying X:/Android\runner\RootFiles\build.gradle to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\build.gradle...
Copying X:/Android\runner\RootFiles\gradle.properties to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\gradle.properties...
Copying X:/Android\runner\RootFiles\settings.gradle to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\settings.gradle...
67
Copying X:/Android\runner\ProjectFiles\build.gradle to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\build.gradle...
Copying X:/Android\runner\ProjectFiles\lint.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\lint.xml...
Copying X:/Android\runner\ProjectFiles\libs\ini4j-0.5.2.jar to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\libs\ini4j-0.5.2.jar...
Copying X:/Android\runner\ProjectFiles\libs\org.apache.http.legacy.jar to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\libs\org.apache.http.legacy.jar...
Copying X:/Android\runner\ProjectFiles\src\main\AndroidManifest.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\AndroidManifest.xml...
Copying X:/Android\runner\ProjectFiles\src\main\aidl\com\android\vending\billing\IInAppBillingService.aidl to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\aidl\com\android\vending\billing\IInAppBillingService.aidl...
Copying X:/Android\runner\ProjectFiles\src\main\aidl\com\android\vending\billing\IMarketBillingService.aidl to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\aidl\com\android\vending\billing\IMarketBillingService.aidl...
Copying X:/Android\runner\ProjectFiles\src\main\assets\splash.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\assets\splash.png...
Copying X:/Android\runner\ProjectFiles\src\main\java\com\android\vending\billing\IInAppBillingService.aidl to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\android\vending\billing\IInAppBillingService.aidl...
Copying X:/Android\runner\ProjectFiles\src\main\java\com\android\vending\billing\IMarketBillingService.aidl to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\android\vending\billing\IMarketBillingService.aidl...
Copying X:/Android\runner\ProjectFiles\src\main\java\com\yoyogames\runner\RunnerJNILib.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\yoyogames\runner\RunnerJNILib.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\AdvertisingBase.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\AdvertisingBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoGLSurfaceView.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\DemoGLSurfaceView.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRenderer.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\DemoRenderer.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\DemoRendererGL2.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\DemoRendererGL2.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ExtensionBase.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\ExtensionBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdExt.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\IAdExt.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IAdvertising.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\IAdvertising.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IExtensionBase.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\IExtensionBase.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\IniBundle.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\IniBundle.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\ISocial.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\ISocial.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerActivity.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerActivity.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerAdExt.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerAdExt.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerApplication.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerApplication.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerDownloadTask.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerDownloadTask.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerKeyboardController.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerKeyboardController.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerPreferenceActivity.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerPreferenceActivity.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerSocial.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerSocial.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\RunnerVsyncHandler.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\RunnerVsyncHandler.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Gamepad\Gamepad.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\Gamepad\Gamepad.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\IRunnerBilling.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\Purchases\IRunnerBilling.java...
Copying X:/Android\runner\ProjectFiles\src\main\java\YYAndroidPackageDomain\YYAndroidPackageCompany\YYAndroidPackageProduct\Purchases\Null\NullBilling.java to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\java\com\company\game\Purchases\Null\NullBilling.java...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libc++_shared.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\arm64-v8a\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\arm64-v8a\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\arm64-v8a\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\armeabi\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libc++_shared.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\armeabi-v7a\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\armeabi-v7a\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\armeabi-v7a\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\mips\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\mips\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\mips64\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\mips64\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86\libc++_shared.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\x86\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\x86\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86_64\libc++_shared.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\x86_64\libc++_shared.so...
Copying X:/Android\runner\ProjectFiles\src\main\jniLibs\x86_64\libyoyo.so to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\jniLibs\x86_64\libyoyo.so...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi\icon.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-hdpi\icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-hdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-hdpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-hdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-ldpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-ldpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-ldpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-ldpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-mdpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-mdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-mdpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-mdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xhdpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xxhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxhdpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xxhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\adaptive_bg.png to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\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:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xxxhdpi-v26\adaptive_icon.png...
Copying X:/Android\runner\ProjectFiles\src\main\res\drawable-xxxhdpi-v26\icon.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\drawable-xxxhdpi-v26\icon.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\layout\download.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\layout\download.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\layout\main.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\layout\main.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\layout\userpasslayout.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\layout\userpasslayout.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\values\strings.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\values\strings.xml...
Copying X:/Android\runner\ProjectFiles\src\main\res\xml\preferences.xml to Z:/Enigma_GOD_7A114F79_643439FD\Android\default\com.company.game\src\main\res\xml\preferences.xml...
DoSplash
DoIcon
C:\WINDOWS\system32\cmd.exe /c "subst U: "Z:/Enigma_GOD_7A114F79_643439FD\Android\default" && U: && cd "com.company.game" && "X:/Android\runner\gradle\gradlew" build assembleRelease -x lint "
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':com.company.game'.
> Could not resolve all dependencies for configuration ':com.company.game:_debugApkCopy'.
> Could not find com.android.support:support-v4:29.0.0.
Required by:
project :com.company.game
* 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: 4.035 secs
C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)

||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

Capture_GMS2 Support - Android 002_platform.PNG Capture_GMS2 Support - Android 001.PNG

I am at a loss and exhausted. I've spent all day on this issue. And none of the fixes I've found from threads by other users has been of any help, though I've tried every one I have found.

Please help! I need to straighten this out.

Sincerely.
 

FrostyCat

Redemption Seeker
Here are the lines of the compile log that should have told you what's wrong:
Code:
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.
Code:
> Could not find com.android.support:support-v4:29.0.0.
Solving the first is simple, just go to Options > Android > General and set Minimum SDK to 16 or higher. Also, 2.2.3 isn't officially ready for API 29 yet, so target API 28 until there's an update. The defaults given by the "Pre-populate SDK values" dropdown should suffice.

Solving the second is also simple, just install Android Support Repository from the SDK Manager in Android Studio. This screenshot from the official helpdesk article says it all:
 

SIG.

Member
I believe you need to build for API level 28, not 29.

If that does not help, are you using the YoYoGames Google Play Services extension?

Edit: FrostyCat beat me to it.
 
G

GOD-sSs-END

Guest
FrostyCat, thank you for the first solution. That was beyond me. I hadn't read anything like that anywhere. I felt a swell of relief when you mentioned it -- felt like I could breathe again. But as for the second, that's a much bigger problem. Please note the snippet provided. There's no support repository anymore.

Capture_GMS2 Support - Android 002_Manager shortfall.PNG
 
G

GOD-sSs-END

Guest
SIG, I'm not sure what "YoYoGames Google Play Services extension" this is. I can't give a definite answer. Can you direct me as to how I may find out?

I feel like I'm so close to solution, I'm not going to be able to sleep.
 

SIG.

Member
If you don't know what the extension is, you're almost certainly not using it. (It's an extension that you need to import to implement some Google Play Store functionality like ads, in-app purchases, and licensing.)

I'm not sure why you don't see the option to get the support repository. Other people seem to have been having that same problem. Your screenshot of Android Studio looks slightly different than mine. I wish I had a better suggestion, but I'm using Android Studio 3.4.2. Are you using Android Studio version 3.4.2 or higher?
 
G

GOD-sSs-END

Guest
As far as the extension, I'm not going to need them for what I'm doing. My app is free, and it's just a friendly, non-commercial thing for friends in my gaming community. I've got about 400 people. Nothing big. It's just for fun.

As far as the Studio version? Mine is 3.5. . . So that's it there. In my defense, that's what GMS2 is giving out, despite the doc snippet provided above. I followed that doc myself to set everything up. When I saw NDK was deprecated, I was like uh-oh. But I figured there was a way around that, and I found it. But when I saw no repository, and found only migration literature, I was like BIG uh-oh. . . I'm going to delete 3.5 and download the last version and give it a go.

I'll let you guys know.

Thanks so much.
 
G

GOD-sSs-END

Guest
No, no good.
 
Last edited by a moderator:

FrostyCat

Redemption Seeker
Go to the "SDK Update Sites" tab (just next to "SDK Tools" in the SDK Manager), and add this URL to the list if it isn't there:

https://dl.google.com/android/repository/addon2-1.xml

This should contain the Android Support Repository and Google Repository missing from your SDK Manager.

Edit: If it still doesn't show up on SDK Manager, you can take the command line route. Open a command line prompt, cd to tools\bin inside the Android SDK's directory, then call sdkmanager.bat to install Android Support Repository and Google Repository. This is what it looks like on my system (first line may vary for others, second line is always the same):
Code:
cd C:\Android\tools\bin
sdkmanager.bat "extras;android;m2repository" "extras;google;m2repository"
Let me know if this works. I just learned that Android 29 has changed the way the support library works (source), so the old Android Support Repository disappeared off the SDK manager UI starting with Android Studio 3.5. The command line options still exist, but may not be for long.
 
Last edited:
G

GOD-sSs-END

Guest
I reloaded Studio 3.5 and included the direct link to the repository, but the repository still didn't shown up under tools, even with the old items visible. I then went to the command line. The directory structure was a little different, but after entering the "bin" folder (via the path to which I installed Android Studio), I typed out the second command provided. Below is the result:

Capture_GMS2 Support - Android 003_Command line.PNG

Since it didn't work, I performed a search for the batch file. I found it under AppData. Apparently, although I installed Android Studio as close as possible to the root, the package installer still dropped the bulk of the program under the following path shown below. Once there, I performed the command, and It went okay.

Capture_GMS2 Support - Android 003_Command line - fix.PNG

But it still didn't work. Here are the errors that I found in the Output, starting from the bottom of the output:

1)

FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':com.company.game'.
> Could not resolve all dependencies for configuration ':com.company.game:_debugApkCopy'.
> Could not find com.android.support:support-v4:29.0.0.
Required by:
project :com.company.game
* 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: 3.616 secs
C:\WINDOWS\system32\cmd.exe exited with non-zero status (1)

2)

Writing Chunk... AUDO
ClangExeLocation=C:\Android_NDK\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe
Using NDKDir = C:\Android_NDK
Using PlatformDir = C:\Android_NDK\platforms\android-29
Using ARM64ToolChain = C:\Android_NDK\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64
saving file Y:/Enigma_GODHAC_001_194D207B_YYC\Enigma_GODHAC 001.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.
[arm64-v8a] Compile++ : yoyo <= Enigma_GODHAC_001.vars.cpp
[arm64-v8a] Install : libc++_shared.so => Y:/Enigma_GODHAC_001_194D207B_YYC/lib/arm64-v8a/libc++_shared.so
[arm64-v8a] SharedLibrary : libyoyo.so
[arm64-v8a] Install : libyoyo.so => Y:/Enigma_GODHAC_001_194D207B_YYC/lib/arm64-v8a/libyoyo.so
Stats : GMA : Elapsed=1774.7018
Stats : GMA : sp=26,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=14,ro=1,da=0,ex=0,ma=16,fm=0x200000000000

|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| END

I tried to solve "2" by simply loading all APIs down to 13 (for good measure). I then changed the min API to 14, but that didn't work. I then changed it back to 16. . . Still didn't work. Then, because my Android path is actually "C:\Users\User\AppData\Local\Android\" instead of the recommended, which is "C:\Android", I uninstalled Android Studio. Scrubbed the path location, and reinstalled the entire thing under "C:\Android" with everything it needs, to include performing the command-line work to unpack and install the repository manually. I then double-checked all my settings in GMS2 -- Game Options and Platform (Android), and pressed play.

The results were the same as above. Same Warning "2", same failure "1". . .

||||||||||||||||||||||||||||| NOTE:

Guys, if we can get this going, I will create a quick tutorial explaining how to do it for everyone until a solid fix comes down the pipe from GMS2. In fact, I will make that video a priority once I'm up and running. And I'll give you both credit, right out front in the video. You have my word.
 

Attachments

FrostyCat

Redemption Seeker
You need to set the minimum SDK to at least 16. This has been a requirement since last year. And you don't need all the API levels down to 13, I've been able to get it working with API 28 alone. Just stop trying to target API 29 for now.

The installation prompt you showed only seemed to have download Google Repository, but not Android Support Repository. Try installing this explicitly:
Code:
sdkmanager.bat "extras;android;m2repository"
Then physically verify this by checking the existence of C:\Android\extras\android\m2repository. You should also run sdkmanager.bat --licenses to accept the licenses of everything you downloaded, just in case.

Also, install your NDK using the SDK manager, such that it is in the same directory as the rest of your SDK. I think your build is failing because the NDK is not actually connected to your SDK. This is my GMS-side configuration screen and I've been able to compile.

screenshot.png
 
Last edited:

SIG.

Member
No need to credit me with anything, please! I think FrostyCat knows much more about this.

But I would suggest trying two things:

First, you still are getting the error that the repository cannot be found, so perhaps it still did not install correctly or in the place where it should be. Follow these directions to manually install the repository (and I think you could start by just using the direct link to version 47 rather than digging through the XML file looking for the latest version): https://stackoverflow.com/questions/36936271/installing-android-support-repository-offline

Second, make sure you have switched your build settings to API level 28, not 29. Be sure to click Apply or OK or else the change will not take effect.

I would not worry about the "android-14 is unsupported, switch to 16 or higher" error/warning, because I get that error/warning as well even though I am targeting 16 and have no problems. I think it's a bug in the GMS2 build process.
 
G

GOD-sSs-END

Guest
FrostyCat, can you post a snippet of your Game Options - Android, showing you Build settings?
 

FrostyCat

Redemption Seeker
These are the build settings of a blank-room project I started to test the build system:
stockSettings.png
Everything else is left as stock. Builds correctly.
 
G

GOD-sSs-END

Guest
THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!

I already had the API Pre-populate level and the target API set to 28, with a minimum API set to 16, but I did still have 29 set in the Support Library and in the Compile SDK. So I changed the 29s to 28s. I cringe to think that the 29s were the problem. Either way, I downloaded and replaced the repository. I also installed the obsolete NDK under the Android folder near the root. Not sure which did the trick, or if all were involved, but I am happy to report that I am now up and running. When my app popped up on my phone, I gasped with delight. . .

Thanks again, guys. Really. . . I can't thank you enough. I hope the oversized text says it all.

I am going to make a video, crediting at least FrostyCat. If not him either, then the forum itself. I'm not taking credit. I knew diddly. . .

Again, my sincere thanks. And the whole of my gaming community, "Hell Let Loose" (authentic WWII FPS), surely thanks you, too.

Man! I'm so excited, I almost love you guys. . .

lol. . .
 
G

GOD-sSs-END

Guest
No. . . They fixed it. They were all business, but hey? It's a friendly place, I like being friendly.

Hope that's not too much to ask, rlKmAN.
 

rIKmAN

Member
No. . . They fixed it. They were all business, but hey? It's a friendly place, I like being friendly.

Hope that's not too much to ask, rlKmAN.
I’m confused.

“Nothing???” Is meant to be friendly?
I don’t see any question that you still need answered, so I don’t understand why you posted that as though you are still waiting for an answer to something.

Or are you waiting for a “You’re welcome” type of back and forth?

Be as friendly as you want lol, it just seems like an odd bump to a solved thread.
 
G

GOD-sSs-END

Guest
OMG! dude. . .

Think "nothing???" with eyebrows raised and a smile, inviting any final response on their part to close, but without real expectation.

Please don't troll me anymore. You had nothing to do with any of the above solution. Your two cents is worth as much. Jesus! One in every group. . . Is this how you got to 4000+ posts? I will not respond to you further, but you probably will write back. Your kind always does. It's a compulsion.
 
Last edited by a moderator:

Nocturne

Friendly Tyrant
Forum Staff
Admin
Please don't troll me anymore.
I don't think that @rIKmAN is trolling.... You triple posted when only one post was required, with the second post reiterating what you said several times in the first post, and then your third post comes across as asking for more help for the issue which you'd previously said was solved... As such, his reply of "You said you fixed it, I'm not sure what your are expecting" is 100% reasonable, as the "Nothing????" can easily be interpreted as a request for further help, and in that post he's basically asking for clarification on what you mean. Nothing offensive or trollish in that.... You then clarify that you were simply trying to invite a reply (something like "You're welcome" I assume?), which, tbh, comes across as churlish and petty. It's difficult to judge tone of voice on the forums as there is no indication of TRUE inflection, but the lack of emoticons or anything else to symbolise having some fun, means that reading it "straight" is to be expected, hence the comment about being confused! As such, it seems to me to be an odd bump in every way (and not to mention against the forum rules) and I don't think that @rIKmAN is in any way trolling.

So, tl;dr; - This topic is closed as it's been solved, and I'd request that you don't unnecessarily bump topics or double/triple post, nor accuse members of trolling when they simply ask for clarification of intent.

:)
 
Status
Not open for further replies.
Top