Nach Login Implementierung stürzt app nach Button Click ab

  • Antworten:7
  • OffenNicht stickyBentwortet
  • Forum-Beiträge: 44

14.01.2017 18:39:33 via Website

Hallo Zusammen,

ich habe für meine derzeitige App einen Login erstellt, der in einem eigenen Projekt super funktioniert.
Nun habe ich versucht, den funktionierenden Login in meine eigentliche App einzufügen.
Leider bricht diese jedoch immer ab, wenn ich versuche mich einzuloggen und auf den Login Button klicke. Ich bin mir sicher,dass es an der "Private void check Login" methode liegt, jedoch weiss ich nicht an was genau es liegt.
Anbei der ErrLog und die LoginActivity

01-12 22:18:27.176 3116-3407/? E/InputDispatcher: channel 'ade62ea com.example.hartl.main_pp/com.example.hartl.main_pp.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-12 22:18:27.179 3116-3991/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-12 22:18:27.209 4043-4187/? E/HwLauncher: SettingsEx , no such field.
01-12 22:18:27.218 20531-20541/? E/TotemWeather: WidgetUtils getWidgetShowCityInfo return myLocation
01-12 22:18:27.265 2475-2475/? E/HAL: load: id=gralloc != hmi->id=gralloc

und hier meine LoginActivity:

public class LoginActivity extends Activity {
private static final String TAG = RegisterActivity.class.getSimpleName();
private Button btnLogin;
private Button btnLinkToRegister;
private EditText inputEmail;
private EditText inputPassword;
private ProgressDialog pDialog;
private SessionManager session;
private SQLiteHandler db;

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.login_activity);

    inputEmail = (EditText) findViewById(R.id.email);
    inputPassword = (EditText) findViewById(R.id.password);
    btnLogin = (Button) findViewById(R.id.btnLogin);
    btnLinkToRegister = (Button) findViewById(R.id.btnLinkToRegisterScreen);

    // Progress dialog
    pDialog = new ProgressDialog(this);
    pDialog.setCancelable(false);

    // SQLite database handler
    db = new SQLiteHandler(getApplicationContext());

    // Session manager
    session = new SessionManager(getApplicationContext());

    // Check if user is already logged in or not
    if (session.isLoggedIn()) {
        // User is already logged in. Take him to main activity
        Intent intent = new Intent(LoginActivity.this, MainActivity.class);
        startActivity(intent);
        finish();
    }

    // Login button Click Event
    btnLogin.setOnClickListener(new View.OnClickListener() {

        public void onClick(View view) {
            String email = inputEmail.getText().toString().trim();
            String password = inputPassword.getText().toString().trim();

            // Check for empty data in the form
            if (!email.isEmpty() && !password.isEmpty()) {
                // login user
                checkLogin(email, password);
            } else {
                // Prompt user to enter credentials
                Toast.makeText(getApplicationContext(),
                        "Please enter the credentials!", Toast.LENGTH_LONG)
                        .show();
            }
        }

    });

    // Link to Register Screen
    btnLinkToRegister.setOnClickListener(new View.OnClickListener() {

        public void onClick(View view) {
            Intent i = new Intent(getApplicationContext(),
                    RegisterActivity.class);
            startActivity(i);
            finish();
        }
    });

}

/**
 * function to verify login details in mysql db

* */
private void checkLogin(final String email, final String password) {
// Tag used to cancel the request
String tag_string_req = "req_login";

        pDialog.setMessage("Logging in ...");
    showDialog();

    StringRequest strReq = new StringRequest(Request.Method.POST,
            AppConfig.URL_LOGIN, new Response.Listener<String>() {

        @Override
        public void onResponse(String response) {
            Log.d(TAG, "Login Response: " + response.toString());
            hideDialog();

            try {
                JSONObject jObj = new JSONObject(response);
                boolean error = jObj.getBoolean("error");

                // Check for error node in json
                if (!error) {
                    // user successfully logged in
                    // Create login session
                    session.setLogin(true);

                    // Now store the user in SQLite
                    String uid = jObj.getString("uid");

                    JSONObject user = jObj.getJSONObject("user");
                    String name = user.getString("name");
                    String email = user.getString("email");
                    String created_at = user
                            .getString("created_at");

                    // Inserting row in users table
                    db.addUser(name, email, uid, created_at);

                    // Launch main activity
                    Intent intent = new Intent(LoginActivity.this,
                            MainActivity.class);
                    startActivity(intent);
                    finish();
                } else {
                    // Error in login. Get the error message
                    String errorMsg = jObj.getString("error_msg");
                    Toast.makeText(getApplicationContext(),
                            errorMsg, Toast.LENGTH_LONG).show();
                }
            } catch (JSONException e) {
                // JSON error
                e.printStackTrace();
                Toast.makeText(getApplicationContext(), "Json error: " + e.getMessage(), Toast.LENGTH_LONG).show();
            }

        }
    }, new Response.ErrorListener() {

        @Override
        public void onErrorResponse(VolleyError error) {
            Log.e(TAG, "Login Error: " + error.getMessage());
            Toast.makeText(getApplicationContext(),
                    error.getMessage(), Toast.LENGTH_LONG).show();
            hideDialog();
        }
    }) {

        @Override
        protected Map<String, String> getParams() {
            // Posting parameters to login url
            Map<String, String> params = new HashMap<String, String>();
            params.put("email", email);
            params.put("password", password);

            return params;
        }

    };

    // Adding request to request queue
    AppController.getInstance().addToRequestQueue(strReq, tag_string_req);
}

private void showDialog() {
    if (!pDialog.isShowing())
        pDialog.show();
}

private void hideDialog() {
    if (pDialog.isShowing())
        pDialog.dismiss();
}

}

Pascal P.
  • Mod
  • Blogger
  • Forum-Beiträge: 9.308

14.01.2017 20:26:22 via App

Hallo Dominik!
Herzlich willkommen hier im Forum :)

Hast du auch eine richtige Exception mit StackTrace(rot in LogCat)?
Wie verhält sich die App beim Login?
Du benutzt zwar http post, ich sehe aber nirgends dass du irgendwo Name und PW als Parameter mitgibst.

— geändert am 14.01.2017 20:26:48

LG Pascal //It's not a bug, it's a feature. :) ;)

  • Forum-Beiträge: 44

14.01.2017 22:12:52 via Website

Hi Pascal,

vielen Dank für deine schnelle Antwort.
Was ich oben gepostet habe, wird als Error, also rot ausgegben :)
Die App verhält sich wie folgt: App startet und zeigt den Login Screen an. Wenn ichn nur ein oder gar kein Feld ausfülle, erscheint richtigerweise mein Toast, dass ich alle Felder ausfüllen soll. Wenn ich nun meine LoginDaten eingebe, egal ob richtige oder falsche und ich danach den Login Button drücke, stürzt die App sofort während dem klicken ab.
Geb ich die Email und das Password nicht bei folgender Zeile ein:

String email = inputEmail.getText().toString().trim();
            String password = inputPassword.getText().toString().trim();

bzw hier:

 String name = user.getString("name");
                    String email = user.getString("email");

Ich bin ein Anfänger, also verbessere mich ruhig, wenn ich damit falsch liege.
Schöne Grüße
Dominik

Pascal P.
  • Mod
  • Blogger
  • Forum-Beiträge: 9.308

15.01.2017 10:29:38 via App

Hmm leider kann ich damit nicht viel anfangen. Kannst du Mal den kompletten Log eines Durchlaufs bis zum Absturz Posten?

— geändert am 15.01.2017 10:29:45

LG Pascal //It's not a bug, it's a feature. :) ;)

  • Forum-Beiträge: 44

15.01.2017 11:08:41 via Website

Ok anbei mein gesamter Error Log, ich hoffe, dass er dir weiterhilft:

01-15 11:02:48.844 4088-4697/? E/Backup: [GmsBackupTransport] Server policy rejection: 
                                     gwo: server error in app com.google.android.talk: code 7
                                         at fzc.a(:com.google.android.gms:381)
                                         at com.google.android.gms.backup.BackupTransportChimeraService.a(:com.google.android.gms:1446)
                                         at fzh.a(:com.google.android.gms:548)
                                         at fzh.finishBackup(:com.google.android.gms:514)
                                         at android.app.backup.BackupTransport$TransportImpl.finishBackup(BackupTransport.java:583)
                                         at com.android.internal.backup.IBackupTransport$Stub.onTransact(IBackupTransport.java:162)
                                         at android.os.Binder.execTransact(Binder.java:453)

01-15 11:02:49.437 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:02:49.602 29686-29686/? E/libcrashlytics: Failed to find any usable unwinding libraries on the device, falling back to simple unwinding
01-15 11:02:50.282 3098-3990/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:02:50.552 3098-3423/? E/HwCHRWebMonitor: running processNamecom.huawei.android.launcher
01-15 11:02:50.553 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.whatsapp UID=10104 WEBSENDSEGS=3 WEBRESENDSEGS=0 WEBRECVSEGS=2 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=28 WEBRTTSEGS=2 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:02:50.554 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.google.uid.shared:10008 UID=10008 WEBSENDSEGS=23 WEBRESENDSEGS=0 WEBRECVSEGS=21 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=59 WEBRTTSEGS=12 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:02:50.555 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.tellm.android.app UID=10087 WEBSENDSEGS=34 WEBRESENDSEGS=0 WEBRECVSEGS=25 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=89 WEBRTTSEGS=12 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:02:50.555 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=64 WEBRESENDSEGS=0 WEBRECVSEGS=52 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=195 WEBRTTSEGS=29 WEBSRTT=470 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]
01-15 11:02:51.582 3098-3108/? E/HsmCoreServiceImpl: onTransact in code is: 102

01-15 11:02:52.630 29804-29804/? E/PlayCommon: [1] MetalogHelper.: Failed to restore PlayMetalog
01-15 11:02:52.631 29804-29804/? E/PlayCommon: [1] MetalogHelper.: Failed to restore LogsUploadAttempt
01-15 11:02:53.058 29804-29804/? E/WifiManager: WifiServiceMessenger == null
01-15 11:02:53.071 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:02:53.313 3098-3711/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:02:54.731 29752-29785/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:54.731 29752-29785/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.location.provider.odex". Will use given name.
01-15 11:02:54.733 29752-29785/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:54.733 29752-29785/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.media.remotedisplay.odex". Will use given name.
01-15 11:02:54.738 29752-29785/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:54.739 29752-29785/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/oat/arm64/base.odex". Will use given name.
01-15 11:02:54.782 29752-29785/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:54.782 29752-29785/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libgmscore.so". Will use given name.
01-15 11:02:54.814 29752-29785/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:54.814 29752-29785/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libconscrypt_gmscore_jni.so". Will use given name.
01-15 11:02:55.325 3098-4001/? E/HsmCoreServiceImpl: onTransact in code is: 102

01-15 11:02:55.562 3098-3423/? E/HwCHRWebMonitor: running processNamecom.huawei.android.launcher
01-15 11:02:55.563 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.tellm.android.app UID=10087 WEBSENDSEGS=11 WEBRESENDSEGS=0 WEBRECVSEGS=9 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=21 WEBRTTSEGS=4 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=1]
01-15 11:02:55.563 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.google.uid.shared:10008 UID=10008 WEBSENDSEGS=27 WEBRESENDSEGS=0 WEBRECVSEGS=27 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=76 WEBRTTSEGS=14 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=1]
01-15 11:02:55.564 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=42 WEBRESENDSEGS=0 WEBRECVSEGS=39 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=105 WEBRTTSEGS=19 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=1]
01-15 11:02:55.858 29956-29956/? E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm/data@data@com.google.android.gms@app_chimera@m@0000001b@DynamiteModulesC_GmsCore_prodmnc_xhdpi_release.apk@classes.dex: Permission denied
01-15 11:02:56.420 2506-2506/? E/Thermal-daemon: [charger_ic] temp_new :34 temp_old :33
01-15 11:02:56.421 2506-2506/? E/Thermal-daemon: Report temperature: [charger_ic] temp :34 report_threshold:1
01-15 11:02:56.421 2506-2506/? E/Thermal-daemon: [ap] temp_new :34 temp_old :33
01-15 11:02:56.421 2506-2506/? E/Thermal-daemon: Report temperature: [ap] temp :34 report_threshold:1
01-15 11:02:56.573 29916-29960/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:56.573 29916-29960/? E/linker: warning: unable to get realpath for the library "/data/app/com.shazam.android-1/lib/arm/libShazamMRE_0e4776f.so". Will use given name.
01-15 11:02:56.616 29916-29960/? E/linker: readlink('/proc/self/fd/28') failed: Permission denied [fd=28]
01-15 11:02:56.616 29916-29960/? E/linker: warning: unable to get realpath for the library "/data/app/com.shazam.android-1/lib/arm/libmp.so". Will use given name.
01-15 11:02:56.708 3098-3984/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:02:57.071 3098-3989/? E/HsmCoreServiceImpl: onTransact in code is: 102

01-15 11:02:59.171 3098-4001/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:02:59.427 3098-3833/? E/GNSS_ADAPTER: gnss adapter is not inited, fail to inject location!
01-15 11:03:00.109 4037-4129/? E/HwLauncher: SettingsEx , no such field.
01-15 11:03:00.572 3098-3423/? E/HwCHRWebMonitor: running processNamecom.huawei.android.launcher
01-15 11:03:00.573 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.shazam.android UID=10108 WEBSENDSEGS=20 WEBRESENDSEGS=0 WEBRECVSEGS=16 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=33 WEBRTTSEGS=8 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:03:00.573 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.google.uid.shared:10008 UID=10008 WEBSENDSEGS=50 WEBRESENDSEGS=0 WEBRECVSEGS=32 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=298 WEBRTTSEGS=23 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=2]
01-15 11:03:00.574 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=76 WEBRESENDSEGS=0 WEBRECVSEGS=56 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=346 WEBRTTSEGS=36 WEBSRTT=670 WEBSNDDUPACKS=0 SENDSEGS=0 RESENDSEGS=0 RECVSEGS=0 ERRSEGS=0 OUTRSTS=0 ESTABLISRST=0 RTTDURATION=0 RTTSEGS=0 SNDDUPACKS=0 suckTimes=0 recovage_times=2]
01-15 11:03:01.080 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-52
01-15 11:03:02.309 30043-30043/? E/HAL: load: id=memtrack != hmi->id=memtrack

                                    [ 01-15 11:03:02.311 30043:30043 I/         ]
                                    power log dlsym ok

01-15 11:03:02.332 30043-30043/? E/HAL: load: id=fm != hmi->id=fm
01-15 11:03:03.489 29629-30068/? E/linker: readlink('/proc/self/fd/32') failed: Permission denied [fd=32]
01-15 11:03:03.489 29629-30068/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.location.provider.odex". Will use given name.
01-15 11:03:03.491 29629-30068/? E/linker: readlink('/proc/self/fd/32') failed: Permission denied [fd=32]
01-15 11:03:03.491 29629-30068/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.media.remotedisplay.odex". Will use given name.
01-15 11:03:03.499 29629-30068/? E/linker: readlink('/proc/self/fd/32') failed: Permission denied [fd=32]
01-15 11:03:03.499 29629-30068/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/oat/arm64/base.odex". Will use given name.
01-15 11:03:03.556 29629-30068/? E/linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26]
01-15 11:03:03.557 29629-30068/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libgmscore.so". Will use given name.
01-15 11:03:03.581 29629-30068/? E/linker: readlink('/proc/self/fd/26') failed: Permission denied [fd=26]
01-15 11:03:03.582 29629-30068/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libconscrypt_gmscore_jni.so". Will use given name.

01-15 11:03:05.586 3098-3423/? E/HwCHRWebMonitor: running processNamecom.huawei.android.launcher
01-15 11:03:05.587 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.google.android.talk UID=10055 WEBSENDSEGS=10 WEBRESENDSEGS=0 WEBRECVSEGS=8 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=23 WEBRTTSEGS=4 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:03:05.587 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=10 WEBRESENDSEGS=0 WEBRECVSEGS=8 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=23 WEBRTTSEGS=4 WEBSRTT=740 WEBSNDDUPACKS=0 SENDSEGS=0 RESENDSEGS=0 RECVSEGS=0 ERRSEGS=0 OUTRSTS=0 ESTABLISRST=0 RTTDURATION=0 RTTSEGS=0 SNDDUPACKS=0 suckTimes=0 recovage_times=3]

01-15 11:03:13.262 30107-30107/? E/HAL: load: id=memtrack != hmi->id=memtrack

                                    [ 01-15 11:03:13.265 30107:30107 I/         ]
                                    power log dlsym ok

01-15 11:03:13.284 30107-30107/? E/HAL: load: id=fm != hmi->id=fm
01-15 11:03:13.510 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:15.621 3098-3423/? E/HwCHRWebMonitor: running processNamecom.huawei.android.launcher
01-15 11:03:15.622 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.android.vending UID=10025 WEBSENDSEGS=10 WEBRESENDSEGS=0 WEBRECVSEGS=10 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=22 WEBRTTSEGS=5 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:03:15.622 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=12 WEBRESENDSEGS=0 WEBRECVSEGS=12 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=28 WEBRTTSEGS=7 WEBSRTT=320 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]

01-15 11:03:17.392 3098-3713/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:17.730 3098-3098/? E/HwBastetService: name: com.example.hartl.main_pp
01-15 11:03:17.730 3098-3098/? E/HwBastetService: len: 0, name: com.example.hartl.main_pp, uid: 10217
01-15 11:03:17.735 3098-3422/? E/HwBastetService: Failed to get bastet service!
01-15 11:03:18.094 3927-3927/? E/RegisteredServicesCache: invalidateCache set mNeedToastTableFull
01-15 11:03:18.100 3927-3927/? E/RegisteredServicesCache: ServiceStateFileVersion=1.0
01-15 11:03:18.100 3927-3927/? E/RegisteredServicesCache: Next Tag=services
01-15 11:03:18.100 3927-3927/? E/RegisteredServicesCache: Writing service state Data Always
01-15 11:03:18.284 30167-30198/? E/ExternalAccountType: Unsupported attribute readOnly
01-15 11:03:18.285 30167-30198/? E/CSP_ExceptionCapture: Unsupported attribute readOnly
01-15 11:03:18.311 30167-30198/? E/ExternalAccountType: Unsupported attribute readOnly
01-15 11:03:18.311 30167-30198/? E/CSP_ExceptionCapture: Unsupported attribute readOnly
01-15 11:03:18.353 3098-3711/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:18.363 30167-30198/? E/ExternalAccountType: Unsupported attribute readOnly
01-15 11:03:18.363 30167-30198/? E/CSP_ExceptionCapture: Unsupported attribute readOnly
01-15 11:03:18.396 30167-30193/? E/linker: readlink('/proc/self/fd/20') failed: Permission denied [fd=20]
01-15 11:03:18.396 30167-30193/? E/linker: warning: unable to get realpath for the library "/system/lib64/libhwlog_jni.so". Will use given name.
01-15 11:03:18.417 4869-4908/? E/LogCollectService: Level = 256
01-15 11:03:18.419 4869-4908/? E/LogCollectService: Level = 256
01-15 11:03:18.467 4869-4908/? E/LogCollectService: Level = 256
01-15 11:03:18.580 3098-3422/? E/HwBastetService: Failed to get bastet service!
01-15 11:03:18.786 4037-4037/? E/HideAppsPagedView: syncPages mCurrentPage = 0
01-15 11:03:18.816 4037-4037/? E/HideAppsPagedView: syncAppsPageItems page = 0 mNumAppsPages = 1 mCurrentPage = 0
01-15 11:03:18.817 4037-4037/? E/HideAppsPagedView: createAddIcon count = 0
01-15 11:03:19.028 3561-3561/? E/HwSystemManager: AppCleanUpService:msg is 1
01-15 11:03:19.224 3098-3108/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:19.255 3098-4012/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:19.257 30215-30215/? E/HAL: load: id=memtrack != hmi->id=memtrack

                                    [ 01-15 11:03:19.259 30215:30215 I/         ]
                                    power log dlsym ok

01-15 11:03:19.283 30215-30215/? E/HAL: load: id=fm != hmi->id=fm
01-15 11:03:19.385 4088-31389/? E/NetworkScheduler.SR: Invalid parameter app
01-15 11:03:19.385 4088-31389/? E/NetworkScheduler.SR: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
01-15 11:03:19.405 3098-3395/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:19.435 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:19.451 4933-5353/? E/Drive.UninstallOperation: Package still installed com.example.hartl.main_pp
01-15 11:03:19.518 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:19.647 2474-2474/? E/hwcomposer: setGpuBoost:228: Can't open /sys/class/devfreq/gpufreq/max_freq: Permission denied
01-15 11:03:19.663 2474-2474/? E/hwcomposer: setGpuBoost:228: Can't open /sys/class/devfreq/gpufreq/max_freq: Permission denied
01-15 11:03:19.780 30216-30216/? E/HwSystemManager: SecurityBroadcastReceiver:SecurityBroadcastReceiver the rainbow is not enabled!
01-15 11:03:19.796 3561-3561/? E/HwSystemManager: AppCleanUpService:msg is 0
01-15 11:03:19.894 30216-30364/? E/HwSystemManager: SpaceCleanReceiver:doPkgAdd pi is not valid permission
01-15 11:03:20.242 3098-3711/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:20.242 4088-31389/? E/NetworkScheduler.SR: Invalid parameter app
01-15 11:03:20.242 4088-31389/? E/NetworkScheduler.SR: Invalid package name : Perhaps you didn't include a PendingIntent in the extras?
01-15 11:03:20.460 30216-30356/? E/HwSystemManager: PermissionDBAdapter:appcationsList size:179
01-15 11:03:20.631 3098-3423/? E/HwCHRWebMonitor: running processNamecom.example.hartl.main_pp
01-15 11:03:20.631 3098-3423/? E/HwCHRWebMonitor: HwCHRWifiUIDWebSpeed [appName=com.tellm.android.app UID=10087 WEBSENDSEGS=14 WEBRESENDSEGS=0 WEBRECVSEGS=10 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=37 WEBRTTSEGS=8 WEBSNDDUPACKS=0 suckTimes=0 recovage_times=0]
01-15 11:03:20.632 3098-3423/? E/HwCHRWebMonitor: WebMonitor [mNetWorkIsSuck=false mUIDIsSuck=] WebSpeed [WEBSENDSEGS=22 WEBRESENDSEGS=0 WEBRECVSEGS=14 WEBERRSEGS=0 WEBOUTRSTS=0 WEBESTABLISRST=0 WEBRTTDURATION=85 WEBRTTSEGS=12 WEBSRTT=470 WEBSNDDUPACKS=0 SENDSEGS=0 RESENDSEGS=0 RECVSEGS=0 ERRSEGS=0 OUTRSTS=0 ESTABLISRST=0 RTTDURATION=0 RTTSEGS=0 SNDDUPACKS=0 suckTimes=0 recovage_times=1]
01-15 11:03:21.422 2506-2506/? E/Thermal-daemon: [charger_ic] temp_new :35 temp_old :34
01-15 11:03:21.422 2506-2506/? E/Thermal-daemon: Report temperature: [charger_ic] temp :35 report_threshold:1
01-15 11:03:21.422 2506-2506/? E/Thermal-daemon: [ap] temp_new :35 temp_old :34
01-15 11:03:21.422 2506-2506/? E/Thermal-daemon: Report temperature: [ap] temp :35 report_threshold:1
01-15 11:03:22.310 3098-3108/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:22.530 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:22.562 3098-4001/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:22.874 30216-30356/? E/HwSystemManager: PermissionDBAdapter:appcationsList size:179
01-15 11:03:23.083 3098-3984/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:24.895 30588-30588/? E/GMPM: GoogleService failed to initialize, status: 10, Missing an expected resource: 'R.string.google_app_id' for initializing Google services. Possible causes are missing google-services.json or com.google.gms.google-services gradle plugin.
01-15 11:03:24.895 30588-30588/? E/GMPM: Scheduler not set. Not logging error/warn.
01-15 11:03:24.942 30588-30626/? E/GMPM: Uploading is not possible. App measurement disabled
01-15 11:03:25.091 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:25.424 30314-30314/com.example.hartl.main_pp E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:25.518 30314-30651/com.example.hartl.main_pp E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:25.534 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:25.565 30314-30651/com.example.hartl.main_pp E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:25.645 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:25.678 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:26.176 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:26.423 2506-2506/? E/Thermal-daemon: [ap] temp_new :36 temp_old :35
01-15 11:03:26.424 2506-2506/? E/Thermal-daemon: Report temperature: [ap] temp :36 report_threshold:1
01-15 11:03:26.675 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:03:28.540 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:29.304 3098-4025/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:29.812 3098-3988/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:03:31.425 2506-2506/? E/Thermal-daemon: [ap] temp_new :35 temp_old :36
01-15 11:03:31.425 2506-2506/? E/Thermal-daemon: Report temperature: [ap] temp :35 report_threshold:1
01-15 11:03:31.547 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:33.101 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:34.552 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:37.558 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:40.570 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:41.109 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:43.584 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:46.599 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:49.118 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:49.612 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:51.427 2506-2506/? E/Thermal-daemon: [ap] temp_new :34 temp_old :35
01-15 11:03:51.427 2506-2506/? E/Thermal-daemon: Report temperature: [ap] temp :34 report_threshold:1
01-15 11:03:52.626 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:55.514 3098-3833/? E/GNSS_ADAPTER: gnss adapter is not inited, fail to inject location!
01-15 11:03:55.629 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-51 "HartlWlan"WPA_PSK
01-15 11:03:56.427 2506-2506/? E/Thermal-daemon: [charger_ic] temp_new :34 temp_old :35
01-15 11:03:56.428 2506-2506/? E/Thermal-daemon: Report temperature: [charger_ic] temp :34 report_threshold:1
01-15 11:03:57.127 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-52 "HartlWlan"WPA_PSK
01-15 11:03:58.642 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-53 "HartlWlan"WPA_PSK
01-15 11:04:01.648 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-54 "HartlWlan"WPA_PSK
01-15 11:04:04.659 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:05.122 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:07.671 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:10.685 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:13.136 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:13.696 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:16.703 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:19.716 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-54 "HartlWlan"WPA_PSK
01-15 11:04:21.140 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-54 "HartlWlan"WPA_PSK
01-15 11:04:22.728 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:25.735 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-55 "HartlWlan"WPA_PSK
01-15 11:04:26.555 31898-31898/? E/GmsClient: unable to connect to service: com.google.android.gms.playlog.service.START
01-15 11:04:26.649 31898-31916/? E/linker: readlink('/proc/self/fd/29') failed: Permission denied [fd=29]
01-15 11:04:26.649 31898-31916/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.location.provider.odex". Will use given name.
01-15 11:04:26.654 31898-31916/? E/linker: readlink('/proc/self/fd/29') failed: Permission denied [fd=29]
01-15 11:04:26.654 31898-31916/? E/linker: warning: unable to get realpath for the library "/system/framework/oat/arm64/com.android.media.remotedisplay.odex". Will use given name.
01-15 11:04:26.660 31898-31916/? E/linker: readlink('/proc/self/fd/29') failed: Permission denied [fd=29]
01-15 11:04:26.660 31898-31916/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/oat/arm64/base.odex". Will use given name.
01-15 11:04:26.697 31898-31916/? E/linker: readlink('/proc/self/fd/29') failed: Permission denied [fd=29]
01-15 11:04:26.697 31898-31916/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libgmscore.so". Will use given name.
01-15 11:04:26.729 31898-31916/? E/linker: readlink('/proc/self/fd/29') failed: Permission denied [fd=29]
01-15 11:04:26.729 31898-31916/? E/linker: warning: unable to get realpath for the library "/data/app/com.google.android.gms-1/lib/arm64/libconscrypt_gmscore_jni.so". Will use given name.
01-15 11:04:27.094 3098-3109/? E/HsmCoreServiceImpl: onTransact in code is: 102

01-15 11:05:09.438 3098-3833/? E/GNSS_ADAPTER: gnss adapter is not inited, fail to inject location!

01-15 11:05:21.122 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:21.182 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:21.978 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:22.010 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:22.271 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:22.284 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:22.783 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:22.831 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:22.832 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:22.848 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:22.935 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:22.942 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-56 "HartlWlan"WPA_PSK
01-15 11:05:23.053 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:23.130 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:23.180 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:23.450 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:23.466 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:23.768 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:23.827 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:23.922 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:23.989 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:24.100 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:24.175 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:24.613 3098-3388/? E/InputReader: QEEXO fs_classify_touch NULL, not calling FingerSense
01-15 11:05:24.733 3098-3388/? E/InputReader: QEEXO fs_touch_up NULL, not calling FingerSense
01-15 11:05:24.857 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:24.909 3098-3112/? E/ReportTools: This is not beta user build
01-15 11:05:24.912 2472-2472/? E/lowmemorykiller: Error writing /proc/30314/oom_score_adj; errno=22
01-15 11:05:24.939 3098-3387/? E/InputDispatcher: channel 'ff36095 com.example.hartl.main_pp/com.example.hartl.main_pp.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-15 11:05:24.939 3098-3387/? E/InputDispatcher: channel 'f25d5db com.example.hartl.main_pp/com.example.hartl.main_pp.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-15 11:05:24.944 3098-3395/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:05:25.003 4037-4129/? E/HwLauncher: SettingsEx , no such field.
01-15 11:05:25.156 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:25.177 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-56 "HartlWlan"WPA_PSK
01-15 11:05:25.265 549-562/? E/TotemWeather: WidgetUtils getWidgetShowCityInfo return myLocation
01-15 11:05:25.305 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:25.339 2474-2474/? E/hwcomposer: setGpuBoost:228: Can't open /sys/class/devfreq/gpufreq/max_freq: Permission denied
01-15 11:05:25.398 3098-3988/? E/HsmCoreServiceImpl: onTransact in code is: 102
01-15 11:05:25.671 2474-2474/? E/HAL: load: id=gralloc != hmi->id=gralloc
01-15 11:05:25.953 3098-3402/? E/WifiConfigStore: updateConfiguration freq=2462 BSSID=f4:06:8d:9d:63:dd RSSI=-56 "HartlWlan"WPA_PSK

Pascal P.
  • Mod
  • Blogger
  • Forum-Beiträge: 9.308

15.01.2017 18:24:50 via Website

Hmm, ist in der App noch was anderes oder nutzt du Google Dienste?

01-15 11:04:26.555 31898-31898/? E/GmsClient: unable to connect to service: com.google.android.gms.playlog.service.START

Eigentlich ist die Meldung ja diese:
com.example.hartl.main_pp/com.example.hartl.main_pp.LoginActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

Laut stackoverflow deutet das auf ein Mem Leak oder Falsche benhandlung von Threads hin:
http://stackoverflow.com/questions/12459719/why-i-am-getting-error-channel-is-unrecoverably-broken-and-will-be-disposed
http://stackoverflow.com/questions/8962600/whats-the-error-in-my-logcat

Man beachte auch das:
01-15 11:05:24.912 2472-2472/? E/lowmemorykiller: Error writing /proc/30314/oom_score_adj; errno=22

Hätte jetzt eher sowas erwartet:
01-15 11:02:48.844 4088-4697/? E/Backup: [GmsBackupTransport] Server policy rejection:
gwo: server error in app com.google.android.talk: code 7
at fzc.a(:com.google.android.gms:381)
at com.google.android.gms.backup.BackupTransportChimeraService.a(:com.google.android.gms:1446)
at fzh.a(:com.google.android.gms:548)
at fzh.finishBackup(:com.google.android.gms:514)
at android.app.backup.BackupTransport$TransportImpl.finishBackup(BackupTransport.java:583)
at com.android.internal.backup.IBackupTransport$Stub.onTransact(IBackupTransport.java:162)
at android.os.Binder.execTransact(Binder.java:453)

aber schau mal hier:

 Toast.makeText(getApplicationContext(),
                    "Please enter the credentials!", Toast.LENGTH_LONG)
                    .show();

Für einen Toast oder andere View Elemente bitte immer den Activity Context und nicht den ApplicationContext benutzen, so kann das auf jeden Fall zu fehlern führen...

Besser wäre z.b. LoginActivity.this-> da Activity von Context erbt geht das

LG Pascal //It's not a bug, it's a feature. :) ;)

  • Forum-Beiträge: 44

16.01.2017 09:04:19 via Website

Hi Pascal,

vielen Dank ich konnte mein Problem lösen.
Du hattest mit dem Mem Leak recht.

Schöne Grüße

Pascal P.
  • Mod
  • Blogger
  • Forum-Beiträge: 9.308

16.01.2017 15:28:42 via App

Hallo Dominik!

Super, wenn deine Frage geklärt ist, setze doch bitte noch deinen Thread auf "Beantwortet"!

LG Pascal //It's not a bug, it's a feature. :) ;)