Application webview android studio [Fermé]

Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
- - Dernière réponse :  Sayedouss - 1 juin 2018 à 20:56
Bonjour,

Pouvez-me dire si mes codes ont un problèmes car mon application crash au démarrage merci.
Afficher la suite 

4 réponses

Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
0
Merci
Androidmanifest.xml



<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.lapetitebibliotheque.lapetitebibliotheque">
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity2">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
0
Merci
activity_main.xml



<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.lapetitebibliotheque.lapetitebibliotheque.MainActivity">

<WebView
android:layout_width="368dp"
android:layout_height="495dp"
tools:layout_editor_absoluteX="8dp"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="8dp" />
</android.support.constraint.ConstraintLayout>
Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
0
Merci
MainActivity.java


package com.example.lapetitebibliotheque.lapetitebibliotheque;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {
private WebView myWebView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
myWebView = (WebView)findViewById(R.id.webView);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
myWebView.loadUrl("http://monsite.fr");
myWebView.setWebViewClient(new WebViewClient());




}

@Override
public void onBackPressed() {
if(myWebView.canGoBack()) {
myWebView.goBack();
} else {
super.onBackPressed();
}

}



}

Messages postés
14597
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
19 septembre 2019
1161
0
Merci
Hello,

Dans la méthode
onCreate()
, tu essaies de récupérer la WebView qui a pour ID webView. Or, dans ton Layout XML, ta WebView n'a pas d'ID
BunoCS
Messages postés
14597
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
19 septembre 2019
1161 > Avanton66
Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
-
As-tu regardé les logs? Sans plus d'infos, difficile de t'aider
Avanton66
Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
-
Voilà



10-04 15:46:23.510 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:23.510 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:23.526 16038-16038/? D/PQ: [PQ_PROT][PQCust] libpq_cust_base.so absent, libpq_cust.so OK
10-04 15:46:23.527 16038-16038/? E/PQ: [PQ][PQWhiteList] libwlparser.so is absent
10-04 15:46:23.528 16038-16038/? D/FPO_MSG: fpoServiceRegister : (0, FpoAggressiveFpsStrategy)
10-04 15:46:23.537 16038-16038/? D/DrmMtkUtil/SecureTimer: updateTimeBase()
10-04 15:46:23.537 16038-16038/? D/DrmMtkUtil/SecureTimer: uptime = 12301.330078,idletime = 4297.540039,return value = 12301
10-04 15:46:23.537 16038-16038/? D/DrmMtkUtil/SecureTimer: updateTimeBase(): base=[1507124783], tick=[12301]
10-04 15:46:23.538 16038-16038/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
10-04 15:46:23.544 16038-16038/? D/AndroidRuntime: CheckJNI is OFF
10-04 15:46:23.560 248-248/? I/wmt_launcher: fw log ctrl flag has been set
10-04 15:46:23.560 248-248/? I/wmt_launcher: fw dynamic ctrl flag has been set
10-04 15:46:23.631 16038-16038/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
10-04 15:46:23.674 16038-16038/? I/Radio-JNI: register_android_hardware_Radio DONE
10-04 15:46:23.699 16038-16038/? D/AndroidRuntime: Calling main entry com.android.commands.wm.Wm
10-04 15:46:23.703 16038-16038/? D/AndroidRuntime: Shutting down VM
10-04 15:46:23.712 16038-16038/? I/art: Enter while loop.

[ 10-04 15:46:23.744 15654:16039 I/ ]
post waitpid (pid=16038) status=0000
10-04 15:46:23.920 16047-16047/? D/PQ: [PQ_PROT][PQCust] libpq_cust_base.so absent, libpq_cust.so OK
10-04 15:46:23.920 16047-16047/? E/PQ: [PQ][PQWhiteList] libwlparser.so is absent
10-04 15:46:23.922 16047-16047/? D/FPO_MSG: fpoServiceRegister : (0, FpoAggressiveFpsStrategy)
10-04 15:46:23.930 16047-16047/? D/DrmMtkUtil/SecureTimer: updateTimeBase()
10-04 15:46:23.931 16047-16047/? D/DrmMtkUtil/SecureTimer: uptime = 12301.730469,idletime = 4298.100098,return value = 12301
10-04 15:46:23.931 16047-16047/? D/DrmMtkUtil/SecureTimer: updateTimeBase(): base=[1507124783], tick=[12301]
10-04 15:46:23.932 16047-16047/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
10-04 15:46:23.937 16047-16047/? D/AndroidRuntime: CheckJNI is OFF
10-04 15:46:24.018 16047-16047/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat

[ 10-04 15:46:24.050 15654:16048 I/ ]
post waitpid (pid=16047) status=0001

[ 10-04 15:46:24.060 15654:15654 I/ ]
service_to_fd sync:


[ 10-04 15:46:24.061 15654:15654 I/ ]
service thread started, 18:19
10-04 15:46:24.151 1861-15261/? D/NativeCrypto: ssl=0x771a926940 NativeCrypto_SSL_interrupt
10-04 15:46:24.152 1861-15261/? I/System.out: close [socket]/192.168.0.24:51113
10-04 15:46:24.299 1156-1548/? D/NetworkController.MobileSignalController(1): onSignalStrengthsChanged signalStrength=SignalStrength: 11 32 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte 2147483647 -412 8 level=2
10-04 15:46:24.299 1156-1548/? D/NetworkController.MobileSignalController(1): updateTelephonySignalStrength: hasService=true ss=SignalStrength: 11 32 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte 2147483647 -412 8

--------- beginning of system
10-04 15:46:24.307 873-4112/? V/ActivityManager: Broadcast sticky: Intent { act=android.intent.action.SIG_STR flg=0x20000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{8fa072e 873:system/1000}
10-04 15:46:24.311 1156-1548/? D/NetworkController.MobileSignalController(1): isWifiCallingAvailable=false
10-04 15:46:24.316 1156-1548/? V/ReflectionMethods: ========ReflectionMethods.getVolteAvailable = false ===============
10-04 15:46:24.318 1156-1548/? V/ReflectionMethods: ========ReflectionMethods.getVideoTelephonyAvailable = false ===============
10-04 15:46:24.512 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:24.512 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:24.552 11550-15763/? D/libc-netbsd: getaddrinfo: safebrowsing.google.com get result from proxy gai_error = 7
10-04 15:46:24.572 379-379/? I/thermal_repeater: select timeout
10-04 15:46:24.598 873-15230/? D/IpReachabilityMonitor: RtNetlinkNeighborMessage{ nlmsghdr{StructNlMsgHdr{ nlmsg_len{76}, nlmsg_type{28(RTM_NEWNEIGH)}, nlmsg_flags{0())}, nlmsg_seq{0}, nlmsg_pid{0} }}, ndmsg{StructNdMsg{ family{AF_INET}, ifindex{27}, state{4 (NUD_STALE)}, flags{0 ()}, type{1} }}, destination{192.168.0.254} linklayeraddr{68A3781C2695} probes{6} cacheinfo{NdaCacheInfo{ ndm_used{57760}, ndm_confirmed{450}, ndm_updated{0}, ndm_refcnt{1} }} }
10-04 15:46:24.611 1784-1784/? D/ActivityThread: SVC-Calling onStartCommand: com.google.android.gms.security.snet.SafetyNetClientService@cd7f677, flags=0, startId=3
10-04 15:46:24.636 11550-11550/? V/ActivityThread: SVC-Creating service CreateServiceData{token=android.os.BinderProxy@74b90f9 className=com.google.android.finsky.verifier.impl.PackageVerificationLoggingService packageName=com.android.vending intent=null}
10-04 15:46:24.638 11550-11550/? D/ActivityThread: SVC-Calling onStartCommand: com.google.android.finsky.verifier.impl.PackageVerificationLoggingService@aeec83e, flags=0, startId=1
10-04 15:46:24.670 1861-16020/? D/SQLiteDatabase: beginTransaction()
10-04 15:46:24.675 1861-16020/? D/SQLiteDatabase: endTransaction()
10-04 15:46:24.679 11550-11550/? V/ActivityThread: SVC-Destroying service com.google.android.finsky.verifier.impl.PackageVerificationLoggingService@aeec83e
10-04 15:46:24.879 1784-1796/? I/art: Enter while loop.
10-04 15:46:24.880 1861-15261/? D/NativeCrypto: ssl=0x771a926240 NativeCrypto_SSL_interrupt
10-04 15:46:24.881 1861-15261/? I/System.out: close [socket]/192.168.0.24:51114
10-04 15:46:25.082 1784-1796/? I/art: Enter while loop.
10-04 15:46:25.102 1156-1156/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-58,lastModified=10-04 03:46:22,ssid="Freebox_JLN"
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-58,lastModified=10-04 03:46:22,ssid="Freebox_JLN"
10-04 15:46:25.103 1784-1796/? I/art: Background partial concurrent mark sweep GC freed 108619(5MB) AllocSpace objects, 0(0B) LOS objects, 17% free, 18MB/22MB, paused 1.881ms total 122.531ms
10-04 15:46:25.103 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:25.105 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:25.106 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:25.108 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:25.108 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:25.108 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:25.109 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:25.110 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:25.123 255-275/? I/BufferQueueProducer: [StatusBar](this:0x7da693f800,id:10,api:1,p:1156,c:255) queueBuffer: fps=0.33 dur=2986.87 max=2986.87 min=2986.87
10-04 15:46:25.134 255-255/? I/DisplayDevice: [Built-in Screen (type:0)] fps:0.334668,dur:2988.04,max:2988.04,min:2988.04
10-04 15:46:25.484 1784-1796/? I/art: Enter while loop.
10-04 15:46:25.501 873-1055/? D/WifiStateMachine: ConnectedState !CMD_RSSI_POLL rt=3131485/12303300 22 0 "Freebox_JLN" c0:56:27:97:4e:69 rssi=-58 f=2462 sc=60 link=54 tx=4,1, 0,0, 0,0 rx=0,0 bcn=0 [on:0 tx:0 rx:0 period:2979] from screen [on:0 period:-408735395] gl rssi=-58 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0 offload-stopped
10-04 15:46:25.502 873-1055/? D/WifiStateMachine: L2ConnectedState !CMD_RSSI_POLL rt=3131487/12303301 22 0 "Freebox_JLN" c0:56:27:97:4e:69 rssi=-58 f=2462 sc=60 link=54 tx=4,1, 0,0, 0,0 rx=0,0 bcn=0 [on:0 tx:0 rx:0 period:1] from screen [on:0 period:-408735394] gl rssi=-58 ag=0 hr ls-=0 [56,56,56,56,61] brc=0 lrc=0 offload-stopped
10-04 15:46:25.502 873-1055/? D/WifiStateMachine: get link layer stats 0
10-04 15:46:25.505 873-1055/? D/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative rssi=-58 linkspeed=54 freq=2462
10-04 15:46:25.505 873-1055/? D/WifiStateMachine: mLastSignalLevel:4, newSignalLevel:4
10-04 15:46:25.505 873-1055/? D/WifiConfigManager: updateConfiguration freq=2462 BSSID=c0:56:27:97:4e:69 RSSI=-56 "Freebox_JLN"WEP
10-04 15:46:25.506 873-1055/? D/WifiStateMachine: calculateWifiScore freq=2462 speed=54 score=60 highRSSI -> txbadrate=0,00 txgoodrate=7,07 txretriesrate=0,00 rxrate=0,00 userTriggerdPenalty0
10-04 15:46:25.506 873-1055/? D/WifiStateMachine: good link -> stuck count =0
10-04 15:46:25.506 873-1055/? D/WifiStateMachine: badRSSI count0 lowRSSI count0 --> score 60
10-04 15:46:25.506 873-1055/? D/WifiStateMachine: isHighRSSI ---> score=65
10-04 15:46:25.507 873-1055/? V/ActivityManager: Broadcast sticky: Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{8fa072e 873:system/1000}
10-04 15:46:25.510 1156-1548/? D/NetworkController: onReceive: intent=Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) }
10-04 15:46:25.511 1156-1548/? D/NetworkController.WifiSignalController: handleBroadcast, enable:true
10-04 15:46:25.511 873-873/? D/ActivityThread: BDC-Calling onReceive: intent=Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 cmp=com.android.settings/.wifi.WifiPlayToReceiver (has extras) }, receiver=com.android.settings.wifi.WifiPlayToReceiver@4b87a63
10-04 15:46:25.511 873-873/? D/WifiPlayToReceiver: onReceive persistPlayto: 0
10-04 15:46:25.513 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:25.513 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:25.519 1156-1548/? D/NetworkController.WifiSignalController: handleBroadcast, currentState:connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-58,lastModified=10-04 03:46:25,ssid="Freebox_JLN"
10-04 15:46:25.562 248-248/? I/wmt_launcher: fw log ctrl flag has been set
10-04 15:46:25.562 248-248/? I/wmt_launcher: fw dynamic ctrl flag has been set
10-04 15:46:25.618 873-15230/? D/IpReachabilityMonitor: RtNetlinkNeighborMessage{ nlmsghdr{StructNlMsgHdr{ nlmsg_len{76}, nlmsg_type{28(RTM_NEWNEIGH)}, nlmsg_flags{0())}, nlmsg_seq{0}, nlmsg_pid{0} }}, ndmsg{StructNdMsg{ family{AF_INET}, ifindex{27}, state{4 (NUD_STALE)}, flags{0 ()}, type{1} }}, destination{192.168.0.254} linklayeraddr{68A3781C2695} probes{6} cacheinfo{NdaCacheInfo{ ndm_used{58780}, ndm_confirmed{0}, ndm_updated{0}, ndm_refcnt{1} }} }
10-04 15:46:25.623 1784-1796/? I/art: Enter while loop.
10-04 15:46:25.652 1784-1796/? I/art: Background partial concurrent mark sweep GC freed 263329(6MB) AllocSpace objects, 1(132KB) LOS objects, 18% free, 17MB/21MB, paused 2.521ms total 110.884ms
10-04 15:46:26.136 873-882/? I/art: Enter while loop.
10-04 15:46:26.186 873-898/? D/BatteryService: mBatteryVoltage=3794, batteryLevel=50
10-04 15:46:26.187 873-873/? V/ActivityManager: Broadcast sticky: Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras) } ordered=false userid=-1 callerApp=null
10-04 15:46:26.189 873-873/? D/WifiService: onReceive, action:android.intent.action.BATTERY_CHANGED
10-04 15:46:26.189 873-1054/? D/WifiController: DeviceActiveState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler }
10-04 15:46:26.189 873-1054/? D/WifiController: StaEnabledState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler }
10-04 15:46:26.189 873-1054/? D/WifiController: DefaultState{ when=0 what=155652 arg1=2 target=com.android.internal.util.StateMachine$SmHandler }
10-04 15:46:26.189 873-1054/? D/WifiController: battery changed pluggedType: 2
10-04 15:46:26.192 1156-1156/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
10-04 15:46:26.192 1156-1156/? D/PowerUI: oldTemp=230, mTemp=230
10-04 15:46:26.192 1156-1156/? D/PowerUI: findUsbOtg =false,supportReverseCharging =0
10-04 15:46:26.193 1479-1479/? D/PowerSaverService: battery_soh = 0
10-04 15:46:26.195 1156-1156/? D/KeyguardUpdateMonitor: handleBatteryUpdate
10-04 15:46:26.515 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:26.515 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:26.541 873-15230/? D/IpReachabilityMonitor: RtNetlinkNeighborMessage{ nlmsghdr{StructNlMsgHdr{ nlmsg_len{76}, nlmsg_type{28(RTM_NEWNEIGH)}, nlmsg_flags{0())}, nlmsg_seq{0}, nlmsg_pid{0} }}, ndmsg{StructNdMsg{ family{AF_INET}, ifindex{27}, state{4 (NUD_STALE)}, flags{0 ()}, type{1} }}, destination{192.168.0.254} linklayeraddr{68A3781C2695} probes{6} cacheinfo{NdaCacheInfo{ ndm_used{59700}, ndm_confirmed{180}, ndm_updated{0}, ndm_refcnt{1} }} }
10-04 15:46:27.517 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:27.518 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:27.564 248-248/? I/wmt_launcher: fw log ctrl flag has been set
10-04 15:46:27.564 248-248/? I/wmt_launcher: fw dynamic ctrl flag has been set
10-04 15:46:28.516 873-1055/? D/WifiStateMachine: ConnectedState !CMD_RSSI_POLL rt=3134496/12306310 22 0 "Freebox_JLN" c0:56:27:97:4e:69 rssi=-58 f=2462 sc=60 link=54 tx=7,1, 0,0, 0,0 rx=0,0 bcn=0 [on:0 tx:0 rx:0 period:3005] from screen [on:0 period:-408732381] gl rssi=-58 ag=0 hr ticks 0,0,47 ls-=0 [56,56,60,60,65] brc=0 lrc=0 offload-stopped
10-04 15:46:28.522 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:28.522 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:28.529 873-1055/? D/WifiStateMachine: L2ConnectedState !CMD_RSSI_POLL rt=3134502/12306317 22 0 "Freebox_JLN" c0:56:27:97:4e:69 rssi=-58 f=2462 sc=60 link=54 tx=7,1, 0,0, 0,0 rx=0,0 bcn=0 [on:0 tx:0 rx:0 period:12] from screen [on:0 period:-408732369] gl rssi=-58 ag=0 hr ticks 0,0,47 ls-=0 [56,56,60,60,65] brc=0 lrc=0 offload-stopped
10-04 15:46:28.529 873-1055/? D/WifiStateMachine: get link layer stats 0
10-04 15:46:28.545 873-1055/? D/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative rssi=-62 linkspeed=54 freq=2462
10-04 15:46:28.545 873-1055/? D/WifiStateMachine: mLastSignalLevel:4, newSignalLevel:4
10-04 15:46:28.547 873-1055/? D/WifiConfigManager: updateConfiguration freq=2462 BSSID=c0:56:27:97:4e:69 RSSI=-59 "Freebox_JLN"WEP
10-04 15:46:28.550 873-1055/? D/WifiStateMachine: calculateWifiScore freq=2462 speed=54 score=60 -> txbadrate=0,00 txgoodrate=5,54 txretriesrate=0,00 rxrate=0,00 userTriggerdPenalty0
10-04 15:46:28.550 873-1055/? D/WifiStateMachine: good link -> stuck count =0
10-04 15:46:28.551 873-1055/? D/WifiStateMachine: badRSSI count0 lowRSSI count0 --> score 60
10-04 15:46:28.553 873-1055/? V/ActivityManager: Broadcast sticky: Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{8fa072e 873:system/1000}
10-04 15:46:28.560 1156-1548/? D/NetworkController: onReceive: intent=Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) }
10-04 15:46:28.560 1156-1548/? D/NetworkController.WifiSignalController: handleBroadcast, enable:true
10-04 15:46:28.562 1156-1548/? D/NetworkController.WifiSignalController: handleBroadcast, currentState:connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-62,lastModified=10-04 03:46:25,ssid="Freebox_JLN"
10-04 15:46:28.566 873-873/? D/ActivityThread: BDC-Calling onReceive: intent=Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 cmp=com.android.settings/.wifi.WifiPlayToReceiver (has extras) }, receiver=com.android.settings.wifi.WifiPlayToReceiver@3687660
10-04 15:46:28.566 873-873/? D/WifiPlayToReceiver: onReceive persistPlayto: 0
10-04 15:46:28.609 1156-1548/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-58,lastModified=10-04 03:46:25,ssid="Freebox_JLN"
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-62,lastModified=10-04 03:46:25,ssid="Freebox_JLN"
10-04 15:46:28.622 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:28.622 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:28.622 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:28.626 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:28.626 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:28.626 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:28.627 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:28.630 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:28.630 1156-1548/? I/LoadedApk: Performing receive of Intent { act=android.net.wifi.RSSI_CHANGED flg=0x4000010 (has extras) }, receiver=com.android.systemui.statusbar.policy.NetworkControllerImpl@c740370, duration=71
10-04 15:46:29.132 1156-1156/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-62,lastModified=10-04 03:46:28,ssid="Freebox_JLN"
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-62,lastModified=10-04 03:46:28,ssid="Freebox_JLN"
10-04 15:46:29.133 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:29.138 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:29.145 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838863
10-04 15:46:29.153 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:29.155 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:29.155 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:29.157 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838863
10-04 15:46:29.160 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:29.168 255-1449/? I/BufferQueueProducer: [StatusBar](this:0x7da693f800,id:10,api:1,p:1156,c:255) queueBuffer: fps=0.25 dur=4045.34 max=4045.34 min=4045.34
10-04 15:46:29.203 255-255/? I/DisplayDevice: [Built-in Screen (type:0)] fps:0.245787,dur:4068.56,max:4068.56,min:4068.56
10-04 15:46:29.423 1156-1548/? D/NetworkController.MobileSignalController(1): onSignalStrengthsChanged signalStrength=SignalStrength: 11 33 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte 2147483647 -408 8 level=2
10-04 15:46:29.423 1156-1548/? D/NetworkController.MobileSignalController(1): updateTelephonySignalStrength: hasService=true ss=SignalStrength: 11 33 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte 2147483647 -408 8
10-04 15:46:29.437 873-1123/? V/ActivityManager: Broadcast sticky: Intent { act=android.intent.action.SIG_STR flg=0x20000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{8fa072e 873:system/1000}
10-04 15:46:29.442 1156-1548/? D/NetworkController.MobileSignalController(1): isWifiCallingAvailable=false
10-04 15:46:29.444 1156-1548/? V/ReflectionMethods: ========ReflectionMethods.getVolteAvailable = false ===============
10-04 15:46:29.447 1156-1548/? V/ReflectionMethods: ========ReflectionMethods.getVideoTelephonyAvailable = false ===============
10-04 15:46:29.510 873-15230/? D/IpReachabilityMonitor: RtNetlinkNeighborMessage{ nlmsghdr{StructNlMsgHdr{ nlmsg_len{76}, nlmsg_type{28(RTM_NEWNEIGH)}, nlmsg_flags{0())}, nlmsg_seq{0}, nlmsg_pid{0} }}, ndmsg{StructNdMsg{ family{AF_INET}, ifindex{27}, state{4 (NUD_STALE)}, flags{0 ()}, type{1} }}, destination{192.168.0.254} linklayeraddr{68A3781C2695} probes{6} cacheinfo{NdaCacheInfo{ ndm_used{62670}, ndm_confirmed{1670}, ndm_updated{0}, ndm_refcnt{1} }} }
10-04 15:46:29.523 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:29.523 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:29.568 248-248/? I/wmt_launcher: fw log ctrl flag has been set
10-04 15:46:29.568 248-248/? I/wmt_launcher: fw dynamic ctrl flag has been set
10-04 15:46:29.576 379-379/? I/thermal_repeater: oh, queryMdThermalInfo (0)No such file or directory
10-04 15:46:29.595 379-379/? I/thermal_repeater: [recvMdThermalInfo] ret=30, strLen=127, 2, 32767, -127, -1, 32767, 18
10-04 15:46:29.957 873-1340/? D/AES: AEEIOCTL_GET/SET_SF_STATE IOCTL,cmd= 1074294797, lParam=0.
10-04 15:46:29.958 873-1340/? W/Watchdog: **Get SF Time **1
10-04 15:46:29.958 873-1340/? D/AES: AEEIOCTL_RT_MON_Kick IOCTL,cmd= -2147192822, lParam=300.
10-04 15:46:29.963 873-1340/? W/Watchdog: SWT Watchdog before synchronized:3135944
10-04 15:46:29.967 873-1340/? W/Watchdog: SWT Watchdog after synchronized:3135953
10-04 15:46:29.971 873-969/? D/InputReader: InputReader::monitor: lock
10-04 15:46:29.972 873-969/? D/InputReader: InputReader::monitor: wait
10-04 15:46:29.973 873-969/? D/InputReader: InputReader::monitor: unlock
10-04 15:46:29.973 873-969/? D/InputReader: InputReader::monitor: done
10-04 15:46:30.056 873-1044/? D/DataShapingService: Alarm manager openLteDataUpLinkGate: false
10-04 15:46:30.056 873-1044/? V/AlarmManager: openLteGateSuccess = false
10-04 15:46:30.074 15954-15954/? V/ActivityThread: SVC-Creating service CreateServiceData{token=android.os.BinderProxy@9e8c94 className=io.ironsourceatom.sdk.FlushDatabaseService packageName=com.ironsource.appcloud.oobe.asus intent=null}
10-04 15:46:30.079 873-873/? D/AlarmManager: onSendFinished begin
10-04 15:46:30.094 873-1044/? V/AlarmManager: sending alarm Alarm{9aa63de type 1 when 1507124790056 com.ironsource.appcloud.oobe.asus} success
10-04 15:46:30.095 873-1044/? D/PowerManagerNotifier: onWakeLockAcquired: flags=1, tag="*alarm*", packageName=android, ownerUid=1000, ownerPid=873, workSource=WorkSource{10002}
10-04 15:46:30.096 873-873/? D/PowerManagerNotifier: onWakeLockReleased: flags=1, tag="*alarm*", packageName=android, ownerUid=1000, ownerPid=873, workSource=WorkSource{10002}
10-04 15:46:30.099 15954-15954/? D/ActivityThread: SVC-Calling onStartCommand: io.ironsourceatom.sdk.FlushDatabaseService@cf233d, flags=0, startId=1
10-04 15:46:30.115 873-4115/? D/ConnectivityService: allowed status for uid 10002 when rule is 64 (REJECT_ALL): false
10-04 15:46:30.115 873-4115/? I/NetworkIdentity: buildNetworkIdentity:
10-04 15:46:30.116 873-4115/? I/NetworkIdentity: networkId = Freebox_JLN
10-04 15:46:30.116 873-4115/? D/ConnectivityService: getActiveNetworkInfo networkInfo = [type: WIFI[], state: DISCONNECTED/BLOCKED, reason: (unspecified), extra: (none), failover: false, available: true, roaming: false, metered: false]
10-04 15:46:30.133 1156-1156/? D/NetworkController.WifiSignalController: Change in state from: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=false,rssi=-62,lastModified=10-04 03:46:29,ssid="Freebox_JLN"
to: connected=true,enabled=true,level=4,inetCondition=1,iconGroup=IconGroup(Wi-Fi Icons),activityIn=false,activityOut=true,rssi=-62,lastModified=10-04 03:46:29,ssid="Freebox_JLN"
10-04 15:46:30.133 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:30.133 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:30.137 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:30.140 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:30.141 1156-1156/? D/SignalClusterView: vpn: GONE
10-04 15:46:30.141 1156-1156/? D/SignalClusterView: ethernet: GONE
10-04 15:46:30.141 1156-1156/? D/SignalClusterView: wifi: VISIBLE sig=2130838878 inout=2130838865
10-04 15:46:30.145 1156-1156/? D/SignalClusterView: mobile: VISIBLE sig=2130838854 typ=0 inout=0
10-04 15:46:30.186 873-2204/? V/AlarmManager: APP set(PendingIntent{3ae59bf: PendingIntentRecord{1ee00da com.ironsource.appcloud.oobe.asus startService}}) : type=1 triggerAtTime=1507149746173 win=-1 tElapsed=37263974 maxElapsed=55980964 interval=0 flags=0x0
10-04 15:46:30.190 15954-15954/? V/ActivityThread: SVC-Destroying service io.ironsourceatom.sdk.FlushDatabaseService@cf233d
10-04 15:46:30.525 1655-1668/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)
10-04 15:46:30.525 1655-1668/? E/GasService: Error on query GED info, err=1
10-04 15:46:30.536 873-15230/? D/IpReachabilityMonitor: RtNetlinkNeighborMessage{ nlmsghdr{StructNlMsgHdr{ nlmsg_len{76}, nlmsg_type{28(RTM_NEWNEIGH)}, nlmsg_flags{0())}, nlmsg_seq{0}, nlmsg_pid{0} }}, ndmsg{StructNdMsg{ family{AF_INET}, ifindex{27}, state{4 (NUD_STALE)}, flags{0 ()}, type{1} }}, destination{192.168.0.254} linklayeraddr{68A3781C2695} probes{6} cacheinfo{NdaCacheInfo{ ndm_used{63690}, ndm_confirmed{160}, ndm_updated{0}, ndm_refcnt{1} }} }
BunoCS
Messages postés
14597
Date d'inscription
lundi 11 juillet 2005
Statut
Modérateur
Dernière intervention
19 septembre 2019
1161 -
Hum...
Dans Android Studio, tu as une petite fenêtre qui s'appelle "Android Monitor": c'est la console. Dedans, tu peux filtrer les logs suivant le packageName de ton app. Tu sélectionnes le bon et tu regardes le résultat. Si tu as un crash, tu devrais avoir des logs rouges t'indiquant le problème.
Avanton66
Messages postés
40
Date d'inscription
mercredi 10 mai 2017
Statut
Membre
Dernière intervention
18 septembre 2019
-
D'accord

Merci
J'ai la même problème frr tu pe m'aider?
!