I’m currently trying to create a plugin for an Android SDK I’ve been using in C++ (now looking to bring it to Android).
I successfully got a basic JNI bridge to call a method in the generated GameActivity file and even got an import in place to log out to logcat (so I know I got that working for me which is nice).
However, I can’t get the AAR library to be referenced (which I know because the imports for that particular library are not being resolved. Below is the first method I tried and it didn’t work:
<resourceCopies>
<copyFile src="$S(PluginDir)/../../ThirdParty/TestSDK/lib/Android/test-sdk-2.9.1.aar" dst="$S(BuildDir)/ibs/test-sdk-2.9.1.aar" />
</resourceCopies>
I also tried doing it this way:
<AARImports>
<insertValue value="repositories $S(PluginDir)/../../ThirdParty/TestSDK/lib/Android/" />
<insertNewline/>
<insertValue value="com.myproject.sdk,test-sdk,2.9.1" />
<insertNewline/>
</AARImports>
Any advice on how to do this properly would be most appreciated.