Giter Site home page Giter Site logo

Comments (12)

jamesmontemagno avatar jamesmontemagno commented on July 23, 2024 2

Check: 3.0.1.40-beta

from deviceinfoplugin.

prashantvc avatar prashantvc commented on July 23, 2024

Could you share the ADB logs from the device?
I am not able to reproduce this issue. Meantime, I recommend downloading the source code from this repo, and debug it locally

from deviceinfoplugin.

DottorPagliaccius avatar DottorPagliaccius commented on July 23, 2024

Here it is:

Info (1238) / MQoS: onSignal: mSubId=0,currDataSubID=0
Info (1238) / MQoS: received cell-signal:4
Info (1238) / SendBroadcastPermission: action:android.intent.action.SIG_STR, mPermissionType:0
Info (1238) / MQoS: QOS_level:4(4),wifi-link;use signalLvl:4;RAT:3G-UMTS
Info (1531) / HwMobileSignalController: subId:0 phoneType:1 networktype:3 targetClass:2 masterLevel:3 slaveLevel:-1
Info (893) / OAM: [check_file_size:417]/data/log/wifi/wifi_log_1 log file beyond size=10240Byte, creat new file
Info (893) / OAM: [rename_old_file:122]rename_old_file
Info (893) / OAM: 
Info (1238) / TrafficMonitor: update:rxPkts:0,txPkts:0,rxBytes:0,txBytes:0
Info (1238) / TrafficMonitor: start expired. level:-1
Info (1238) / TrafficMonitor: gettimer:interval=2000
Error (1238) / HwCHRWifiRSSIGroupSummery: updatArpSummery mRSSI:-44  HwCHRWifiRSSIGroup [rssi_index=4, rtt_tcp_packets=94, rtt_tcp_duration=6410, rtt_lan_duration=309, rtt_lan_failures=0, rtt_lan_succ=19, rtt_lan_max=30, rtt_lan_min=4,same_area_frequency=0,adjacent_area_frequency=0]
Info (1238) / TrafficMonitor: expired arrive. level:-1
Info (1238) / TrafficMonitor: during_ms:2003,period_ms:2000
Info (1238) / TrafficMonitor: count:267,rx_sum:0,tx_sum:0,rxBytes:0,during_ms:2003,rx_speed:0.0,tx_speed:0.0,rto:0.0
Error (1238) / HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=0 mUIDIsSuck=]  WebSpeed [WEBSENDSEGS=0  WEBRESENDSEGS=0  WEBRECVSEGS=0  WEBERRSEGS=0  WEBOUTRSTS=0  WEBESTABLISRST=0  WEBRTTDURATION=0  WEBRTTSEGS=0  WEBSRTT=460  WEBSNDDUPACKS=0  SENDSEGS=0  RESENDSEGS=0  RECVSEGS=0  ERRSEGS=0  OUTRSTS=0  ESTABLISRST=0  RTTDURATION=0  RTTSEGS=0  SNDDUPACKS=0  suckTimes=0 recovage_times=0]
Error (1238) / HwCHRWifiRSSIGroupSummery: updateTcpSummery mRSSI:-44  HwCHRWifiRSSIGroup [rssi_index=4, rtt_tcp_packets=94, rtt_tcp_duration=6410, rtt_lan_duration=309, rtt_lan_failures=0, rtt_lan_succ=19, rtt_lan_max=30, rtt_lan_min=4,same_area_frequency=0,adjacent_area_frequency=0]
Error (1238) / HwCHRWebMonitor: HwCHRWifiPacketCnt [mTXGood=2, mTXbad=0, mRXGood=2] rssi=-44
Error (1238) / HwCHRWebMonitor: running processName=***********************
Error (1238) / HwCHRWifiFile: getFileResult throw exceptionjava.io.FileNotFoundException: /sys/kernel/debug/bcmdhd/debug_wl_counters (No such file or directory)
Error (1238) / HwCHRWifiLinkMonitor: HwCHRWifiBcmIncrCounterLst [txbyte=0  txframe=0  txnoassoc=0  txphyerror=0  txctl=0  txfail=0  txphyerr=0  txfrmsnt=0  txnoack=0  txfrag=0  txnocts=0  txrts=0  txnobuf=0  txallfrm=0  txerror=0  txretrans=0  rxbyte=0  rxframe=0  rxbadfcs=0  rxbadplcp=0  rxmulti=0  rxfrag=0  rxctl=0  rxbadcm=0  rxnobuf=0  rxcrsglitch=0  rxbadds=0  rxnondata=0  rxmulti=0  reset=0  rxdfrmocast=0  rxmfrmocast=0  rxdfrmucastmbss=0  rxmfrmucastmbss=0  rxbeaconmbss=0  rxdfmucastobss=0  rxbeaconobss=0  rxstrt=0  rxcfrmocast=0  rxcfrmucast=0  rxdfrmmcast=0  rxmfrmmcast=0  rxcfrmmcast=0  ]
Info (1238) / TrafficMonitor: update:rxPkts:0,txPkts:0,rxBytes:0,txBytes:0
Info (1238) / TrafficMonitor: start expired. level:-1
Info (1238) / TrafficMonitor: gettimer:interval=2000
Info (1238) / EventHub: EventHub monitor: no key events in the past 5540s, no motion events in the past 33s

Code:

string id = string.Empty;
        /// <inheritdoc/>
        public string Id
        {
            get
            {
                if (!string.IsNullOrWhiteSpace(id))
                    return id;

                id = Build.Serial; <----- It's throwing the exception here
                if(id == Build.Unknown)
                {
                    try
                    {
                        var context = CrossCurrentActivity.Current.Activity ?? Android.App.Application.Context;
                        id = Secure.GetString(context.ContentResolver, Secure.AndroidId);
                    }
                    catch(Exception ex)
                    {
                        Android.Util.Log.Warn("DeviceInfo", "Unable to get id: " + ex.ToString());
                    }
                }

                return id;
            }
        }

from deviceinfoplugin.

jamesmontemagno avatar jamesmontemagno commented on July 23, 2024

What if you compile against 7.1?
I believe this is a xamarin.android issue with bindings

from deviceinfoplugin.

jamesmontemagno avatar jamesmontemagno commented on July 23, 2024

Filed a bug with the team from what I think is the issue: https://bugzilla.xamarin.com/show_bug.cgi?id=60069

from deviceinfoplugin.

MileyHollenberg avatar MileyHollenberg commented on July 23, 2024

This issue has been closed but has the actual bug been fixed? I'm currently experiencing the same thing and changing the compile target doesn't resolve the issue.

from deviceinfoplugin.

DottorPagliaccius avatar DottorPagliaccius commented on July 23, 2024

@jamesmontemagno I've tried compiling against 7.1 and it works (before I was compiling against 8.0). @zezioen I suppose this bug has been closed because it's related to Xamarin.Android, not to this plugin.

from deviceinfoplugin.

prashantvc avatar prashantvc commented on July 23, 2024

@zezioen I marked this issue closed because it's a bug in XA.
Please add yourself to CC list on the bug report to get the updates

from deviceinfoplugin.

jamesmontemagno avatar jamesmontemagno commented on July 23, 2024

Ensure you change you compile with to 7.1 and not 8.0, the team is actively fixing it.

from deviceinfoplugin.

MileyHollenberg avatar MileyHollenberg commented on July 23, 2024

Oddly enough changing the compile target back to 7.1 didn't work for one branch but when I switched to another branch it did work.

from deviceinfoplugin.

DottorPagliaccius avatar DottorPagliaccius commented on July 23, 2024

@jamesmontemagno I've tried compiling against 8.0 and it works, thanks ;)

from deviceinfoplugin.

gsaldana avatar gsaldana commented on July 23, 2024

Hi @jamesmontemagno, I'm trying to compile using 3.0.1.40-beta and 3.0.2.43-beta and I'm getting the same message.
Additional I've tried compile it with 7.1 but got another message: In AppBarLayout, unable to find attribute android:keyboardNavigationCluster. I think this is not related to the topic of this thread.

from deviceinfoplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.