question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BingMapTileSource not available via http under Android 9 any more?

See original GitHub issue

Issue Type

[ x] Bug

Description and/or steps/code to reproduce the problem

In the light of the latest MAPNIK #1286 issues, I tried to use bing maps and ended up with the following exception:

E/OsmDroid: Error getting imagery meta data
    java.io.IOException: Cleartext HTTP traffic to dev.virtualearth.net not permitted
        at com.android.okhttp.HttpHandler$CleartextURLFilter.checkURLPermitted(HttpHandler.java:115)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:458)
        at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:127)
        at org.osmdroid.tileprovider.tilesource.bing.BingMapTileSource.getMetaData(BingMapTileSource.java:243)

If it’s a bug, version(s) of android this affects:

Seen on Android 9

Version of osmdroid the issue relates to:

6.0.3 and 6.1.0-SNAPSHOT

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
monsieurtanukicommented, Mar 7, 2019

@InI4 Thank you for your forthcoming test! I don’t believe there’s going to be a dedicated release, though, I guess you’ll have to build things yourself.

0reactions
monsieurtanukicommented, Aug 26, 2019

Allegedly solved by #1291

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 9 Pie
Android 9 Pie harnesses the power of AI for a truly intuitive experience. ... OCR support for S2S in Camera and Pictures to...
Read more >
Behavior changes: all apps | Android Developers
The following behavior changes apply to all apps when they run on the Android 9 platform, regardless of the API level that they...
Read more >
Android 9 release notes | Android Open Source Project
This page summarizes the major features in the Android 9 release, and provides links to additional information. These feature summaries are ...
Read more >
Behavior changes: apps targeting API level 28+
For changes that affect all apps running on Android 9, regardless of which API ... the org.apache.http.legacy library is not available. (On ......
Read more >
Android 9 features and APIs
On devices running Android 9 with hardware support, your apps can use ... all of which are available to developers targeting API level...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found