While making Android App I'm receiving such an error. It would be great if somebody can give me a prompt concerning my code.
            Asked
            
        
        
            Active
            
        
            Viewed 348 times
        
    1 Answers
2
            
            
        Your URL is malformed. just add method of your URL.
for example add http:// in start of your URL. thats make your address like this: http://api.....
 
    
    
        javadroid
        
- 1,421
- 2
- 19
- 43
- 
                    thanks but now I have another error "java.io.IOException: Cleartext HTTP traffic to api.openweather.org not permitted" What can I do to solve the problem? – Taras Yasinski Jan 12 '20 at 14:30
- 
                    1if your problem is solved just fill the solved question by this answer. you can add ```android:usesCleartextTraffic="true"``` to your manifest ```application``` tag. see: https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted – javadroid Jan 12 '20 at 18:35

 
    