ОШИБКА Xamarin.Forms при тестировании приложения произошел идентификатор ресурса # 0x7f040046 - PullRequest
0 голосов
/ 23 апреля 2019

Поэтому я разрабатываю кроссплатформенное приложение с Xamarin. Формы и я кодируем страницу входа в систему, и когда я запускаю приложение, я получаю эту ошибку из данных отчета об ошибках.

Я уже пытался найти эту ошибку в Google / StackOverflow, но не нашел ее решения, а еще раз закодировал ее, чтобы узнать, была ли это моя ошибка, но нет. это ошибка, которую я получаю Необработанное исключение:

Android.Content.Res.Resources + NotFoundException: произошел идентификатор ресурса # 0x7f040046

can't find the pid
Failed to find: /data/misc/anrd/
Skipping systrace because '/sys/kernel/debug/tracing/tracing_on' content 
is '0'
/data/misc/raft does not exist or is not a directory
Adding dir /cache/recovery (recursive: 1)
Duration of '/cache/recovery': 0.001s
Adding dir /data/misc/recovery (recursive: 1)
Duration of '/data/misc/recovery': 0.007s
Adding dir /data/misc/logd (recursive: 0)
Duration of '/data/misc/logd': 0.001s
Adding dir /data/misc/profiles/cur (recursive: 1)
Duration of '/data/misc/profiles/cur': 0.113s
Adding dir /data/misc/profiles/ref (recursive: 1)
Duration of '/data/misc/profiles/ref': 0.032s
MOUNT INFO: 29 entries added to zip file
Duration of 'MOUNT INFO': 0.026s
warning: could not read usage for 1
warning: could not read usage for 1048
warning: could not read usage for 1342
warning: could not read usage for 1343
warning: could not read usage for 1344
warning: could not read usage for 1345
warning: could not read usage for 1351
warning: could not read usage for 1352
warning: could not read usage for 1395
warning: could not read usage for 1396
warning: could not read usage for 1397
warning: could not read usage for 1398
warning: could not read usage for 1399
warning: could not read usage for 1400
warning: could not read usage for 1401
warning: could not read usage for 1402
warning: could not read usage for 1403
warning: could not read usage for 1404
warning: could not read usage for 1405
warning: could not read usage for 1406
warning: could not read usage for 1407
warning: could not read usage for 1408
warning: could not read usage for 1409
warning: could not read usage for 1411
warning: could not read usage for 1412
warning: could not read usage for 1413
warning: could not read usage for 1414
warning: could not read usage for 1416
warning: could not read usage for 1420
warning: could not read usage for 1422
warning: could not read usage for 1543
warning: could not read usage for 1544
warning: could not read usage for 1545
warning: could not read usage for 1546
warning: could not read usage for 1547
warning: could not read usage for 1548
warning: could not read usage for 1549
warning: could not read usage for 1551
warning: could not read usage for 1552
warning: could not read usage for 1553
warning: could not read usage for 1554
warning: could not read usage for 1555
warning: could not read usage for 1557
warning: could not read usage for 1559
warning: could not read usage for 1563
warning: could not read usage for 1564
warning: could not read usage for 1576
warning: could not read usage for 1577
warning: could not read usage for 1648
warning: could not read usage for 1652
warning: could not read usage for 1653
warning: could not read usage for 1662
warning: could not read usage for 1667
warning: could not read usage for 1673
warning: could not read usage for 1687
warning: could not read usage for 1877
warning: could not read usage for 1896
warning: could not read usage for 1924
warning: could not read usage for 1934
warning: could not read usage for 1967
warning: could not read usage for 2060
warning: could not read usage for 2374
warning: could not read usage for 2397
warning: could not read usage for 2450
warning: could not read usage for 2473
warning: could not read usage for 2549
warning: could not read usage for 2702
warning: could not read usage for 2934
warning: could not read usage for 3005
warning: could not read usage for 3031
warning: could not read usage for 3201
warning: could not read usage for 4933
warning: could not read usage for 5001
warning: could not read usage for 5032
warning: could not read usage for 5271
warning: could not read usage for 9178
warning: could not read usage for 9188
warning: could not read usage for 9223
warning: could not read usage for 13434
warning: could not read usage for 17552
warning: could not read usage for 17597
warning: could not read usage for 20141
warning: could not read usage for 20209
warning: could not read usage for 23339
warning: could not read usage for 27382
warning: could not read usage for 28024
warning: could not read usage for 28060
warning: could not read usage for 32711
Error getting map memory usage of map /init in process 1.
*** command '/system/xbin/su root librank' failed: exit code 1
Skipping 'lsmod' because /proc/modules does not exist
Adding dir /data/misc/bluetooth/logs (recursive: 1)
Duration of '/data/misc/bluetooth/logs': 0.001s
taking late screenshot
drop_root_user(): already running as Shell
Error opening file:  (No such file or directory)
*** command '/system/bin/screencap -p ' failed: exit code 1
Failed to take screenshot on 
logcat read failure
*** command 'logcat -L -b all -v threadtime -v printable -v uid -d *:v' failed: exit code 1
AddAnrTraceDir(): dump_traces_file=/data/anr/dumptrace_BmMLHs, anr_traces_dir=/data/anr
Dumping current ANR traces (/data/anr/dumptrace_BmMLHs) to the main bugreport entry
Error unlinking temporary trace path /data/anr/dumptrace_BmMLHs: Permission denied
execvp on command 'parse_radio_log /proc/last_radio_log' failed (error: Permission denied)
*** command 'parse_radio_log /proc/last_radio_log' failed: exit code 1
No IDumpstateDevice implementation
Can't find service: android.service.gatekeeper.IGateKeeperService
Error dumping service info: (Unknown error -2147483646) installd
Error dumping service info: (Unknown error -2147483646) storaged
Adding main entry (bugreport-sdk_gphone_x86-OSM1.180201.007-2019-04-23-20-17-36.txt) from /data/user_de/0/com.android.shell/files/bugreports/bugreport-sdk_gphone_x86-OSM1.180201.007-2019-04-23-20-17-36.tmp to .zip bugreport
dumpstate id 1 finished around 2019/04/23 20:18:25 (49 s)
Adding zip text entry main_entry.txt
dumpstate_log.txt entry on zip file logged up to here

Я только что добавил в свой логин код, в SQL-соединение также добавлена ​​функция, которая показывает предупреждение, если у пользователя нет интернета

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...