Android 9 do not GetAsync , empty response
lazarus / 43-Android
----------------------------------------------------------------------
juank1971 · 2020-09-08 21:53
hello, when I try to compile demo appHTTPClientDemo1 and it works
perfectly in android 6 but when I compile the apk for android 9 it
works but the GetAsync does not return data, response is empty.
----------------------------------------------------------------------
vags15 · 2020-09-11 03:09
Hello, good night in the version, nor do I remember Android 8 or 9
forward, the reading of url is disabled. For that you must manually
activate the activation.
You can make directly or create separate file below.
In the folder res /xml/network_security_config.xml
Modify in the ./AndroidManifest.xml file
>agregar esta linea y compilar su proyecto
----------------------------------------------------------------------
jmpessoa · 2020-09-13 18:38
Hi, juank1971
This solve your issue?
----------------------------------------------------------------------
juank1971 · 2020-09-15 15:45
Y try bat not compile
This ide error
Panic: [echo] Handling Resources...
Panic: [aapt] Generating resource IDs...
Panic: [aapt] D:\ProyectosLazarus\android\AppHttpClientDemo1\bin\
AndroidManifest.xml:31: error: Error: No resource found that matches
the given name (at 'networkSecurityConfig' with value
'@xml/network_security_config').
Panic: [aapt]
Panic:
Panic: BUILD FAILED
----------------------------------------------------------------------
juank1971 · 2020-09-15 16:36
Is done worked
Only this