Android Question SDK 31 and USB.RequestPermission

Filippo

Expert
Licensed User
Longtime User
Hi,

same problem with the Internal Library "USB" version 0.98 as in the thread: https://www.b4x.com/android/forum/threads/sdk-31-and-usbserial-requestpermission.143602/
Is there already an update?

B4X:
Private usbmanager As UsbManager
    
Public Sub ConnectUsbButton
    Dim indexUsbDevice As Int = GetUsbDevice
    usbmanager.RequestPermission(device)
End Sub

--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Receiver (smstopwatch) OnReceive **
** Receiver (smusb) OnReceive **
** Receiver (smusb) OnReceive **
** Receiver (smusb) OnReceive **
*** Service (starter) Create ***
** Service (starter) Start **
** Service (smusb) Create **
** Service (smusb) Start **
Service started in foreground mode.
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Service (smusb) Destroy **
** Receiver (smmaster) OnReceive **
** Receiver (smcmm) OnReceive **
** Receiver (smusb) OnReceive **
*** Service (smusb) Create ***
** Service (smusb) Start **
USB_DEVICE_ATTACHED:Bundle[{device=UsbDevice[mName=/dev/bus/usb/001/022,mVendorId=9025,mProductId=32822,mClass=239,mSubclass=2,mProtocol=1,mManufacturerName=Arduino LLC,mProductName=Arduino Leonardo,mVersion=1.00,mSerialNumberReader=android.hardware.usb.IUsbSerialReader$Stub$Proxy@106814, mHasAudioPlayback=false, mHasAudioCapture=false, mHasMidi=false, mHasVideoCapture=false, mHasVideoPlayback=false, mConfigurations=[
UsbConfiguration[mId=1,mName=null,mAttributes=160,mMaxPower=250,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=2,mSubclass=2,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=3,mMaxPacketSize=16,mInterval=64]]
UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
UsbEndpoint[mAddress=131,mAttributes=2,mMaxPacketSize=64,mInterval=0]]]]}]
clsfelusb$ResumableSub_ConnectUsbButtonresume (java line: 205)
java.lang.IllegalArgumentException: fg.speedpilot_lite: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
at anywheresoftware.b4a.objects.usb.UsbManagerWrapper.RequestPermission(UsbManagerWrapper.java:138)
at fg.speedpilot_lite.clsfelusb$ResumableSub_ConnectUsbButton.resume(clsfelusb.java:205)
at fg.speedpilot_lite.clsfelusb._connectusbbutton(clsfelusb.java:134)
at fg.speedpilot_lite.starter._initfelusb(starter.java:397)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1085)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:1040)
at fg.speedpilot_lite.smusb._service_start(smusb.java:170)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
at fg.speedpilot_lite.smusb.handleStart(smusb.java:100)
at fg.speedpilot_lite.smusb.access$000(smusb.java:8)
at fg.speedpilot_lite.smusb$1.run(smusb.java:71)
at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:237)
at fg.speedpilot_lite.smusb.onStartCommand(smusb.java:69)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4679)
at android.app.ActivityThread.access$2100(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2128)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
** Receiver (smusb) OnReceive **
*** Service (starter) Create ***
(ErrnoException) android.system.ErrnoException: bind failed: EADDRINUSE (Address already in use)
** Service (starter) Start **
** Service (smusb) Create **
** Service (smusb) Start **
Service started in foreground mode.
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
** Service (smusb) Destroy **
 

jahswant

Well-Known Member
Licensed User
Longtime User

Check this library. It was updated today.
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User
Hi @jahswant ,

thanks for the answer.

I also use in my app the library "felUscbSerial", if i replace the lirary "USB" with "UsbSerial26" then the library "felUscbSerial" doesn't work anymore.
I have to enter a USB device when initializing "felUscbSerial", I don't get it with the library "UsbSerial26".

B4X:
Sub Class_Globals
  Private usbmanager As UsbSerial' UsbManager
  Private usbserial As felUsbSerial
End Sub

Dim device As UsbDevice = usbmanager.GetDevices(1) 'The function GetDevices does not exist.'

usbserial.Initialize("serial", device, -1)
 
Upvote 0

jahswant

Well-Known Member
Licensed User
Longtime User
B4X:
If usb1.UsbPresent(1) = usb1.USB_NONE Then    ' Ver_2.4
                            Log("MsgboxAsync - no device")
                            MsgboxAsync("No USB device or accessory detected!", "Error 1")
                            Log("MsgboxAsync - returned")
                            Return
                        End If
                        Log("Checking permission 1")
                        If (usb1.HasPermission(1)) Then    ' Ver_2.4
                            Dim dev As Int
                            'dev = usb.Open(115200, 1)        ' Ver_2.4
                            dev = usb1.Open(9600, 1)        ' Ver_2.4
                            If dev <> usb1.USB_NONE Then
                                AstreamsUSBSerial.Initialize(usb1.GetInputStream, usb1.GetOutputStream, "AstreamsUSBSerial")
                                Sleep(1000)
                                AstreamsUSBSerial.Write(PrintTicket1(Sales_Code1).GetBytes ("windows-1252"))
                             
                                BCT.Show(Main.Loc.Localize("printedok"))
                                AstreamsUSBSerial.Close
                            Else
                                Log("Error opening USB port 1")
                            End If
                        Else
                            usb1.RequestPermission(1)  ' Ver_2.4
                        End If
 
Upvote 0

Filippo

Expert
Licensed User
Longtime User
Hi @jahswant ,

I never used the library "UsbSerial" because it never worked with my USB device (Arduino-Nano, Leonardo USB, ...).
Even now it does not work, see logs.

B4X:
Public Sub ConnectUsbButton
    If usbmanager.UsbPresent(1) = usbmanager.USB_NONE Then
        'Log("No connected usb devices.")
        ToastMessageShow(Starter.Language.Value("USBNotConnected"), True)
        IsConnected = False
    Else
        If usbmanager.HasPermission(1) = False Then
            usbmanager.RequestPermission(1)
            
            Dim timeout As Int
            Do While Not(usbmanager.HasPermission(1)) And timeout < 30
                Sleep(1000)
                timeout = timeout + 1
                'Log("Sleep(1000)" & timeout)
            Loop
            
            If usbmanager.HasPermission(1) Then
                'LogColor("ConnectUsbButton", Colors.Green)
                ConnectUsbButton
            End If
        Else
            Dim dev As Int
            dev = usbmanager.Open(9600, 1)
            If dev <> usbmanager.USB_NONE Then
                astreams1.Initialize(usbmanager.GetInputStream, usbmanager.GetOutputStream, "serial")
                IsConnected = True
            Else
                Log("Error opening USB port 1")
            End If
        End If
    End If
End Sub

Private Sub serial_Error
    Log("Error: " & LastException)
    astreams1.Close
End Sub
Process: fg.speedpilot_lite, PID: 16363
java.lang.RuntimeException: java.net.SocketException: Socket closed
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:177)
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:105)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:119)
at java.net.SocketOutputStream.write(SocketOutputStream.java:156)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:62)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:305)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:146)
... 9 more
java.lang.RuntimeException: java.net.SocketException: Socket closed
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:177)
at anywheresoftware.b4a.objects.Timer$TickTack.run(Timer.java:105)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.net.SocketException: Socket closed
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:119)
at java.net.SocketOutputStream.write(SocketOutputStream.java:156)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
at anywheresoftware.b4a.shell.ShellConnector.sendControlMessage(ShellConnector.java:62)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:305)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:146)
... 9 more
-1 received
writer error
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2056)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2090)
at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:417)
at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
at java.lang.Thread.run(Thread.java:1012)
System.exit called, status: 0
VM exiting with result code 0, cleanup skipped.
Not starting debugger since process cannot load the jdwp agent.
Failed to open app image /data/app/~~z_SfKXZrsjnOhWJLmGxBDA==/fg.speedpilot_lite-DeayKn2JXUf3A2wl51_h0Q==/oat/arm64/base.art Invalid image header in '/data/app/~~z_SfKXZrsjnOhWJLmGxBDA==/fg.speedpilot_lite-DeayKn2JXUf3A2wl51_h0Q==/oat/arm64/base.art'
Class com.google.firebase.auth.FirebaseAuthRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.auth.FirebaseAuthRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.auth.FirebaseAuthRegistrar
... 25 more
Class com.google.firebase.iid.Registrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.iid.Registrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.iid.Registrar
... 25 more
Class com.google.firebase.firestore.FirestoreRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.firestore.FirestoreRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.firestore.FirestoreRegistrar
... 25 more
Class com.google.firebase.messaging.FirebaseMessagingRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.messaging.FirebaseMessagingRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.messaging.FirebaseMessagingRegistrar
... 25 more
Class com.google.firebase.database.DatabaseRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.database.DatabaseRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.database.DatabaseRegistrar
... 25 more
Class com.google.firebase.storage.StorageRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.storage.StorageRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.storage.StorageRegistrar
... 25 more
Device unlocked: initializing all Firebase APIs for app [DEFAULT]
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/000000fb/DynamiteLoader.dm': No such file or directory
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/000000fb/DynamiteLoader.dm': No such file or directory
Considering local module com.google.android.gms.measurement.dynamite:51 and remote module com.google.android.gms.measurement.dynamite:84
Selected remote version of com.google.android.gms.measurement.dynamite, version >= 84
Initializing Crashlytics 17.2.2
FirebaseApp initialization successful
** Receiver (smusb) OnReceive **
Cannot start from a receiver in debug mode.
ClassLoader referenced unknown path:
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/00000100/MeasurementDynamite.dm': No such file or directory
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/00000100/MeasurementDynamite.dm': No such file or directory
App measurement initialized, version: 73015
To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app fg.speedpilot_lite
Not starting debugger since process cannot load the jdwp agent.
Failed to open app image /data/app/~~uoLi-LHFoxXJnRqTO2xfKA==/fg.speedpilot_lite-4o0u3j3ap09J4XHwgNt_0w==/oat/arm64/base.art Invalid image header in '/data/app/~~uoLi-LHFoxXJnRqTO2xfKA==/fg.speedpilot_lite-4o0u3j3ap09J4XHwgNt_0w==/oat/arm64/base.art'
Class com.google.firebase.auth.FirebaseAuthRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.auth.FirebaseAuthRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.auth.FirebaseAuthRegistrar
... 25 more
Class com.google.firebase.iid.Registrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.iid.Registrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.iid.Registrar
... 25 more
Class com.google.firebase.firestore.FirestoreRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.firestore.FirestoreRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.firestore.FirestoreRegistrar
... 25 more
Class com.google.firebase.messaging.FirebaseMessagingRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.messaging.FirebaseMessagingRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.messaging.FirebaseMessagingRegistrar
... 25 more
Class com.google.firebase.database.DatabaseRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.database.DatabaseRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.database.DatabaseRegistrar
... 25 more
Class com.google.firebase.storage.StorageRegistrar is not an found.
java.lang.ClassNotFoundException: com.google.firebase.storage.StorageRegistrar
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at java.lang.Class.forName(Class.java:379)
at com.google.firebase.components.ComponentDiscovery.instantiate(com.google.firebase:firebase-components@@16.0.0:80)
at com.google.firebase.components.ComponentDiscovery.discover(com.google.firebase:firebase-components@@16.0.0:73)
at com.google.firebase.FirebaseApp.<init>(FirebaseApp.java:419)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:300)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:268)
at com.google.firebase.FirebaseApp.initializeApp(FirebaseApp.java:253)
at com.google.firebase.provider.FirebaseInitProvider.onCreate(FirebaseInitProvider.java:51)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2404)
at android.content.ContentProvider.attachInfo(ContentProvider.java:2374)
at com.google.firebase.provider.FirebaseInitProvider.attachInfo(FirebaseInitProvider.java:45)
at android.app.ActivityThread.installProvider(ActivityThread.java:7461)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6978)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6749)
at android.app.ActivityThread.access$1600(ActivityThread.java:253)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2090)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)
Caused by: java.lang.ClassNotFoundException: com.google.firebase.storage.StorageRegistrar
... 25 more
Device unlocked: initializing all Firebase APIs for app [DEFAULT]
Initializing Crashlytics 17.2.2
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/000000fb/DynamiteLoader.dm': No such file or directory
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/000000fb/DynamiteLoader.dm': No such file or directory
Considering local module com.google.android.gms.measurement.dynamite:51 and remote module com.google.android.gms.measurement.dynamite:84
Selected remote version of com.google.android.gms.measurement.dynamite, version >= 84
FirebaseApp initialization successful
ClassLoader referenced unknown path:
[QT]file does not exist
common created.
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/00000100/MeasurementDynamite.dm': No such file or directory
Unable to open '/data/user_de/0/com.google.android.gms/app_chimera/m/00000100/MeasurementDynamite.dm': No such file or directory
Starting remote logger. Port: 7862
[static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@a354578
[](id:428c00000000,api:0,p:-1,c:17036) connect: controlledByApp=false
[ViewRootImpl[main]#0] constructor()
[ViewRootImpl[main]#0(BLAST Consumer)0](id:428c00000000,api:1,p:17036,c:17036) connect: api=1 producerControlledByApp=true
ioctl c0044901 failed with code -1: Invalid argument
App measurement initialized, version: 73015
To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app fg.speedpilot_lite
fbcNotifyFrameComplete error: undefined symbol: fbcNotifyFrameComplete
fbcNotifyNoRender error: undefined symbol: fbcNotifyNoRender
*** Debugger waiting for connection (0) ***
Tag Manager is not found and thus will not be used
After accept
[ViewRootImpl[main]#0(BLAST Consumer)0](id:428c00000000,api:1,p:17036,c:17036) disconnect: api 1
[ViewRootImpl[main]#0(BLAST Consumer)0](id:428c00000000,api:1,p:17036,c:17036) connect: api=1 producerControlledByApp=true
*** Debugger waiting for connection (1) ***
*** Service (starter) Create ***
INSP: type=audio,case=1,set=0xb40000778a582f30,stream_type=-1,sample_rate=8000,format=0x1,channel_mask=0x1,frame_count=400,flags=0x0,notification_frames=0,session_id=0,transfer_type=4,uid=-1,pid=-1
INSP: type=audio,case=1,attributes=1,content_type=2,usage=1,source=0,flags=0x800
set(): Building AudioTrack with attributes: usage = 1, content = 2, flags = 0x800, tags = []
set(): 0xb40000778a582f30, Create AudioTrackThread, tid = 17102
createTrack_l(1119): 0xb40000778a582f30, mCblk = 0x79209c1000, mLatency = 102, mAfLatency = 52, frameCount = 400, mSampleRate = 8000, mFlags = 0, mReqFrameCount = 400, mNotificationFramesAct = 0
Use of stream types is deprecated for operations other than volume control
See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
INSP: type=audio,case=1,set=0xb40000778a581570,stream_type=-1,sample_rate=8000,format=0x1,channel_mask=0x1,frame_count=2400,flags=0x0,notification_frames=0,session_id=0,transfer_type=4,uid=-1,pid=-1
INSP: type=audio,case=1,attributes=1,content_type=2,usage=1,source=0,flags=0x800
set(): Building AudioTrack with attributes: usage = 1, content = 2, flags = 0x800, tags = []
set(): 0xb40000778a581570, Create AudioTrackThread, tid = 17103
createTrack_l(1120): 0xb40000778a581570, mCblk = 0x79209af100, mLatency = 352, mAfLatency = 52, frameCount = 2400, mSampleRate = 8000, mFlags = 0, mReqFrameCount = 2400, mNotificationFramesAct = 0
Use of stream types is deprecated for operations other than volume control
See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
SkJpegCodec::eek:nGetPixels +
SkJpegCodec::eek:nGetPixels -
Compat change id reported: 171228096; UID 10185; state: ENABLED
ignoring event: billmanager_showlizenzinfo
INSP: type=audio,case=1,set=0xb40000778a5aa610,stream_type=-1,sample_rate=8000,format=0x1,channel_mask=0x1,frame_count=400,flags=0x0,notification_frames=0,session_id=0,transfer_type=4,uid=-1,pid=-1
INSP: type=audio,case=1,attributes=1,content_type=2,usage=1,source=0,flags=0x800
set(): Building AudioTrack with attributes: usage = 1, content = 2, flags = 0x800, tags = []
set(): 0xb40000778a5aa610, Create AudioTrackThread, tid = 17105
createTrack_l(1121): 0xb40000778a5aa610, mCblk = 0x791cbff200, mLatency = 102, mAfLatency = 52, frameCount = 400, mSampleRate = 8000, mFlags = 0, mReqFrameCount = 400, mNotificationFramesAct = 0
Use of stream types is deprecated for operations other than volume control
See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
INSP: type=audio,case=1,set=0xb40000778a5a9fa0,stream_type=-1,sample_rate=8000,format=0x1,channel_mask=0x1,frame_count=800,flags=0x0,notification_frames=0,session_id=0,transfer_type=4,uid=-1,pid=-1
INSP: type=audio,case=1,attributes=1,content_type=2,usage=1,source=0,flags=0x800
set(): Building AudioTrack with attributes: usage = 1, content = 2, flags = 0x800, tags = []
set(): 0xb40000778a5a9fa0, Create AudioTrackThread, tid = 17106
createTrack_l(1122): 0xb40000778a5a9fa0, mCblk = 0x791cbfd300, mLatency = 152, mAfLatency = 52, frameCount = 800, mSampleRate = 8000, mFlags = 0, mReqFrameCount = 800, mNotificationFramesAct = 0
Use of stream types is deprecated for operations other than volume control
See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
INSP: type=audio,case=1,set=0xb40000778a5ae000,stream_type=-1,sample_rate=8000,format=0x1,channel_mask=0x1,frame_count=400,flags=0x0,notification_frames=0,session_id=0,transfer_type=4,uid=-1,pid=-1
INSP: type=audio,case=1,attributes=1,content_type=2,usage=1,source=0,flags=0x800
set(): Building AudioTrack with attributes: usage = 1, content = 2, flags = 0x800, tags = []
set(): 0xb40000778a5ae000, Create AudioTrackThread, tid = 17107
createTrack_l(1123): 0xb40000778a5ae000, mCblk = 0x791cbfb400, mLatency = 102, mAfLatency = 52, frameCount = 400, mSampleRate = 8000, mFlags = 0, mReqFrameCount = 400, mNotificationFramesAct = 0
Use of stream types is deprecated for operations other than volume control
See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case
** Activity (main) Resume **
Skipped 61 frames! The application may be doing too much work on its main thread.
Davey! duration=1095ms; Flags=0, FrameTimelineVsyncId=6555588, IntendedVsync=201980453097628, Vsync=201981469764315, InputEventId=0, HandleInputStart=201981480861500, AnimationStart=201981480864653, PerformTraversalsStart=201981481477192, DrawStart=201981507113269, FrameDeadline=201980473097628, FrameInterval=201981480605884, FrameStartTime=16666667, SyncQueued=201981516924576, SyncStart=201981517008961, IssueDrawCommandsStart=201981520648346, SwapBuffers=201981546122730, FrameCompleted=201981548725269, DequeueBufferDuration=1182153, QueueBufferDuration=1802769, GpuCompleted=201981548725269, SwapBuffersCompleted=201981548637576, DisplayPresentTime=0,
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
Skipped 38 frames! The application may be doing too much work on its main thread.
Background concurrent copying GC freed 571397(25MB) AllocSpace objects, 74(1836KB) LOS objects, 77% free, 7135KB/30MB, paused 143us,62us total 104.786ms
A resource failed to call close.
** Receiver (smusb) OnReceive **
*** Service (smusb) Create ***
** Service (smusb) Start **
Compat change id reported: 160794467; UID 10185; state: ENABLED
** Activity (main) Pause, UserClosed = false **
** Service (smusb) Destroy **
** Activity (main) Resume **
WakeLock already held.
claiming interfaces, count=2
Claiming control interface.
Control iface=UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=2,mSubclass=2,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=129,mAttributes=3,mMaxPacketSize=16,mInterval=64]]
Control endpoint direction: 128
Claiming data interface.
data iface=UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=10,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
UsbEndpoint[mAddress=131,mAttributes=2,mMaxPacketSize=64,mInterval=0]]
Read endpoint direction: 128
Write endpoint direction: 0
Setting line coding to 115200/8N1
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
UsbSerial is irrelevant as far as Fillippo is concerned. It is not a replacement for the USB library. He is not dealing with simulated serial ports, he is dealing directly with USB devices, the USB library is a wrapper round the Android USB APIs. He needs the USB library modified to add the now required flags but while I wrote v0.93 Erel has expanded it significantly since then and I do not have the latest source code.
 
Upvote 0
Top