Hi.
I AM trying to add this line to the manifest editor:
But when I compile the project, I get this erro:
This is the content of my Manifest:
I am using b4a 9.30.
How can I solve it?
I AM trying to add this line to the manifest editor:
B4X:
AndroidManifest.xml:19: error: No resource identifier found for attribute 'networkSecurityConfig' in package 'android'
But when I compile the project, I get this erro:
B4X:
Packaging files. Error
AndroidManifest.xml:19: error: No resource identifier found for attribute 'networkSecurityConfig' in package 'android'
AAPT path: C:\Android\android-sdk\tools\..\build-tools\27.0.2\aapt.exe
Exit code:1
This is the content of my Manifest:
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="16" android:targetSdkVersion="28"/> ' Don't use version 28. It couses error in HttpJob.Donwload function
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:networkSecurityConfig, @xml/network_security_config)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light") ' For black cursors
CreateResourceFromFile(Macro, Core.NetworkClearText)
'End of default text.
I am using b4a 9.30.
How can I solve it?