I searched a lot on google and stackoverflow i got this error
E/Minikin: addFont failed to create font /system/fonts/NanumGothic.ttf in fragment and fragment reloaded after that
please help me for this?I am taking runtime permission after the allow button fragment reloaded.
if (PermissionChecker.checkSelfPermission(getActivity(),
android.Manifest.permission.CAMERA)
!= PackageManager.PERMISSION_GRANTED || ContextCompat.checkSelfPermission(getActivity(),
Manifest.permission.CAMERA)
!= PackageManager.PERMISSION_GRANTED && PermissionChecker.checkSelfPermission(getActivity(),
Manifest.permission.READ_EXTERNAL_STORAGE)
!= PackageManager.PERMISSION_GRANTED || ContextCompat.checkSelfPermission(getActivity(),
Manifest.permission.READ_EXTERNAL_STORAGE)
!= PackageManager.PERMISSION_GRANTED) {
requestPermissions(new String[]{Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE}, 1);
// ActivityCompat.requestPermissions(getActivity(),new String[]{android.Manifest.permission.CAMERA}, 0);
} else {
//opening an intent
}
here is my logcat.
Failed sending reply to debugger: Broken pipe
Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
addFont failed to create font /system/fonts/NanumGothic.ttf
addFont failed to create font /system/fonts/DroidSansFallback.ttf
addFont failed to create font /system/fonts/MTLmr3m.ttf
getServiceInstance failed!
ssl=0x7fb2458980 cert_verify_callback x509_store_ctx=0x7f8bd7e360 arg=0x0
ssl=0x7fb2458980 cert_verify_callback calling verifyCertificateChain authMethod=ECDHE_RSA
here is my dependencies
compile 'com.android.support:appcompat-v7:25.3.0'
compile 'com.android.support:design:25.3.0'
compile 'com.android.support:multidex:1.0.1'
compile 'com.google.firebase:firebase-messaging:9.4.0'
compile 'com.google.android.gms:play-services:9.4.0'
It perfectly fine if i create other project but why its not working at my side?