is amazon-ads in your libs folder?
Thanks. Yep.
The purpose of the @DependsOn attribute within the .java source file is to generate a dependency referencing an external jar within the output XML file?
For example, in my case, the XML file output by the Simple Library Compiler should include the line:
<dependsOn>amazon-ads</dependsOn>
If I manually add this line to the XML file, everybody is happy. The external library is found and the wrapper I am developing works (sort of).
I'm either doing something wrong or the Simple Library Compiler doesn't support this attribute and it's giving me the "unknown symbol" error.
If I look in my current B4A AdLibs directory. Within the Admob.xml file I find the line:
<dependsOn>GoogleAdMobAdsSdk</dependsOn>
There is also the file GoogleAdMobAdsSdk.jar in this directory.
I don't have the source code for this version of the Admob wrapper, but I'm assuming it has the attribute statement @DependsOn(values={"GoogleAdMobAdsSdk"}) within it. With the "value" being the name of the jar file to reference.
In the examples included with the SLC, Flurry has the statement @DependsOn – so I'm confident the SLC supports this. I don't have all the included jars for the Flurry example, but if I comment out the lines of source code which depend on an external library, it doesn't choke with the "unknown symbol" error at the @DependsOn statement and adds <dependsOn> ... to the output xml.
Barry.