AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

Logsender bug

Open Shekhanzai opened this issue 1 year ago • 2 comments

Issue Checklist

  • [X] I confirm that this issue is not a duplicate and hasn't been reported before.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • [X] I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

You mention this on release changes log Fixed a bug which caused the LogSenderService to disconnect (#1385)

Which is still not fixed in the last release 2.7.0-beta When you build for the first time it works fine after that it automatically disconnects no matter how many retry you do

Expected behavior

Should not disconnects

Version name

2.7.0-beta-arm64-v8a

Relevant log output

LogReceiverImpl           I   Starting log sender handler.. 
LogReceiverService        D   Waiting for log consumer... 
MultiLogSenderHandler     I   Starting log receiver server socket at port 38883 
LogReceiverImpl           I   Connecting to client com.bug.pkg:65c5af6a-3020-4094-94dc-006515d92bb4:20664 
LogReceiverImpl           I   Total clients connected: 1 
LogReceiverService        D   Received bind request: Intent { act=com.itsaky.androidide.logrecevier.CONNECT_LOG_CONSUMER cmp=com.itsaky.androidide/.services.log.LogReceiverService } 
AppLogFragment            I   LogReceiver service is being started 
LogReceiverService        I   Log consumer has been bound 
LogReceiverImpl           I   Notifying sender 'com.bug.pkg' to start reading logs... 
MultiLogSenderHandler     I   A log sender has been connected 
LogReceiverImpl           I   Disconnecting from client: 'com.bug.pkg' 
LogSenderHandler          D   Closing log sender handler... 
LogReceiverImpl           I   Total clients connected: 0 
LogReceiverImpl           D   Disconnecting from all senders... 
LogReceiverService        D   LogReceiverService is being destroyed... 
AppLogFragment            I   Unbound from LogReceiver service 
BootClassProvider         D   Indexing boot classpath:  /data/data/com.itsaky.androidide/files/home/.androidide/android.jar 
EditorActivity            D   [onPause]  No opened files.  Opened files cache reset to null. 
BootClassProvider

Shekhanzai avatar Jan 16 '24 13:01 Shekhanzai

@Shekhanzai Unfortunately, I'm not able to reproduce this issue on my device. Can you provide steps or a sample project to do so?

Also, you need to provide the exact version name of AndroidIDE so that I can determine the commits that may have caused this issue. Go to IDE Preferences -> About AndroidIDE and click on the version name to copy it. Then paste the copied text here.

itsaky avatar Jan 16 '24 17:01 itsaky

Version : v2.7.0-beta (27001) CI Build : false Branch : HEAD Commit : 062d240e9 Variant : arm64-v8a (release) Build type : OFFICIAL SDK Version : 33 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : OPPO Device : CPH2145

Shekhanzai avatar Jan 17 '24 07:01 Shekhanzai