pliniofm opened a new issue, #1472:
URL: https://github.com/apache/cordova-android/issues/1472

   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   
   In the previous Android Platform (8.1.0), I can reach the logs from 
console.log, using the command below:
   
   ```
   adb logcat -v raw chromium:D SystemWebViewClient:D *:S
   ```
   
   And it worked fine. 
   
   I updated Android Platform to an intermediate version and I had to change 
the command to: (sorry for do not remember the version)
   
   ```
   adb logcat -v raw chromium:D SystemWebViewClient:D SystemWebChromeClient:D 
*:S
   ```
   
   And it worked fine too. 
   
   ### What does actually happen?
   
   I upgraded to Android Platform 10.1.2 and I cannot see my logs from 
console.log using the commands above. 
   
   I tried to catch all logs and looking for them after. But it didn't work. 
   
   ```
   adb logcat -v long > log.txt
   ```
   
   I tried to ask for all logs from PID. I can see some log messages from 
plugins and others components, but I cannot see my console.log messages. 
   
   ```
   adb logcat -v long --pid=5111 *:V
   ```
   
   ```
   [ 08-05 09:10:01.246  5111: 5144 W/System   ]
   A resource failed to call close.
   
   [ 08-05 09:10:01.328  5111: 5325 D/AudioPlayer ]
   on completion is calling stopped
   
   [ 08-05 09:10:02.505  5111: 5325 W/AudioManager ]
   Use of stream types is deprecated for operations other than volume control
   
   [ 08-05 09:10:02.505  5111: 5325 W/AudioManager ]
   See the documentation of requestAudioFocus() for what to use instead with 
android.media.AudioAttributes to qualify your playback use case
   
   [ 08-05 09:10:02.506  5111: 5325 W/PluginManager ]
   THREAD WARNING: exec() call to Media.startPlayingAudio blocked the main 
thread for 21ms. Plugin should use CordovaInterface.getThreadPool().
   
   [ 08-05 09:10:02.507  5111: 5325 D/AudioPlayer ]
   Send a onStatus update for the new seek
   
   [ 08-05 09:10:03.248  5111: 5325 D/AudioPlayer ]
   on completion is calling stopped
   
   [ 08-05 09:10:13.910  5111: 5144 W/System   ]
   A resource failed to call close.
   
   [ 08-05 09:11:59.741  5111: 5111 I/FIAM.Display ]
   Unbinding from activity: MainActivity
   
   [ 08-05 09:11:59.741  5111: 5111 I/FIAM.Headless ]
   Removing display event component
   
   [ 08-05 09:11:59.741  5111: 5111 D/CordovaActivity ]
   Paused the activity.
   
   [ 08-05 09:11:59.764  5111: 5325 D/AudioPlayer ]
   AudioPlayer Error: pausePlaying() called during invalid state: 3
   
   [ 08-05 09:12:00.233  5111: 5111 D/CordovaActivity ]
   Stopped the activity.
   ```
   
   Has anyone had the same issue? What am I doing wrong? Or is it a bug?
   
   ### Version information
   
   Android Platform 10.1.2 (from `cordova platform list`)
   Cordova CLI 11.0.0 (from `cordova -v`)
   Android SDK 30
   Android 10 (my mobile version)
   Windows 10 (where is the SDK and logcat)
   


-- 
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