rakaadinugroho / Elearning-Mobile

:mortar_board: E-Learning Opensource ( Android )
http://sekolah.blogtoandroid.com
65 stars 74 forks source link

Applications Has Stopped #2

Closed vianziro closed 6 years ago

vianziro commented 7 years ago

ketika di running dan pas login selalu close aplication, (has stopped)

rakaadinugroho commented 7 years ago

cek terlebih dahulu servicenya, misalkan menggunakan POSTMAN atau tools lain:)

msyihabudin commented 6 years ago

Mau tanya juga mas @rakaadinugroho, kalo pas running langsung "has stopped" itu kenapa ya? servicenya udah di coba di POSTMAN jalan...

rakaadinugroho commented 6 years ago

logcat errornya kayak apa ?

msyihabudin commented 6 years ago

Kaya gini mas @rakaadinugroho logcat errornya.. FATAL EXCEPTION: main Process: com.rakaadinugroho.msuryanusatara, PID: 4716 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rakaadinugroho.msuryanusatara/com.rakaadinugroho.msuryanusatara.core.authentication.AuthActivity}: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6119) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) Caused by: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported

rakaadinugroho commented 6 years ago

oh MODE_WORLD_READABLE, Versi OSnya yang dipakai Nougat keatas ya di HP/Atau Emulator ? di bagian SessionManager untuk Sharedpreferences nya gunakan 0 mode nya bukan 1

msyihabudin commented 6 years ago

Terima kasih mas sudah bisa.. Tapi pas login muncul Error: Http 404 Not Found

rakaadinugroho commented 6 years ago

cek lagi endpointya. sudah diganti BASE URLnya sama base url Anda ?

msyihabudin commented 6 years ago

Udah disesuain mas BASE URL-nya.. Error logcat nya gini: E/dalvikvm: Could not find class 'android.graphics.drawable.RippleDrawable', referenced from method android.support.v7.widget.AppCompatImageHelper.hasOverlappingRendering

msyihabudin commented 6 years ago

Sudah bisa ternyata karna api nya local, setelah di hosting baru bisa...