EinfachHans opened a new issue #1316:
URL: https://github.com/apache/cordova-android/issues/1316


   # Bug Report
   
   ## Problem
   
   I'm currently migrating my project to `cordova-android@10`. In my Project 
i'm using Googlemaps and Markers that icons are in my assets Folder. These are 
not working anymore and displays the default Google Map Marker.
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   
   I see the following Error when i run my App via debugger:
   
   ```
   E/AsyncLoadImage: can not connect to 
https://localhost/assets/imgs/map/mapPinGreen/mapPinGreen.png
       java.net.ConnectException: Failed to connect to localhost/127.0.0.1:443
           at 
com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:147)
           at 
com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
           at 
com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
           at 
com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
           at 
com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
           at 
com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
           at 
com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
           at 
com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
           at 
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:411)
           at 
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:542)
           at 
com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:106)
           at 
com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:30)
           at 
plugin.google.maps.AsyncLoadImage.doInBackground(AsyncLoadImage.java:299)
           at 
plugin.google.maps.AsyncLoadImage.doInBackground(AsyncLoadImage.java:27)
           at android.os.AsyncTask$3.call(AsyncTask.java:394)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
           at java.lang.Thread.run(Thread.java:923)
   ```
   
   Maybe the migration from the whitelist Plugin is not correctly working?
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you 
experiencing the issue? -->
   
   Google Pixel 4, Android 10
   
   ### Version information
   <!--
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   ```
   Ionic:
   
      Ionic CLI                     : 6.16.3 
(/usr/local/lib/node_modules/@ionic/cli)
      Ionic Framework               : @ionic/angular 5.6.12
      @angular-devkit/build-angular : 12.1.4
      @angular-devkit/schematics    : 12.1.4
      @angular/cli                  : 12.1.4
      @ionic/angular-toolkit        : 4.0.0
   
   Cordova:
   
      Cordova CLI       : 10.0.0
      Cordova Platforms : android 10.0.1
      Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, 
cordova-plugin-ionic-webview 5.0.0, (and 50 other plugins)
   
   Utility:
   
      cordova-res (update available: 0.15.3) : 0.15.1
      native-run (update available: 1.4.0)   : 1.0.0
   
   System:
   
      Android SDK Tools : 25.2.3 (/Users/hanskrywalsky/Library/Android/sdk)
      ios-deploy        : 1.10.0
      ios-sim           : 8.0.2
      NodeJS            : v14.15.4 (/usr/local/bin/node)
      npm               : 7.17.0
      OS                : macOS Big Sur
      Xcode             : Xcode 12.5.1 Build version 12E507
   ```
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to