W
WWAZman
Guest
hello, I'm trying to compile for Android. Before updating my Gamemaker studio with the 8/30 update, I updated all my sdk's to make sure I would be compliant with the updates I've been missing.
I'm trying to update 10 of my games.. I started in alphabetical order and thankfully one of my smallest games, but when trying to test it I get the following errors:
//EDIT
I tried a bunch of things.. removing both extensions I had (play licensing and Google ads) .. nada.. closing and reopening GMS.. nada.. something about reading this thread though got me to thinking a little and I tried deleting the cache in Gamemaker for the temp folder and the cache. BINGO! it worked! (redacted) .. nope.. testing worked.. ONCE... once I added in Licensing extension, it's back for the compile. Testing again for the Asset Compile removal.. now it's still broken in either testing or compile.. cleaned the project.. testing.. (suspecting something wrong with the licensing extension so it's removed at present) ... CORRECT? test passed.. compile run since I really need to get this update out... CORRECT.. so there appears to be something wrong with the Licensing Extension??
I'm trying to update 10 of my games.. I started in alphabetical order and thankfully one of my smallest games, but when trying to test it I get the following errors:
I also tried unchecking the Lint option and got the same errors. I'm stumped.Z:\library\src\com\google\android\vending\licensing\APKExpansionPolicy.java:20: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
Z:\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;
^
Z:\library\src\com\google\android\vending\licensing\ServerManagedPolicy.java:19: error: package org.apache.http does not exist
import org.apache.http.NameValuePair;
^
Z:\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;
^
Z:\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
Z:\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
Z:\library\src\com\google\android\vending\licensing\APKExpansionPolicy.java:383: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class APKExpansionPolicy
Z:\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
Z:\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
Z:\library\src\com\google\android\vending\licensing\ServerManagedPolicy.java:267: error: cannot find symbol
for (NameValuePair item : extraList) {
^
symbol: class NameValuePair
location: class ServerManagedPolicy
Note: Z:\library\src\com\google\android\vending\licensing\LicenseChecker.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
10 errors
:library:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':library:compileReleaseJavaWithJavac'.
> 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.
BUILD FAILED
Total time: 17.512 secs
cmd /c "subst /d Z:"
FastCreate End End: 3:49:39 PM
Compile finished: 3:49:39 PM
//EDIT
I tried a bunch of things.. removing both extensions I had (play licensing and Google ads) .. nada.. closing and reopening GMS.. nada.. something about reading this thread though got me to thinking a little and I tried deleting the cache in Gamemaker for the temp folder and the cache. BINGO! it worked! (redacted) .. nope.. testing worked.. ONCE... once I added in Licensing extension, it's back for the compile. Testing again for the Asset Compile removal.. now it's still broken in either testing or compile.. cleaned the project.. testing.. (suspecting something wrong with the licensing extension so it's removed at present) ... CORRECT? test passed.. compile run since I really need to get this update out... CORRECT.. so there appears to be something wrong with the Licensing Extension??
Last edited by a moderator: