Is there a way to compile project with *.aar files at extension?
I trying create extension. It use *.jar and *.aar files. If *.aar is in a folder "libs", compilation fails:
I trying create extension. It use *.jar and *.aar files. If *.aar is in a folder "libs", compilation fails:
But if *.aar is in a separate folder "libs-aar" and adding to build.grandle following code, it doesn't work anyway:System.IO.IOException: The file 'Z:/game_531CA3FB_689AB3CD\Android\default\game.***.***\elibs/adcolony-3.3.5.\adcolony-3.3.5.aar' already exists.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
at System.IO.File.Copy(String sourceFileName, String destFileName)
at Igor.AndroidUtils.(YYDictionary`2 , String )
at Igor.AndroidUtils.(YYDictionary`2 , String , Boolean , String )
at Igor.AndroidBuilder.Package()
Igor complete.
repositories {
flatDir {
dirs 'libs-aar'
}
...
}
dependencies {
compile(name: 'adcolony-3.3.5', ext: 'aar')
...
At the same time I can compile project with adcolony adding to grandle:FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':game.***.***'.
> Could not resolve all dependencies for configuration ':game.***.***:_debugApkCopy'.
> Could not find :adcolony-3.3.5:.
But I also need others SDK, which are only *.aar files. Its possible at GameMaker Studio 2?repositories
{
maven {url "https://adcolony.bintray.com/AdColony"}
....
}
dependencies {
compile(name: 'adcolony-3.3.5', ext: 'aar')
...