I'm trying compile my App using B4A 10.90 Beta.
I've this error :
Using B4A 10.60 no problem.
I've this error :
B4X:
B4A Versione: 10.90 BETA #1
Analisi del Codice. (0.38s)
Java Versione: 11
Building folders structure. (0.34s)
Compilazione del codice. (0.81s)
Compilazione del codice di layouts (0.26s)
Organizzazione Librerie. (0.00s)
(AndroidX SDK)
Compiling resources (3.28s)
Linking resources Error
AndroidManifest.xml:43: error: unexpected element <intent-filter> found in <manifest><application><receiver><intent-filter>.
Manifest:
'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="8" android:targetSdkVersion="28"/>
<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.
'''
' disabilitato il tema, va in bloccco CON IL LETTORE BARCODE PDA401
'''
''' IMPORTANTE DA RICORDARE
''
SetApplicationAttribute(android:theme, "@style/DarkTheme")
CreateResource(values-v20, theme.xml,
<resources>
<style
name="DarkTheme" parent="@android:style/Theme.Material">
</style>
</resources>
)
CreateResource(values-v14, theme.xml,
<resources>
<style
name="DarkTheme" parent="@android:style/Theme.Holo">
</style>
</resources>
)
SetApplicationAttribute(android:hardwareAccelerated, "true")
AddManifestText(<uses-feature android:name="android.hardware.telephony" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />)
AddManifestText(<uses-feature android:name="android.hardware.camera.flash" android:required="false" />)
'AddPermission("android.permission.ACCESS_COARSE_LOCATION")
AddPermission("android.permission.INTERNET")
AddPermission("android.permission.ACCESS_FINE_LOCATION")
AddPermission("android.permission.WAKE_LOCK")
AddPermission("android.permission.DEVICE_POWER")
'AddPermission("android.permission.ACCESS_COARSE_UPDATES")
AddPermission("android.permission.READ_PHONE_STATE")
AddPermission("android.permission.VIBRATE")
AddPermission("android.permission.CAMERA")
AddPermission("android.permission.FLASHLIGHT")
AddPermission("android.hardware.camera")
AddApplicationText(<receiver
android:name="com.qs.service.RemoteControlReceiver"
android:permission="ismart.intent.scandown" >
<intent-filter>
<intent-filter android:priority="1000" />
<action android:name="ismart.intent.scandown" />
</intent-filter>
</receiver>
<receiver android:name="com.qs.service.StartReceiver" >
<intent-filter android:priority="996" />
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</receiver>
<service android:name="com.qs.service.ScanService" >
<intent-filter>
<action android:name="com.qs.Service.CaptureService" />
</intent-filter>
</service>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
Using B4A 10.60 no problem.