[CLOSED] SDKBOX not supporting android studio

Hello!

I’ve been trying to use sdkbox iap plugin. It runs and compiles with iOS and android project, but it does not with android-studio project. The automatic installation fails to even modify the android.mk in the android studio project folder.
I’ve tried the manual installation following the documentation on sdkbox website, but I’m stuck (more details here: [CLOSED] SDKBOX IAP Android not compiling)

Can someone confirm if android studio works with sdkbox or not?

Thanks in advance,

Davide

Thanks for the reply!

I used your commands and I was able to run the test project on the device, but when I copy in my classes and compile, I get this error:

* What went wrong:
A problem occurred configuring project ':Tiles'.
> A problem occurred configuring project ':libcocos2dx'.
   > Cannot evaluate module gps : Configuration with name 'default' not found.

Do you have any idea on how to fix this?

Thanks in advance,

Davide

i didn’t get this error when run cocos run -p android --android-studio

can you show this file’ content, which location at:
PROJECTROOT/cocos2d/cocos/platform/android/java/libs/gps/build.gradle

1 Like

I fixed the issue, I had to copy the jars into the cocos/platform/android/jni/libs folder, for some reason they were not there. Now it compiles! I’ll try to run it on a device

@davidejones88 Which jars did you copy? I am also facing the same error!