> Task :com.companyname.gamename:compileDebugJavaWithJavac FAILED
V:\com.companyname.gamename\src\main\java\com\companyname\gamename\ExpansionAlarmReceiver.java:3: error: cannot find symbol
import com.google.android.vending.expansion.downloader.DownloaderClientMarshaller;
If there's something to do with sdk or jdk let me know please.
[SOLVED]
I removed all the extensions from GameMaker and reimported them from marketplace, sounds like it fixed the build and now its successful it was that new extensions has that
"import com.google. ... etc"
in the Inject to Gradle section in the extension window.
Thanks
Did you use any special characters in any part of the project? Or even the name? I do not recommend using spaces. And when installing the Android SDK and NDK, install it in a directory near the disk letter.
I also recommend changing this
com.companyname.gamename
to a usable name.
Are you using any extensions? (like Google Play expansion)
Did you use any special characters in any part of the project? Or even the name? I do not recommend using spaces. And when installing the Android SDK and NDK, install it in a directory near the disk letter.
I also recommend changing this
com.companyname.gamename
to a usable name.
Are you using any extensions? (like Google Play expansion)
Thanks you, very sorry just got to see that very late.
No special characters. the sdk path is "D:\GameDev\SDKs\AndroidSDK35" and ndk is "D:\GameDev\SDKs\android-ndk-r21d-windows-x86_64\android-ndk-r21d" .. do you recommend changing any/both of them?
the com.companyname is changed, yes.
And yeah I'm using Google Play services (highscores, achievements )
Thanks you, very sorry just got to see that very late.
No special characters. the sdk path is "D:\GameDev\SDKs\AndroidSDK35" and ndk is "D:\GameDev\SDKs\android-ndk-r21d-windows-x86_64\android-ndk-r21d" .. do you recommend changing any/both of them?
the com.companyname is changed, yes.
And yeah I'm using Google Play services (highscores, achievements )
Try to compile without the Google Play Services extension and see if it works.
Try to compile without the Google Play Services extension and see if it works.
I tried building a windows project I had that has no extensions and it worked for android. So is it something with the extension itself or me using it the wrong way?
Is there a way to disable the extension? or should I delete it?
(I tried unticking them photo below, and it still include it when building)
[EDIT] I cleared the cache and now it doesn't include extensions.