Comments (12)
Check: 3.0.1.40-beta
from deviceinfoplugin.
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.
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.
What if you compile against 7.1?
I believe this is a xamarin.android issue with bindings
from deviceinfoplugin.
Filed a bug with the team from what I think is the issue: https://bugzilla.xamarin.com/show_bug.cgi?id=60069
from deviceinfoplugin.
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.
@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.
@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.
Ensure you change you compile with to 7.1 and not 8.0, the team is actively fixing it.
from deviceinfoplugin.
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.
@jamesmontemagno I've tried compiling against 8.0 and it works, thanks ;)
from deviceinfoplugin.
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)
- DeviceName returns missingMethodException HOT 1
- Attempting to JIT compile method ... while running in aot-only mode. HOT 2
- Getting IMEI of device HOT 1
- TypeLoadException when loading Android F# Libraries HOT 2
- Retrieve Bundle Id/Package Name HOT 1
- DeviceId changes after uninstalling and installing the app. IOs HOT 2
- This functionality is not implemented in the portable version of this assembly HOT 6
- Android 9 Version Incorrect HOT 3
- can't get iOS model HOT 1
- Operating System installation date HOT 3
- [URGENT] Cannot get "Platform" value before a window is being activated in UWP project HOT 4
- CrossDeviceInfo.Current.VersionNumber return 0.0 on Android Pie HOT 3
- System.NotImplementedException during xUnit test from Xam.Plugins.Settings HOT 2
- Sequence contains no elements when internet is disabled HOT 2
- AppVersion format for all 3 platforms is not consistent HOT 1
- I guess we should use Xamarin.Essentials now instead of this plugin? HOT 1
- Id - what does it represent and what permission it requires HOT 1
- Visual Studio and DeviceInfo Match but OS on Android Phone says 9.1 HOT 3
- Feature Request: disclosing PhoneId (aka UDID in iOS)
- Add support for net6.0-windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deviceinfoplugin.