• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • 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 [SOLVED]Android compiling error

3jgamesdev

Member
Hi good day,

Im using the latest version of Gm1.4 and i wasnt able to compile an apk, i want to know the settings in android sdk, as of now i was able to browse the ndk and jdk, but my problem is the lint error, i dont know how to fix it, i try everything and reinstalling even the program itself but still i got the error, i was able to compile apk in android studio but in game maker i wasnt able to get its apk,

Code:
Create started: 10:43:33 PM
"C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="C:\Users\Administrator\AppData\Local\gm_ttt_37245\a60400.txt" /c /m=android   /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=2 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=1773 /gn="May Eight" /td="C:\Users\Administrator\AppData\Local" /cd="C:\Users\Administrator\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="192.168.1.3" /hprt="51268" /optionsini="C:\Users\Administrator\AppData\Local\gm_ttt_37245\gm_ttt_25345\May Eight.ini" /o="C:\Users\Administrator\AppData\Local\gm_ttt_37245\gm_ttt_25345" "D:\May Eight.gmx\May Eight.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\Administrator\AppData\Local\gm_ttt_37245\gm_ttt_25345\May Eight.droid
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
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
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
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=5621.3216
Stats : GMA : sp=25,au=0,bk=7,pt=0,sc=1,sh=0,fo=9,tl=0,ob=36,ro=7,da=0,ex=0,ma=34,fm=0x828448E40020
cmd /c "subst Z: "C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default" && Z: && cd \com.triplejgames.MayEight && "C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"  assembleRelease lint "

Failed to fetch URL https://s3.amazonaws.com/android-sdk-manager/redist/addon.xml/sys-img.xml, reason: IO Server returned HTTP response code: 403 for URL: https://s3.amazonaws.com/android-sdk-manager/redist/addon.xml/sys-img.xml
Preparing "Install Android SDK Build-Tools 24.0.2".
"Install Android SDK Build-Tools 24.0.2" ready.
Finishing "Install Android SDK Build-Tools 24.0.2"
Installing Android SDK Build-Tools 24.0.2 in E:\Android sdk\build-tools\24.0.2
"Install Android SDK Build-Tools 24.0.2" complete.
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:com.triplejgames.MayEight:preBuild UP-TO-DATE
:com.triplejgames.MayEight:preReleaseBuild UP-TO-DATE
:com.triplejgames.MayEight:checkReleaseManifest
:com.triplejgames.MayEight:preDebugAndroidTestBuild UP-TO-DATE
:com.triplejgames.MayEight:preDebugBuild UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCompat2421Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCoreUi2421Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCoreUtils2421Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportFragment2421Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportMediaCompat2421Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportV42421Library
:com.triplejgames.MayEight:prepareReleaseDependencies
:com.triplejgames.MayEight:compileReleaseAidl
:com.triplejgames.MayEight:compileReleaseRenderscript
:com.triplejgames.MayEight:generateReleaseBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResValues UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResources
:com.triplejgames.MayEight:mergeReleaseResources
:com.triplejgames.MayEight:processArmeabi-v7aReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aReleaseResources
:com.triplejgames.MayEight:processArmeabiReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiReleaseResources
:com.triplejgames.MayEight:processUniversalReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalReleaseResources
:com.triplejgames.MayEight:generateReleaseSources
:com.triplejgames.MayEight:incrementalReleaseJavaCompilationSafeguard
:com.triplejgames.MayEight:compileReleaseJavaWithJavac
:com.triplejgames.MayEight:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:mergeReleaseShaders UP-TO-DATE
:com.triplejgames.MayEight:compileReleaseShaders
:com.triplejgames.MayEight:generateReleaseAssets
:com.triplejgames.MayEight:mergeReleaseAssets
:com.triplejgames.MayEight:transformClassesWithJarMergingForRelease
:com.triplejgames.MayEight:transformClassesWithMultidexlistForRelease
:com.triplejgames.MayEight:transformClassesWithDexForRelease

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

:com.triplejgames.MayEight:compileReleaseNdk UP-TO-DATE
:com.triplejgames.MayEight:mergeReleaseJniLibFolders UP-TO-DATE
:com.triplejgames.MayEight:transformNative_libsWithMergeJniLibsForRelease
:com.triplejgames.MayEight:processReleaseJavaRes UP-TO-DATE
:com.triplejgames.MayEight:transformResourcesWithMergeJavaResForRelease
:com.triplejgames.MayEight:validateSigningArmeabi-v7aRelease
:com.triplejgames.MayEight:packageArmeabi-v7aRelease
:com.triplejgames.MayEight:assembleArmeabi-v7aRelease
:com.triplejgames.MayEight:validateSigningArmeabiRelease
:com.triplejgames.MayEight:packageArmeabiRelease
:com.triplejgames.MayEight:assembleArmeabiRelease
:com.triplejgames.MayEight:validateSigningUniversalRelease
:com.triplejgames.MayEight:packageUniversalRelease
:com.triplejgames.MayEight:assembleUniversalRelease
:com.triplejgames.MayEight:compileReleaseSources
:com.triplejgames.MayEight:lintVitalRelease
:com.triplejgames.MayEight:assembleRelease
:com.triplejgames.MayEight:checkDebugManifest
:com.triplejgames.MayEight:prepareDebugDependencies
:com.triplejgames.MayEight:compileDebugAidl
:com.triplejgames.MayEight:compileDebugRenderscript
:com.triplejgames.MayEight:generateDebugBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResValues UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResources
:com.triplejgames.MayEight:mergeDebugResources
:com.triplejgames.MayEight:processArmeabi-v7aDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aDebugResources
:com.triplejgames.MayEight:processArmeabiDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiDebugResources
:com.triplejgames.MayEight:processUniversalDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalDebugResources
:com.triplejgames.MayEight:generateDebugSources
:com.triplejgames.MayEight:incrementalDebugJavaCompilationSafeguard
:com.triplejgames.MayEight:compileDebugJavaWithJavac
:com.triplejgames.MayEight:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:lint
Ran lint on variant debug: 45 issues found
Ran lint on variant release: 45 issues found
Wrote HTML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.html
Wrote XML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.xml
:com.triplejgames.MayEight:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.triplejgames.MayEight:lint'.
> Lint found errors in the project; aborting build.

Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
    lintOptions {
        abortOnError false
    }
}
...

* 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: 1 mins 26.778 secs
cmd /c "subst /d Z:"

Lint Build report available at C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default\com.triplejgames.MayEight\build\outputs\lint-results.html
Create finished: 10:45:23 PM

The sdk platforms i installed is from api 9(android 2.1) to api 27(android api 27)

Tools i installed
- Android SDK Build tools
-Amazon Fire Phone build tools
-Android Emulator
-Android SDK platform tools
-Android SDK tools
-Google Play APK Expansion library
-Google Play Licensing Library
-Google Play services
-Google Play USB Driver
-Google Play Web Driver
-intel x86 emulator Accelator
-Google Repository
-Android Support Repository

I really dont know how im going to setup the target sdk minimum compiled sdk and also the build tools and library, before i was using

Target sdk - 23
min sdk - 9
compile sdk -23

Build tools - 23.0.1
Support Lib - 23.1.1



Please help me I will attach some screenshot in my sdk tools



 
Last edited:

rIKmAN

Member
Android-ndk-r13b and i also try Android-ndk-r10e-
java jdk 1.8.0_144

I dont know what version is my android sdk, because i only follow this link
https://help.yoyogames.com/hc/en-us/articles/216753498-GameMaker-Studio-Android-SDK-and-NDK-setup-
If you followed that link, why are you using different versions of the recommended SDKs?

Taken from: https://help.yoyogames.com/hc/en-us/articles/216753748-GM-S-1-4-Required-SDKs
Android / Amazon Fire
Android SDK (scroll down to the command line tools only, not the Android Studio download)

  • Build Tools: 24+
  • APIs Required: 23+ (However add in whatever your extensions require too)
  • Support Library: 23.2.1+
  • Support Repository: 35+
Note: Support libraries are not listed in SDK Manager anymore, but you can find them here [your Android SDK install folder]\extras\android\m2repository\com\android\support\support-v4

Android NDK (32/64 Bit depends on your OS)

  • Stable/Beta/Early Access: 12b
Java JDK

  • Stable/Beta/Early Access: 1.8 "8u102" (32/64 Bit depends on your OS)
Start again and follow the guide using the recommended versions and see how you get on.
 

3jgamesdev

Member
Hi i still getting the error, i dont know why,

android sdk still above picture
android-ndk-r16b
java jdk 8u151

Please help i still getting this error

Code:
Create started: 1:07:13 PM
"C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="C:\Users\Administrator\AppData\Local\gm_ttt_29501\a51432.txt" /c /m=android   /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=2 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=1773 /gn="May Eight" /td="C:\Users\Administrator\AppData\Local" /cd="C:\Users\Administrator\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="192.168.1.3" /hprt="51268" /optionsini="C:\Users\Administrator\AppData\Local\gm_ttt_29501\gm_ttt_1385\May Eight.ini" /o="C:\Users\Administrator\AppData\Local\gm_ttt_29501\gm_ttt_1385" "D:\May Eight.gmx\May Eight.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\Administrator\AppData\Local\gm_ttt_29501\gm_ttt_1385\May Eight.droid
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
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
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
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=4228.2418
Stats : GMA : sp=25,au=0,bk=7,pt=0,sc=1,sh=0,fo=9,tl=0,ob=36,ro=7,da=0,ex=0,ma=34,fm=0x828448E40020
cmd /c "subst Z: "C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default" && Z: && cd \com.triplejgames.MayEight && "C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"  assembleRelease lint "

Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:com.triplejgames.MayEight:preBuild UP-TO-DATE
:com.triplejgames.MayEight:preReleaseBuild UP-TO-DATE
:com.triplejgames.MayEight:checkReleaseManifest
:com.triplejgames.MayEight:preDebugAndroidTestBuild UP-TO-DATE
:com.triplejgames.MayEight:preDebugBuild UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportSupportV42321Library UP-TO-DATE
:com.triplejgames.MayEight:prepareReleaseDependencies
:com.triplejgames.MayEight:compileReleaseAidl
:com.triplejgames.MayEight:compileReleaseRenderscript
:com.triplejgames.MayEight:generateReleaseBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResValues UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResources
:com.triplejgames.MayEight:mergeReleaseResources
:com.triplejgames.MayEight:processArmeabi-v7aReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aReleaseResources
:com.triplejgames.MayEight:processArmeabiReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiReleaseResources
:com.triplejgames.MayEight:processUniversalReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalReleaseResources
:com.triplejgames.MayEight:generateReleaseSources
:com.triplejgames.MayEight:incrementalReleaseJavaCompilationSafeguard
:com.triplejgames.MayEight:compileReleaseJavaWithJavac
:com.triplejgames.MayEight:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:mergeReleaseShaders UP-TO-DATE
:com.triplejgames.MayEight:compileReleaseShaders
:com.triplejgames.MayEight:generateReleaseAssets
:com.triplejgames.MayEight:mergeReleaseAssets
:com.triplejgames.MayEight:transformClassesWithJarMergingForRelease
:com.triplejgames.MayEight:collectReleaseMultiDexComponents
:com.triplejgames.MayEight:transformClassesWithMultidexlistForRelease
:com.triplejgames.MayEight:transformClassesWithDexForRelease
Running dex in-process requires build tools 23.0.2.
For faster builds update this project to use the latest build tools.
:com.triplejgames.MayEight:compileReleaseNdk UP-TO-DATE
:com.triplejgames.MayEight:mergeReleaseJniLibFolders UP-TO-DATE
:com.triplejgames.MayEight:transformNative_libsWithMergeJniLibsForRelease
:com.triplejgames.MayEight:processReleaseJavaRes UP-TO-DATE
:com.triplejgames.MayEight:transformResourcesWithMergeJavaResForRelease
:com.triplejgames.MayEight:validateSigningArmeabi-v7aRelease
:com.triplejgames.MayEight:packageArmeabi-v7aRelease
:com.triplejgames.MayEight:assembleArmeabi-v7aRelease
:com.triplejgames.MayEight:validateSigningArmeabiRelease
:com.triplejgames.MayEight:packageArmeabiRelease
:com.triplejgames.MayEight:assembleArmeabiRelease
:com.triplejgames.MayEight:validateSigningUniversalRelease
:com.triplejgames.MayEight:packageUniversalRelease
:com.triplejgames.MayEight:assembleUniversalRelease
:com.triplejgames.MayEight:compileReleaseSources
:com.triplejgames.MayEight:lintVitalRelease
:com.triplejgames.MayEight:assembleRelease
:com.triplejgames.MayEight:checkDebugManifest
:com.triplejgames.MayEight:prepareDebugDependencies
:com.triplejgames.MayEight:compileDebugAidl
:com.triplejgames.MayEight:compileDebugRenderscript
:com.triplejgames.MayEight:generateDebugBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResValues UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResources
:com.triplejgames.MayEight:mergeDebugResources
:com.triplejgames.MayEight:processArmeabi-v7aDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aDebugResources
:com.triplejgames.MayEight:processArmeabiDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiDebugResources
:com.triplejgames.MayEight:processUniversalDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalDebugResources
:com.triplejgames.MayEight:generateDebugSources
:com.triplejgames.MayEight:incrementalDebugJavaCompilationSafeguard
:com.triplejgames.MayEight:compileDebugJavaWithJavac
:com.triplejgames.MayEight:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:lint
Ran lint on variant release: 47 issues found
Ran lint on variant debug: 47 issues found
Wrote HTML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.html
Wrote XML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.xml
:com.triplejgames.MayEight:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.triplejgames.MayEight:lint'.
> Lint found errors in the project; aborting build.

Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
    lintOptions {
        abortOnError false
    }
}
...

* 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: 56.095 secs
cmd /c "subst /d Z:"

Lint Build report available at C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default\com.triplejgames.MayEight\build\outputs\lint-results.html
Create finished: 1:08:53 PM
 

rIKmAN

Member
Hi i still getting the error, i dont know why,

android sdk still above picture
android-ndk-r16b
java jdk 8u151

Please help i still getting this error
Did you even read the guide or the information I posted?
Why are you now using NDK 16b?
NDK 16 isn't even supported in GMS2 yet.

You aren't gonna get anywhere until you are at least using the recommended versions of the SDKs to start with, so you should go back and use the correct versions of the SDKs as recommended in the guide, then follow through the setup instructions step by step.
 

3jgamesdev

Member
This is posted in the 1.4 forum, so it's assumed you are using 1.4.
The requirements and SDK versions are different for GMS1 and GMS2.

For GMS2, use these guides:
Required SDKs
GMS2 Android Setup Guide

Okay thanks im starting it all over again the sdk.

adt-bundle-windows-x86_64-20140702 <<< this is the version i was using now without the android studio



as of now in extra this is what im going to install

What api should i install? and what tools?
 

3jgamesdev

Member
@rIKmAN

I still getting this error
Code:
Create started: 3:15:59 PM
"C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\GMAssetCompiler.exe" /fU="C:\Users\Administrator\AppData\Local\gm_ttt_41600\a2513.txt" /c /m=android   /config="Default" /tgt=8 /obob=True /obpp=False /obru=True /obes=False /i=3 /j=2 /cvm /tp=2048 /mv=1 /iv=0 /rv=0 /bv=1773 /gn="May Eight" /td="C:\Users\Administrator\AppData\Local" /cd="C:\Users\Administrator\Documents\GameMaker\Cache" /sh=True /dbgp="6502" /hip="192.168.1.3" /hprt="51268" /optionsini="C:\Users\Administrator\AppData\Local\gm_ttt_41600\gm_ttt_22969\May Eight.ini" /o="C:\Users\Administrator\AppData\Local\gm_ttt_41600\gm_ttt_22969" "D:\May Eight.gmx\May Eight.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\Administrator\AppData\Local\gm_ttt_41600\gm_ttt_22969\May Eight.droid
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
Texture Group - Default
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
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
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=7350.4205
Stats : GMA : sp=25,au=0,bk=7,pt=0,sc=1,sh=0,fo=9,tl=0,ob=36,ro=7,da=0,ex=0,ma=34,fm=0x828448E40020
cmd /c "subst Z: "C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default" && Z: && cd \com.triplejgames.MayEight && "C:\Users\Administrator\AppData\Roaming\GameMaker-Studio\Android\runner\gradle\gradlew"  assembleRelease lint "

Observed package id 'build-tools;20.0.0' in inconsistent location 'E:\adt-bundle-windows-x86_64-20140702\sdk\build-tools\android-4.4W' (Expected 'E:\adt-bundle-windows-x86_64-20140702\sdk\build-tools\20.0.0')
Incremental java compilation is an incubating feature.
The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.
:com.triplejgames.MayEight:preBuild UP-TO-DATE
:com.triplejgames.MayEight:preReleaseBuild UP-TO-DATE
:com.triplejgames.MayEight:checkReleaseManifest
:com.triplejgames.MayEight:preDebugAndroidTestBuild UP-TO-DATE
:com.triplejgames.MayEight:preDebugBuild UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCompat2531Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCoreUi2531Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportCoreUtils2531Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportFragment2531Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportMediaCompat2531Library
:com.triplejgames.MayEight:prepareComAndroidSupportSupportV42531Library
:com.triplejgames.MayEight:prepareReleaseDependencies
:com.triplejgames.MayEight:compileReleaseAidl
:com.triplejgames.MayEight:compileReleaseRenderscript
:com.triplejgames.MayEight:generateReleaseBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResValues UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseResources
:com.triplejgames.MayEight:mergeReleaseResources
:com.triplejgames.MayEight:processArmeabi-v7aReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aReleaseResources
:com.triplejgames.MayEight:processArmeabiReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiReleaseResources
:com.triplejgames.MayEight:processUniversalReleaseManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalReleaseResources
:com.triplejgames.MayEight:generateReleaseSources
:com.triplejgames.MayEight:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:com.triplejgames.MayEight:compileReleaseJavaWithJavac
Full recompilation is required because missing jar snapshot of 'classes.jar' from previous build. Analysis took 1.349 secs.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:mergeReleaseShaders UP-TO-DATE
:com.triplejgames.MayEight:compileReleaseShaders UP-TO-DATE
:com.triplejgames.MayEight:generateReleaseAssets UP-TO-DATE
:com.triplejgames.MayEight:mergeReleaseAssets
:com.triplejgames.MayEight:transformClassesWithJarMergingForRelease
:com.triplejgames.MayEight:transformClassesWithMultidexlistForRelease
:com.triplejgames.MayEight:transformClassesWithDexForRelease

Running dex as a separate process.

To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html

:com.triplejgames.MayEight:compileReleaseNdk UP-TO-DATE
:com.triplejgames.MayEight:mergeReleaseJniLibFolders UP-TO-DATE
:com.triplejgames.MayEight:transformNative_libsWithMergeJniLibsForRelease
:com.triplejgames.MayEight:processReleaseJavaRes UP-TO-DATE
:com.triplejgames.MayEight:transformResourcesWithMergeJavaResForRelease
:com.triplejgames.MayEight:validateSigningArmeabi-v7aRelease
:com.triplejgames.MayEight:packageArmeabi-v7aRelease
:com.triplejgames.MayEight:assembleArmeabi-v7aRelease
:com.triplejgames.MayEight:validateSigningArmeabiRelease
:com.triplejgames.MayEight:packageArmeabiRelease
:com.triplejgames.MayEight:assembleArmeabiRelease
:com.triplejgames.MayEight:validateSigningUniversalRelease
:com.triplejgames.MayEight:packageUniversalRelease
:com.triplejgames.MayEight:assembleUniversalRelease
:com.triplejgames.MayEight:compileReleaseSources
:com.triplejgames.MayEight:lintVitalRelease
:com.triplejgames.MayEight:assembleRelease
:com.triplejgames.MayEight:checkDebugManifest
:com.triplejgames.MayEight:prepareDebugDependencies
:com.triplejgames.MayEight:compileDebugAidl
:com.triplejgames.MayEight:compileDebugRenderscript
:com.triplejgames.MayEight:generateDebugBuildConfig UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResValues UP-TO-DATE
:com.triplejgames.MayEight:generateDebugResources
:com.triplejgames.MayEight:mergeDebugResources
:com.triplejgames.MayEight:processArmeabi-v7aDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabi-v7aDebugResources
:com.triplejgames.MayEight:processArmeabiDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processArmeabiDebugResources
:com.triplejgames.MayEight:processUniversalDebugManifest
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:25:3-73:17 Warning:
    application@android:label was tagged at AndroidManifest.xml:25 to replace other declarations but no other declaration present
Z:\com.triplejgames.MayEight\src\main\AndroidManifest.xml:26:5-33:16 Warning:
    activity#com.triplejgames.MayEight.RunnerActivity@android:label was tagged at AndroidManifest.xml:26 to replace other declarations but no other declaration present
:com.triplejgames.MayEight:processUniversalDebugResources
:com.triplejgames.MayEight:generateDebugSources
:com.triplejgames.MayEight:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:com.triplejgames.MayEight:compileDebugJavaWithJavac
Full recompilation is required because missing jar snapshot of 'classes.jar' from previous build. Analysis took 0.07 secs.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.triplejgames.MayEight\src\main\java\com\triplejgames\MayEight\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:com.triplejgames.MayEight:lint
Ran lint on variant release: 50 issues found
Ran lint on variant debug: 50 issues found
Wrote HTML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.html
Wrote XML report to file:///Z:/com.triplejgames.MayEight/build/outputs/lint-results-debug.xml
:com.triplejgames.MayEight:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.triplejgames.MayEight:lint'.
> Lint found errors in the project; aborting build.

Fix the issues identified by lint, or add the following to your build script to proceed with errors:
...
android {
    lintOptions {
        abortOnError false
    }
}
...

* 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: 1 mins 13.216 secs
cmd /c "subst /d Z:"

Lint Build report available at C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default\com.triplejgames.MayEight\build\outputs\lint-results.html
Create finished: 3:18:04 PM
This is the API i have installed



This is the tools


Target SDK 25
Min SDK 16
Compile SDK 25
Build tools 25.0.2
Support Lib 25.3.1

And i still getting the error above
 
Last edited:

rIKmAN

Member
Take a look at the lint report like it says in the output, which it says can be found at:
C:\Users\Administrator\Documents\GameMaker\Cache\May Eight\Android\Default\com.triplejgames.MayEight\build\outputs\lint-results.html
I'd also appreciate it if you didn't PM telling me to look at this thread, I get notified when you reply to me anyway.
 

3jgamesdev

Member
Take a look at the lint report like it says in the output, which it says can be found at:


I'd also appreciate it if you didn't PM telling me to look at this thread, I get notified when you reply to me anyway.

sorry about it, im just tired doing this all day, anyway i think the problem was here



right? i really dont know sorry

I think i have installed all the api tools and extras, i think the problem was here but i dont know what im going to put in the build tools support lib also in my target sdk and compiled as well as the min sdk

Above images of API's and tools installed

I hope you can help me Thanks
rIKmAN
 
Last edited:

rIKmAN

Member
Solve I just disabled the lint in the GENERAL TAB of android
The image of the lint report is broken, so I have no idea what the errors were.

Glad you got it working, but it's always better to try and fix the errors than just turn off the reporting of them and pretend they don't exist.
 
Last edited:

3jgamesdev

Member
The image of the lint report is broken, so I have idea what the errors were.

Glad you got it working, but it's always better to try and fix the errors than just turn off the reporting of them and pretend they don't exist.
thanks for your help
 
Top