Adding a <uses-library/> element within the "tiapp.xml" file's <manifest/> block will create an invalid entry within the generated "AndroidManifest.xml" when doing a build.
The <uses-library/> entry is supposed to go within the <application/> block, not the <manifest/> block. So, doing this would have been invalid anyways. This makes this bug a very minor issue.
Steps to reproduce:
- Setting a project's "tiapp.xml" with the <uses-library/> entry below.
- Build the project.
- Open Finder or Window Explorer.
- Go to project's subdirectory: ./build/android
- Open the "AndroidManifest.xml" file.
The following invalid XML element can be found within the "AndroidManifest.xml" file. This doesn't prevent the app from running, but it's still not good that this is there.
Build system should either omit the <uses-library/> entry or add it as-is.
As noted above, the <uses-library/> is supposed to go within the <application/> block. So, all Titanium app devs should be doing the following instead. The build system will correctly inject this into the "AndroidManifest.xml" file.