Hi All,
Until today the only problem I've had with the example programs that come with libraries is that sometimes they reference other libraries that I don't have.
Today I encountered a different problem for the first time, and I encountered it several times in several different demo library examples. Just a coincidence? Or is something "broken" in my B4A.
I keep getting this error when I try and run the example programs:
Code:
Parsing code. 0.05
Compiling code. Error
Error parsing manifest script:
Line = 12, Word = (
When I look at the manifest file I see:
Code:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
'<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17"/>
AddManifestText(<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="18"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetManifestAttribute("android:installLocation", "auto")
SetApplicationAttribute(android:hardwareAccelerated, "true")
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
I don't ever recall seeing that line before in the middle that ends with the parameter of "auto".
I tried running some of my existing programs and they are fine, and don't have that line in the manifest. Is it new? Old? Something else?
If I remove that line then it compiles and runs fine.
I'm confused as to what and why this is happening, and why I have gotten it for several different library demo programs today when I have never seen it before.
Something that may let be another coincidence is that earlier today I was editing manifests in a demo program for one of the menu classes that didn't like the SDK version numbers that were declared. But I don't see how that could be impacting other programs?
Any thoughts anyone? I'm guessing there is is simple answer, beyond just removing the offending line from the manifest.
Thanks,
PH