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,
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
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: