10

When I am trying to log any URL like we have an URL for an API call I tried

            url = "https://google.com"
            Log.e("url",url)

This is how a URL is shown

E/url: ******************

I am using Windows 10 Android Studio:

  • Android Studio 4.2.1
  • Build #AI-202.7660.26.42.7351085, built on May 10, 2021
  • Runtime version: 11.0.8+10-b944.6842174 amd64
  • VM: OpenJDK 64-Bit Server VM by N/A
  • Windows 10 10.0
  • GC: G1 Young Generation, G1 Old Generation
  • Memory: 1280M
  • Cores: 8
  • Registry: external.system.auto.import.disabled=true
Nimantha
  • 6,405
  • 6
  • 28
  • 69
Shubham Garg
  • 971
  • 8
  • 18

1 Answers1

1

if in Logcat URL is not printed then uninstall app and install again it is working (Vivo android 12)