Mikael Segedi
Member
I have created an android build with no issues with the new Google Play Service Extensions, but since the update of IDE v2.3.4.580, it fails to make the build.. when I remove the extensions, I can make a new build with no problem.. but if I add them, the build fails.. It seems like I have some Java issues.. I am using the Java version in Android Studios and it states found.. as mentioned earlier it was working in the previous IDE.. and now it broke..
I have followed these step perfectly https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android-or-Amazon-Fire
And I've added the extension from the Marketplace mentioned in this thread https://forum.yoyogames.com/index.php?threads/hot-fix-billing-library-3-before-this-date-issue.85843
But I am stuck and don't know what to do to fix it.. I appreciate the help in pre-hand..
FAILED OUTPUT READS FOLLOWING
- - - - - - - - - - - - - -
> Task :library:compileDebugJavaWithJavac
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:19: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:20: error: package org.apache.http.client.utils does not exist
import org.apache.http.client.utils.URLEncodedUtils;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:20: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:21: error: package org.apache.http.client.utils does not exist
import org.apache.http.client.utils.URLEncodedUtils;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:266: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: class NameValuePair
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:266: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: variable URLEncodedUtils
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:267: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:382: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: class NameValuePair
location: class APKExpansionPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:382: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: variable URLEncodedUtils
location: class APKExpansionPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:383: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class APKExpansionPolicy
Note: /Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/LicenseChecker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
10 errors
> Task :library:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':library:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 25s
23 actionable tasks: 23 executed
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.4.442/android/runner/gradle/gradlew exited with non-zero status (1)
elapsed time 00:02:20.7721670s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.4.442/bin/Igor.exe -j=8 -options="/var/folders/1g/fbkyv0fx6gq1n72s8z0909_h0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Android Package started at 09/11/2021 01:54:22
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
- - - - - - - - -
I have followed these step perfectly https://help.yoyogames.com/hc/en-us/articles/115001368727-Setting-Up-For-Android-or-Amazon-Fire
And I've added the extension from the Marketplace mentioned in this thread https://forum.yoyogames.com/index.php?threads/hot-fix-billing-library-3-before-this-date-issue.85843
But I am stuck and don't know what to do to fix it.. I appreciate the help in pre-hand..
FAILED OUTPUT READS FOLLOWING
- - - - - - - - - - - - - -
> Task :library:compileDebugJavaWithJavac
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:19: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:20: error: package org.apache.http.client.utils does not exist
import org.apache.http.client.utils.URLEncodedUtils;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:20: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:21: error: package org.apache.http.client.utils does not exist
import org.apache.http.client.utils.URLEncodedUtils;
^
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:266: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: class NameValuePair
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:266: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: variable URLEncodedUtils
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/ServerManagedPolicy.java:267: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class ServerManagedPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:382: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: class NameValuePair
location: class APKExpansionPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:382: error: cannot find symbol
List<NameValuePair> extraList = URLEncodedUtils.parse(rawExtras, "UTF-8");
^
symbol: variable URLEncodedUtils
location: class APKExpansionPolicy
/Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/APKExpansionPolicy.java:383: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class APKExpansionPolicy
Note: /Users/mikaelsegedi/.config/GameMakerStudio2/Cache/GMS2CACHE/Post_Apoca_33BAF5B3_5DA4541B/Android/Default/library/src/com/google/android/vending/licensing/LicenseChecker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
10 errors
> Task :library:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':library:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 25s
23 actionable tasks: 23 executed
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.4.442/android/runner/gradle/gradlew exited with non-zero status (1)
elapsed time 00:02:20.7721670s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.4.442/bin/Igor.exe -j=8 -options="/var/folders/1g/fbkyv0fx6gq1n72s8z0909_h0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Android Package started at 09/11/2021 01:54:22
FAILED: Package Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
- - - - - - - - -