Android Question manifest errors

merlin2049er

Well-Known Member
Licensed User
Longtime User
Hmm, this compiled before... not sure why it's giving me an error now.

Parsing code. 0.03
Compiling code. Error
Error parsing manifest script:
Line = 14, Word = <
Command expected.

That's the error.

B4X:
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

That's in my manifest...
 

merlin2049er

Well-Known Member
Licensed User
Longtime User
Got it working by moving the code...

B4X:
'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
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.

It was causing problems at the end of the default text.
 
Upvote 0
Top