I found here Android Studio - SDK is out of date or is missing templates I need to update in my SDK tools.
I see no option for Firebase.
I followed the AdMob instructions. A 403 "unable to show ad" error showed, then I switched my ad unit type to "Banner" and used the test banner unit id "ca-app-pub-3940256099942544/6300978111".
My onCreate in main activity:
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
MobileAds.initialize(this, "my addmob id ");
mAdView = findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
initialiseView();
}
My layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="#+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
</LinearLayout>
<com.google.android.gms.ads.AdView
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="#+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-3940256099942544/6300978111"
android:layout_below="#+id/linearLayout">
</com.google.android.gms.ads.AdView>
</RelativeLayout>
and my logs:
W/GooglePlayServicesUtil: Google Play Store is missing.
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
W/GooglePlayServicesUtil: Google Play Store is missing.
W/GooglePlayServicesUtil: Google Play Store is missing.
W/GooglePlayServicesUtil: Google Play services is missing.
W/GooglePlayServicesUtil: Google Play Store is missing.
W/GooglePlayServicesUtil: Google Play Store is missing.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("C8DCA36186E6C4138C4E71BB102F78D2") to get test ads on this device.
W/GooglePlayServicesUtil: Google Play Store is missing.
W/GooglePlayServicesUtil: Google Play Store is missing.
W/Ads: Invoke Firebase method getInstance error.
W/Ads: The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
W/GooglePlayServicesUtil: Google Play Store is missing.
W/GooglePlayServicesUtil: Google Play Store is missing.
W/System: ClassLoader referenced unknown path: /system/app/webview/lib/x86
W/art: Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
W/art: Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
W/art: Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
I/WebViewFactory: Loading com.android.webview version 51.0.2704.91 (code 275509110)
I/cr_LibraryLoader: Time to load native libraries: 6 ms (timestamps 8593-8599)
I/cr_LibraryLoader: Expected native library version number "51.0.2704.91", actual native library version number "51.0.2704.91"
D/MediaPlayer: setSubtitleAnchor in MediaPlayer
D/MediaPlayer: setSubtitleAnchor in MediaPlayer
D/MediaPlayer: setSubtitleAnchor in MediaPlayer
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.google.android.gms.internal.zzflm>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/customtabs/CustomTabsServiceConnection;
I/art: at boolean com.google.android.gms.internal.zznn.zzi(android.content.Context) ((null):-1)
I/art: at void com.google.android.gms.internal.zzabv.<init>(android.content.Context, com.google.android.gms.internal.zzabu) ((null):-1)
I/art: at java.lang.Object com.google.android.gms.internal.zzabx.call() ((null):-1)
I/art: at void com.google.android.gms.internal.zzago.run() ((null):-1)
I/art: at java.lang.Object java.util.concurrent.Executors$RunnableAdapter.call() (Executors.java:428)
I/art: at void java.util.concurrent.FutureTask.run() (FutureTask.java:237)
I/art: at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133)
I/art: at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607)
I/art: at void java.lang.Thread.run() (Thread.java:761)
I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.customtabs.CustomTabsServiceConnection" on path: DexPathList[[zip file "/data/app/zapbear.quantumproductions.com.zappybear-2/base.apk"],nativeLibraryDirectories=[/data/app/zapbear.quantumproductions.com.zappybear-2/lib/x86, /system/lib, /vendor/lib]]
I/art: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
I/art: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
I/art: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/art: at boolean com.google.android.gms.internal.zznn.zzi(android.content.Context) ((null):-1)
I/art: at void com.google.android.gms.internal.zzabv.<init>(android.content.Context, com.google.android.gms.internal.zzabu) ((null):-1)
I/art: at java.lang.Object com.google.android.gms.internal.zzabx.call() ((null):-1)
I/art: at void com.google.android.gms.internal.zzago.run() ((null):-1)
I/art: at java.lang.Object java.util.concurrent.Executors$RunnableAdapter.call() (Executors.java:428)
I/art: at void java.util.concurrent.FutureTask.run() (FutureTask.java:237)
I/art: at void java.util.concurrent.ThreadPoolExecutor.runWorker(java.util.concurrent.ThreadPoolExecutor$Worker) (ThreadPoolExecutor.java:1133)
I/art: at void java.util.concurrent.ThreadPoolExecutor$Worker.run() (ThreadPoolExecutor.java:607)
I/art: at void java.lang.Thread.run() (Thread.java:761)
I/art: [ 11-20 01:41:39.886 2681: 2681 D/ ]
HostConnection::get() New Host Connection established 0xd9e15090, tid 2681
V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {f36c082}
I/cr_LibraryLoader: Expected native library version number "51.0.2704.91", actual native library version number "51.0.2704.91"
I/chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
E/ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin
E/ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin
D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
E/libEGL: load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
D/libEGL: loaded /system/lib/egl/libEGL_emulation.so
D/libEGL: loaded /system/lib/egl/libGLESv1_CM_emulation.so
D/libEGL: loaded /system/lib/egl/libGLESv2_emulation.so
E/eglCodecCommon: glUtilsParamSize: unknow param 0x00008d57
W/cr_media: Requires BLUETOOTH permission
I/cr_DRP: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
D/cr_Ime: [InputMethodManagerWrapper.java:30] Constructor
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
I/cr_Ime: ImeThread is not enabled.
E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 1
[ 11-20 01:41:40.059 2681: 2747 D/ ]
HostConnection::get() New Host Connection established 0xf2e305a0, tid 2747
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
[ 11-20 01:41:40.076 2681: 2779 D/ ]
HostConnection::get() New Host Connection established 0xd54ee1b0, tid 2779
W/EGL_emulation: eglSurfaceAttrib not implemented
W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xd9ee1e80, error=EGL_SUCCESS
V/assigned screenW: 1080.0
V/The jump force is: 21.637500000000003
E/chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [GroupMarkerNotSet(crbug.com/242999)!:54DB7FD8]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 2681
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
I/chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html (0)
W/GooglePlayServicesUtil: Google Play services is missing.
D/cr_Ime: [InputMethodManagerWrapper.java:30] Constructor
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
W/Ads: Not enough space to show ad. Needs 320x49 dp, but only has 320x0 dp.
E/chromium: [ERROR:gles2_cmd_decoder.cc(2167)] [GroupMarkerNotSet(crbug.com/242999)!:5420DED3]GL ERROR :GL_INVALID_OPERATION : BackFramebuffer::Create: <- error from previous GL command
I/cr_Ime: ImeThread is not enabled.
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 2681
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
W/Ads: Not enough space to show ad. Needs 320x49 dp, but only has 320x0 dp.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
D/cr_Ime: [InputMethodManagerWrapper.java:30] Constructor
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: false
I/cr_Ime: ImeThread is not enabled.
I/Ads: Ad finished loading.
but I see no ad, just my app as usual.
Related
As you can see, here is my code mostly copied from google documentation for google sign in authentication. The problem is when I click on sign in button it throws me an error called "16:" Sorry for posting images, I got problem with posting a code, hope so someone can help me to solve this problem.
**Dependencies
//for firebase
implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-crash:15.0.2'
implementation 'com.firebase:firebase-client-android:2.3.1'
implementation 'com.google.firebase:firebase-storage:15.0.2'
implementation 'com.firebaseui:firebase-ui-auth:3.3.1'
implementation 'com.google.firebase:firebase-auth:16.0.3'
implementation 'com.google.android.gms:play-services-auth:16.0.0'**
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_welcome_screen);
onCreate();
SignInButton signInButton = findViewById(R.id.sign_in_button);
signInButton.setSize(SignInButton.SIZE_STANDARD);
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestEmail()
.build();
mGoogleSignInClient = GoogleSignIn.getClient(this, gso);
mAuth = FirebaseAuth.getInstance();
signInButton.setOnClickListener(new View.OnClickListener() {
#Override
public void onClick(View view) {
signIn();
}
});
}
private void signIn() {
Intent signInIntent = mGoogleSignInClient.getSignInIntent();
startActivityForResult(signInIntent, RC_SIGN_IN);
}
private void handleSignInResult(Task<GoogleSignInAccount> completedTask) {
try {
GoogleSignInAccount account = completedTask.getResult(ApiException.class);
Intent intent = new Intent(WelcomeScreen.this, Main.class);
startActivity(intent);
} catch (ApiException e) {
Toast.makeText(WelcomeScreen.this, "problem je: " + e.getStatusCode(), Toast.LENGTH_SHORT).show();
}
}
#Override
public void onStart() {
super.onStart();
if (mAuth.getCurrentUser() != null) {
Intent intent = new Intent(WelcomeScreen.this, Main.class);
startActivity(intent);
}
}
#Override
public void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == RC_SIGN_IN) {
Task<GoogleSignInAccount> task = GoogleSignIn.getSignedInAccountFromIntent(data);
handleSignInResult(task);
}
}
Stack trace:
2018-09-27 16:32:54.320 6371-6371/com.example.user.graduationproject I/art: Late-enabling -Xcheck:jni
2018-09-27 16:32:54.320 6371-6371/com.example.user.graduationproject D/houdini: [6371] Initialize library(version: 6.1.2d_x.48748 RELEASE)... successfully.
2018-09-27 16:32:54.512 6371-6387/com.example.user.graduationproject W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
2018-09-27 16:32:54.540 6371-6391/com.example.user.graduationproject I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:3
2018-09-27 16:32:54.540 6371-6391/com.example.user.graduationproject I/DynamiteModule: Selected remote version of com.google.android.gms.flags, version >= 3
2018-09-27 16:32:54.545 6371-6385/com.example.user.graduationproject D/libEGL: loaded /system/lib/egl/libEGL_adreno.so
2018-09-27 16:32:54.549 6371-6371/com.example.user.graduationproject V/FA: Registered activity lifecycle callback
2018-09-27 16:32:54.550 6371-6391/com.example.user.graduationproject W/System: ClassLoader referenced unknown path:
2018-09-27 16:32:54.558 6371-6391/com.example.user.graduationproject D/ApplicationLoaders: ignored Vulkan layer search path /data/app/com.google.android.gms-1/lib/x86:/data/app/com.google.android.gms-1/base.apk!/lib/x86 for namespace 0xb7684090
2018-09-27 16:32:54.560 6371-6371/com.example.user.graduationproject I/FirebaseInitProvider: FirebaseApp initialization successful
2018-09-27 16:32:54.562 6371-6371/com.example.user.graduationproject I/InstantRun: starting instant run server: is main process
2018-09-27 16:32:54.573 6371-6392/com.example.user.graduationproject W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
2018-09-27 16:32:54.575 6371-6385/com.example.user.graduationproject D/libEGL: loaded /system/lib/egl/libGLESv1_CM_adreno.so
2018-09-27 16:32:54.581 6371-6385/com.example.user.graduationproject D/libEGL: loaded /system/lib/egl/libGLESv2_adreno.so
2018-09-27 16:32:54.595 6371-6371/com.example.user.graduationproject W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
2018-09-27 16:32:54.598 6371-6371/com.example.user.graduationproject V/FA: onActivityCreated
2018-09-27 16:32:54.607 6371-6391/com.example.user.graduationproject W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000000a/n/armeabi-v7a
2018-09-27 16:32:54.607 6371-6391/com.example.user.graduationproject W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/0000000a/n/armeabi
2018-09-27 16:32:54.609 6371-6392/com.example.user.graduationproject I/FirebaseAuth: [FirebaseAuth:] Loading module via FirebaseOptions.
2018-09-27 16:32:54.609 6371-6392/com.example.user.graduationproject I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject V/FA: Collection enabled
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject V/FA: App package, google app id: com.example.user.graduationproject, 1:155824206953:android:24d999f6e00c6563
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject I/FA: App measurement is starting up, version: 12451
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.example.user.graduationproject
2018-09-27 16:32:54.632 6371-6395/com.example.user.graduationproject D/FA: Debug-level message logging enabled
2018-09-27 16:32:54.635 6371-6391/com.example.user.graduationproject W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
2018-09-27 16:32:54.637 6371-6391/com.example.user.graduationproject I/DynamiteModule: Considering local module com.google.android.gms.crash:0 and remote module com.google.android.gms.crash:215
2018-09-27 16:32:54.637 6371-6391/com.example.user.graduationproject I/DynamiteModule: Selected remote version of com.google.android.gms.crash, version >= 215
2018-09-27 16:32:54.640 6371-6391/com.example.user.graduationproject I/FirebaseCrashApiImpl: FirebaseCrashApiImpl created by ClassLoader ad[DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000000a/DynamiteModulesC.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000000a/n/armeabi-v7a, /data/user_de/0/com.google.android.gms/app_chimera/m/0000000a/n/armeabi, /system/lib, /vendor/lib]]]
2018-09-27 16:32:54.641 6371-6391/com.example.user.graduationproject I/FirebaseCrash: FirebaseCrash reporting loaded - com.google.android.gms.internal.measurement.zzxw#9bbbe64
2018-09-27 16:32:54.648 6371-6393/com.example.user.graduationproject I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:3
2018-09-27 16:32:54.648 6371-6393/com.example.user.graduationproject I/DynamiteModule: Selected remote version of com.google.android.gms.flags, version >= 3
2018-09-27 16:32:54.652 6371-6393/com.example.user.graduationproject W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
2018-09-27 16:32:54.662 6371-6393/com.example.user.graduationproject I/FirebaseCrashApiImpl: FirebaseCrash reporting API initialized
2018-09-27 16:32:54.662 6371-6393/com.example.user.graduationproject I/FirebaseCrash: FirebaseCrash reporting initialized com.google.android.gms.internal.measurement.zzxw#9bbbe64
2018-09-27 16:32:54.662 6371-6393/com.example.user.graduationproject D/FirebaseCrash: Firebase Analytics Listener for Firebase Crash is initialized
2018-09-27 16:32:54.666 6371-6395/com.example.user.graduationproject V/FA: Cancelling job. JobID: -1494669227
2018-09-27 16:32:54.676 6371-6395/com.example.user.graduationproject V/FA: Connecting to remote service
2018-09-27 16:32:54.680 6371-6395/com.example.user.graduationproject V/FA: Connection attempt already in progress
2018-09-27 16:32:55.250 6371-6371/com.example.user.graduationproject D/ApplicationLoaders: ignored Vulkan layer search path /data/app/com.google.android.gms-1/lib/x86:/data/app/com.google.android.gms-1/base.apk!/lib/x86 for namespace 0xb76840d0
2018-09-27 16:32:55.256 6371-6371/com.example.user.graduationproject I/DynamiteModule: Considering local module com.google.android.gms.signinbutton_dynamite:0 and remote module com.google.android.gms.signinbutton_dynamite:2
2018-09-27 16:32:55.256 6371-6371/com.example.user.graduationproject I/DynamiteModule: Selected remote version of com.google.android.gms.signinbutton_dynamite, version >= 2
2018-09-27 16:32:55.274 6371-6371/com.example.user.graduationproject W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000009/n/armeabi-v7a
2018-09-27 16:32:55.274 6371-6371/com.example.user.graduationproject W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000009/n/armeabi
2018-09-27 16:32:55.323 6371-6395/com.example.user.graduationproject I/FA: Tag Manager is not found and thus will not be used
2018-09-27 16:32:55.335 6371-6395/com.example.user.graduationproject D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=WelcomeScreen, firebase_screen_id(_si)=-4609609622484588595}]
2018-09-27 16:32:55.350 6371-6395/com.example.user.graduationproject V/FA: Connection attempt already in progress
2018-09-27 16:32:55.351 6371-6395/com.example.user.graduationproject V/FA: Connection attempt already in progress
2018-09-27 16:32:55.351 6371-6395/com.example.user.graduationproject V/FA: Activity resumed, time: 2956494
2018-09-27 16:32:55.363 6371-6399/com.example.user.graduationproject I/OpenGLRenderer: Initialized EGL, version 1.4
2018-09-27 16:32:55.363 6371-6399/com.example.user.graduationproject D/OpenGLRenderer: Swap behavior 1
2018-09-27 16:32:55.413 6371-6399/com.example.user.graduationproject W/EGL_emulation: eglSurfaceAttrib not implemented 3093 12436
2018-09-27 16:32:55.413 6371-6399/com.example.user.graduationproject W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa9078e80, error=EGL_SUCCESS
2018-09-27 16:32:55.420 6371-6371/com.example.user.graduationproject W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
2018-09-27 16:32:55.460 6371-6395/com.example.user.graduationproject D/FA: Connected to remote service
2018-09-27 16:32:55.461 6371-6395/com.example.user.graduationproject V/FA: Processing queued up service tasks: 4
2018-09-27 16:32:57.221 6371-6395/com.example.user.graduationproject V/FA: Recording user engagement, ms: 1898
2018-09-27 16:32:57.222 6371-6395/com.example.user.graduationproject V/FA: Activity paused, time: 2958392
2018-09-27 16:32:57.224 6371-6395/com.example.user.graduationproject D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=1898, firebase_screen_class(_sc)=WelcomeScreen, firebase_screen_id(_si)=-4609609622484588595}]
2018-09-27 16:32:57.231 6371-6371/com.example.user.graduationproject V/FA: onActivityCreated
2018-09-27 16:32:57.241 6371-6395/com.example.user.graduationproject D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=WelcomeScreen, firebase_previous_id(_pi)=-4609609622484588595, firebase_screen_class(_sc)=SignInHubActivity, firebase_screen_id(_si)=-4609609622484588594}]
2018-09-27 16:32:57.268 6371-6395/com.example.user.graduationproject V/FA: Activity resumed, time: 2958410
2018-09-27 16:32:57.269 6371-6395/com.example.user.graduationproject V/FA: Screen exposed for less than 1000 ms. Event not sent. time: 31
2018-09-27 16:32:57.273 6371-6395/com.example.user.graduationproject V/FA: Activity paused, time: 2958411
2018-09-27 16:32:57.287 6371-6399/com.example.user.graduationproject W/EGL_emulation: eglSurfaceAttrib not implemented 3093 12436
2018-09-27 16:32:57.287 6371-6399/com.example.user.graduationproject W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xb2d390c0, error=EGL_SUCCESS
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: com.google.android.gms.common.api.ApiException: 16:
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at com.google.android.gms.common.internal.ApiExceptionUtil.fromStatus(Unknown Source)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at com.google.android.gms.auth.api.signin.GoogleSignIn.getSignedInAccountFromIntent(Unknown Source)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at com.example.user.graduationproject.Bjelasnica.WelcomeScreen.onActivityResult(WelcomeScreen.java:88)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.Activity.dispatchActivityResult(Activity.java:6945)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.ActivityThread.deliverResults(ActivityThread.java:4088)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4135)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.ActivityThread.-wrap20(ActivityThread.java)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1536)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.os.Looper.loop(Looper.java:154)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6169)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
2018-09-27 16:33:01.904 6371-6371/com.example.user.graduationproject W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
2018-09-27 16:33:01.910 6371-6395/com.example.user.graduationproject D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_previous_class(_pc)=SignInHubActivity, firebase_previous_id(_pi)=-4609609622484588594, firebase_screen_class(_sc)=WelcomeScreen, firebase_screen_id(_si)=-4609609622484588595}]
2018-09-27 16:33:01.936 6371-6395/com.example.user.graduationproject V/FA: Activity resumed, time: 2963077
2018-09-27 16:33:01.953 6371-6399/com.example.user.graduationproject W/EGL_emulation: eglSurfaceAttrib not implemented 3093 12436
2018-09-27 16:33:01.953 6371-6399/com.example.user.graduationproject W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xb2d390c0, error=EGL_SUCCESS
2018-09-27 16:33:04.784 6371-6426/com.example.user.graduationproject I/FirebaseCrash: Sending crashes
2018-09-27 16:33:06.937 6371-6395/com.example.user.graduationproject V/FA: Inactivity, disconnecting from the service
I had the same problem. This is my solution. I hope you will understand.
Situation: How to solve this problem when there is an error code '16:', stuck at the 'Sign In with Google', after we pressed our email at the messagebox not next activity appear but only appear the error.
5.2. To solve this:
5.2.1. Get SHA1 from your project (Android Studio)
5.2.2. Create the API Key and OAuth 2.0 client IDs (Android type). (https://console.cloud.google.com/apis/credentials)
5.2.3. So, the data is set at Google, so get the new Firebase Console google.json at https://console.firebase.google.com/ (at Project Settings). Download it then replace.
5.2.4. Close the Android Studio, open back, then 'Make Project'
5.2.5. Run at the phone. Success!
Refer to this link: google signIn not working in release mode apk android
Extra about google api: https://developers.google.com/maps/documentation/android-sdk/config
(adding extra things for the manifest.xml)
I was also seeing "error code 16" when integrating Google SignIn on Android with Firebase. Still not sure what I was missing but I went back to the beginning and followed this doc:
https://firebase.google.com/docs/auth/android/google-signin
This link is pretty complete. I didn't need to configure anything in Google Cloud console. I did use the info on the Integrating Google SignIn page that the above page links to and got the code and layout for the button.
After struggling for about 48 hrs to solve the firebase google sign-in error 16 credential not matching;
The only thing that solved my problem is to get your web_client_id using "Configure a Google API Console project" through this link https://developers.google.com/identity/sign-in/android/start-integrating#configure_a_project, you should provide the application id from AndroidManifest.xml and sha1 from the signingReport of android studio.
Also, I got different sha1 for each android studio project as to avoid any conflicts in firebase, this by setting debug parameters in signingConfigs {} in android {} in the app build.gradle as follow
android {
signingConfigs {
debug {
storeFile file("path_to_keystore.jks")
storePassword "keystore_password"
keyAlias "key_alias_name"
keyPassword "key_password"
}
}
}
Moreover, I recommend to try firstly google sign in without firebase to give you a positive energy, then secondly go for firebase google sign-in as needed.
Hope this helps every developer facing the same error and save their time.
I have implemented admob in my app.when the activity loads ,logcat shows some errors which i am not able to relate to admob.
LogCat:
W/ResourcesManager: Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager: Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
I/art: DexFile_isDexOptNeeded failed to open oat file '/data/dalvik-cache/arm64/data#data#com.google.android.gms#app_chimera#m#00000040#DynamiteModulesA_GmsCore_prodlmp_xhdpi_release.apk#classes.dex' for file location '/data/data/com.google.android.gms/app_chimera/m/00000040/DynamiteModulesA_GmsCore_prodlmp_xhdpi_release.apk': Failed to open oat filename for reading: No such file or directory
D/DynamitePackage: Instantiated singleton DynamitePackage.
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
D/WebViewFactory: primaryArchIs64bit = true
I/WebViewFactory: Loading com.google.android.webview version 64.0.3282.137 (code 328213750)
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
I/cr_LibraryLoader: Time to load native libraries: 2 ms (timestamps 8604-8606)
I/chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader: Expected native library version number "64.0.3282.137", actual native library version number "64.0.3282.137"
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
I/cr_base: Android Locale: en_IN requires .pak files: []
E/chromium: [ERROR:instance.cc(49)] Unable to locate service manifest for metrics
E/chromium: [ERROR:service_manager.cc(890)] Failed to resolve service name: metrics
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$WebResourceErrorImpl>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$WebResourceErrorImpl>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$7>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$7>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$3>
D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524290
I/art: Rejecting re-init on previously-failed class java.lang.Class<org.chromium.content.browser.FloatingActionModeCallback>
I/art: Rejecting re-init on previously-failed class java.lang.Class<org.chromium.content.browser.FloatingActionModeCallback>
**W/cr_media: Requires BLUETOOTH permission
E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524290
W/AudioCapabilities: Unsupported mime audio/evrc
W/AudioCapabilities: Unsupported mime audio/qcelp
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
W/AudioCapabilities: Unsupported mime audio/qcelp
W/AudioCapabilities: Unsupported mime audio/evrc
W/VideoCapabilities: Unsupported mime video/mp4v-esdp
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es**
I/Ads: Updating ad debug logging enablement.
I/Ads: Starting ad request.
I/Ads: Use AdRequest.Builder.addTestDevice("*********") to get test ads on this device.
W/Ads: Not retrying to fetch app settings
I/Choreographer: Skipped 184 frames! The application may be doing too much work on its main thread.
W/Ads: Invoke Firebase method getInstance error.
W/Ads: The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firebase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524290
W/Ads: Update ad debug logging enablement as false
I/chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#3020318e time:246760805
W/cr_CrashFileManager: /data/data/com.sns.kids.maths.games/cache/WebView/Crash Reports does not exist or is not a directory
I/chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/Ads: Scheduling ad refresh 70000 milliseconds from now.
I/Ads: Ad finished loading.
I/chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy#16ae39cd time:246768461
The logcat says it requires bluetooth permission.I am getting this only when i am adding admob code.When i remove the admob it disappears.
Admob Code :
private void showBannerAds() {
MobileAds.initialize(this,getResources().getString(R.string.admob_appid));
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);
}
This question already has an answer here:
NullPointerException when setting TextView via ButtonClick
(1 answer)
Closed 5 years ago.
I have one activity and a few fragments. My structure looks like this:
Main Activity ->
- Menu 1 Fragment-> Daily Fragment / Weekly Fragment / Monthly Fragment / Annual Fragment
- Menu 2 Fragment -> empty
- Menu 3 Fragment -> empty
All menus are fragments.
Now I want to add values to the database (Cloud Firebase), but I can not call the method (onClick).
I did OnClickListener, and Override onClick (View v). It still does not work. What else do I need?
Daily Fragment:
public class DailyFragment extends Fragment implements
View.OnClickListener{
private static final String QUOTE_KEY = "quote";
private static final String AUTHOR_KEY = "author";
private static final String TAG= "InspiringQuote";
private DocumentReference mDocRef = FirebaseFirestore.getInstance().document("sampleData/inspirations");
#Nullable
#Override
public View onCreateView(LayoutInflater inflater, #Nullable ViewGroup container, #Nullable Bundle savedInstanceState) {
//just change the fragment_weekly
//with the fragment you want to inflate
//like if the class is DailyFragment it should have R.layout.home_fragment
//if it is WeeklyFragment it should have R.layout.fragment_weekly
//return inflater.inflate(R.layout.fragment_daily, null);
View layout = inflater.inflate(R.layout.fragment_daily, container, false);
//Dołączamy do przycisku obiekt nasłuchujący
Button saveButton = (Button)layout.findViewById(R.id.bn_save);
saveButton.setOnClickListener(this);
return layout;
}
#Override
public void onClick(View v){
switch (v.getId()) {
case R.id.bn_save:
saveQuote(v);
break;
}
}
public void saveQuote (View view){
EditText quoteView = (EditText) view.findViewById(R.id.quote);
EditText authorView = (EditText) view.findViewById(R.id.author);
String quoteText = quoteView.getText().toString();
String authorText = authorView.getText().toString();
if (quoteText.isEmpty() || authorText.isEmpty()) { return; }
Map<String, Object> dataToSave = new HashMap<String, Object>();
dataToSave.put(QUOTE_KEY, quoteText);
dataToSave.put(AUTHOR_KEY, quoteText);
mDocRef.set(dataToSave).addOnSuccessListener(new OnSuccessListener<Void>() {
#Override
public void onSuccess(Void aVoid) {
Log.d(TAG, "Dokument został zapisany!");
}
}).addOnFailureListener(new OnFailureListener() {
#Override
public void onFailure(#NonNull Exception e) {
Log.w(TAG, "Błąd, dokument nie został zapisany.", e);
}
});
}}
XML:
<TextView
android:id="#+id/tv_dzienne"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="#+id/quote"
android:layout_centerHorizontal="true"
android:layout_marginBottom="52dp"
android:text="Dzienne"
android:textAppearance="#style/Base.TextAppearance.AppCompat.Large" />
<EditText
android:id="#+id/quote"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="#+id/bn_save"
android:layout_alignParentStart="true"
android:layout_marginBottom="67dp"
android:ems="10"
android:hint="Podaj wartość"
android:inputType="textCapSentences"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="8dp" />
<EditText
android:id="#+id/author"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentStart="true"
android:layout_alignTop="#+id/quote"
android:layout_marginTop="51dp"
android:ems="10"
android:hint="Nazwa"
android:inputType="textPersonName"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:paddingTop="8dp" />
<Button
android:id="#+id/bn_save"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginEnd="8dp"
android:onClick="saveQuote" --> **cannot resolve symbol**
android:text="#string/save_quote" />
02-13 19:09:49.852 11587-11587/? I/zygote: Not late-enabling -Xcheck:jni (already on)
02-13 19:09:49.865 11587-11587/? W/zygote: Unexpected CPU variant for X86 using defaults: x86
02-13 19:09:50.864 11587-11587/? W/zygote: Skipping duplicate class check due to unrecognized classloader
02-13 19:09:50.867 11587-11587/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-13 19:09:50.871 11587-11587/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-13 19:09:50.875 11587-11587/? I/BiChannelGoogleApi: [FirebaseAuth: ] No Fallback module; NOT setting up for lazy initialization
02-13 19:09:50.879 11587-11607/? W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
02-13 19:09:50.892 11587-11610/? I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
02-13 19:09:50.892 11587-11610/? I/DynamiteModule: Selected local version of com.google.android.gms.flags
02-13 19:09:50.894 11587-11607/? I/FirebaseAuth: [FirebaseAuth:] Loading module via FirebaseOptions.
02-13 19:09:50.894 11587-11607/? I/FirebaseAuth: [FirebaseAuth:] Preparing to create service connection to gms implementation
02-13 19:09:50.894 11587-11587/? V/FA: Cancelling job. JobID: -386501406
02-13 19:09:50.895 11587-11587/? V/FA: Registered activity lifecycle callback
02-13 19:09:50.896 11587-11587/? I/FirebaseInitProvider: FirebaseApp initialization successful
02-13 19:09:50.917 11587-11613/? V/FA: Collection enabled
02-13 19:09:50.917 11587-11613/? V/FA: App package, google app id: com.example.xovin.organizerrozwojuosobistego, 1:922322846834:android:d173fbb977e9a87d
02-13 19:09:50.918 11587-11613/? I/FA: App measurement is starting up, version: 11910
02-13 19:09:50.918 11587-11613/? I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
02-13 19:09:50.918 11587-11610/? W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
02-13 19:09:50.919 11587-11613/? I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.example.xovin.organizerrozwojuosobistego
02-13 19:09:50.919 11587-11613/? D/FA: Debug-level message logging enabled
02-13 19:09:50.922 11587-11610/? I/DynamiteModule: Considering local module com.google.android.gms.crash:0 and remote module com.google.android.gms.crash:10
02-13 19:09:50.922 11587-11610/? I/DynamiteModule: Selected remote version of com.google.android.gms.crash, version >= 10
02-13 19:09:50.925 11587-11587/? V/FA: onActivityCreated
02-13 19:09:50.974 11587-11610/? W/zygote: Skipping duplicate class check due to unrecognized classloader
02-13 19:09:50.979 11587-11613/? V/FA: Connecting to remote service
02-13 19:09:50.992 11587-11613/? V/FA: Connection attempt already in progress
02-13 19:09:50.995 11587-11610/? I/FirebaseCrashApiImpl: FirebaseCrashApiImpl created by ClassLoader ae[DexPathList[[zip file "/system/priv-app/PrebuiltGmsCore/app_chimera/m/DynamiteModulesC.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000003/n/x86, /system/lib, /vendor/lib]]]
02-13 19:09:50.995 11587-11610/? I/FirebaseCrash: FirebaseCrash reporting loaded - com.google.android.gms.internal.zzdzk#963bd28
02-13 19:09:51.006 11587-11611/? I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
02-13 19:09:51.006 11587-11611/? I/DynamiteModule: Selected local version of com.google.android.gms.flags
02-13 19:09:51.012 11587-11611/? W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
02-13 19:09:51.042 11587-11611/? I/FirebaseCrashApiImpl: FirebaseCrash reporting API initialized
02-13 19:09:51.042 11587-11611/? I/FirebaseCrash: FirebaseCrash reporting initialized com.google.android.gms.internal.zzdzk#963bd28
02-13 19:09:51.042 11587-11611/? D/FirebaseCrash: Firebase Analytics Listener for Firebase Crash is initialized
02-13 19:09:51.134 11587-11587/? W/linker: "/data/user_de/0/com.google.android.gms/app_extracted_libs/x86/libconscrypt_gmscore_jni.so" unused DT entry: type 0xf arg 0x91
02-13 19:09:51.135 11587-11587/? V/NativeCrypto: Registering com/google/android/gms/org/conscrypt/NativeCrypto's 276 native methods...
02-13 19:09:51.183 11587-11587/? D/NetworkSecurityConfig: No Network Security Config specified, using platform default
02-13 19:09:51.185 11587-11592/? I/zygote: Do partial code cache collection, code=28KB, data=30KB
02-13 19:09:51.185 11587-11587/? I/ProviderInstaller: Installed default security provider GmsCore_OpenSSL
02-13 19:09:51.186 11587-11592/? I/zygote: After code cache collection, code=27KB, data=30KB
02-13 19:09:51.186 11587-11592/? I/zygote: Increasing code cache capacity to 128KB
02-13 19:09:51.223 11587-11613/? V/FA: Connection attempt already in progress
02-13 19:09:51.224 11587-11613/? V/FA: Activity resumed, time: 79702594
02-13 19:09:51.239 11587-11613/? I/FA: Tag Manager is not found and thus will not be used
02-13 19:09:51.241 11587-11613/? D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-3727998583761649633}]
02-13 19:09:51.243 11587-11618/? D/OpenGLRenderer: HWUI GL Pipeline
02-13 19:09:51.274 11587-11613/? V/FA: Connection attempt already in progress
02-13 19:09:51.307 11587-11592/? I/zygote: Do partial code cache collection, code=37KB, data=54KB
02-13 19:09:51.310 11587-11592/? I/zygote: After code cache collection, code=34KB, data=53KB
02-13 19:09:51.310 11587-11592/? I/zygote: Increasing code cache capacity to 256KB
02-13 19:09:51.312 11587-11592/? I/zygote: JIT allocated 71KB for compiled code of void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
02-13 19:09:51.312 11587-11592/? I/zygote: Compiler allocated 4MB to compile void android.widget.TextView.<init>(android.content.Context, android.util.AttributeSet, int, int)
02-13 19:09:53.367 11587-11618/com.example.xovin.organizerrozwojuosobistego I/OpenGLRenderer: Initialized EGL, version 1.4
02-13 19:09:53.367 11587-11618/com.example.xovin.organizerrozwojuosobistego D/OpenGLRenderer: Swap behavior 1
02-13 19:09:53.367 11587-11618/com.example.xovin.organizerrozwojuosobistego W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
02-13 19:09:53.367 11587-11618/com.example.xovin.organizerrozwojuosobistego D/OpenGLRenderer: Swap behavior 0
02-13 19:09:54.392 11587-11618/com.example.xovin.organizerrozwojuosobistego D/EGL_emulation: eglCreateContext: 0xa2f74f00: maj 2 min 0 rcv 2
02-13 19:09:55.204 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: Do full code cache collection, code=125KB, data=68KB
02-13 19:09:55.223 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: After code cache collection, code=102KB, data=39KB
02-13 19:09:55.400 11587-11618/com.example.xovin.organizerrozwojuosobistego D/EGL_emulation: eglMakeCurrent: 0xa2f74f00: ver 2 0 (tinfo 0x92495230)
02-13 19:09:55.428 11587-11587/com.example.xovin.organizerrozwojuosobistego I/Choreographer: Skipped 249 frames! The application may be doing too much work on its main thread.
02-13 19:09:57.664 11587-11618/com.example.xovin.organizerrozwojuosobistego D/EGL_emulation: eglMakeCurrent: 0xa2f74f00: ver 2 0 (tinfo 0x92495230)
02-13 19:09:59.755 11587-11587/com.example.xovin.organizerrozwojuosobistego I/Choreographer: Skipped 259 frames! The application may be doing too much work on its main thread.
02-13 19:09:59.755 11587-11613/com.example.xovin.organizerrozwojuosobistego D/FA: Connected to remote service
02-13 19:09:59.755 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Processing queued up service tasks: 4
02-13 19:09:59.922 11587-11587/com.example.xovin.organizerrozwojuosobistego W/View: dispatchProvideAutofillStructure(): not laid out, ignoring
02-13 19:09:59.928 11587-11587/com.example.xovin.organizerrozwojuosobistego I/chatty: uid=10089(u0_a89) com.example.xovin.organizerrozwojuosobistego identical 7 lines
02-13 19:09:59.928 11587-11587/com.example.xovin.organizerrozwojuosobistego W/View: dispatchProvideAutofillStructure(): not laid out, ignoring
02-13 19:09:59.935 11587-11587/com.example.xovin.organizerrozwojuosobistego I/AssistStructure: Flattened final assist data: 9104 bytes, containing 1 windows, 44 views
02-13 19:09:59.950 11587-11628/com.example.xovin.organizerrozwojuosobistego I/FirebaseCrash: Sending crashes
02-13 19:10:01.237 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Session started, time: 79712610
02-13 19:10:01.240 11587-11613/com.example.xovin.organizerrozwojuosobistego D/FA: Logging event (FE): session_start(_s), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-3727998583761649633}]
02-13 19:10:06.267 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Inactivity, disconnecting from the service
02-13 19:10:07.754 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: Do partial code cache collection, code=123KB, data=70KB
02-13 19:10:07.754 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: After code cache collection, code=123KB, data=70KB
02-13 19:10:07.754 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: Increasing code cache capacity to 512KB
02-13 19:10:26.008 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: Do full code cache collection, code=241KB, data=166KB
02-13 19:10:26.008 11587-11592/com.example.xovin.organizerrozwojuosobistego I/zygote: After code cache collection, code=162KB, data=105KB
02-13 19:10:31.670 11587-11587/com.example.xovin.organizerrozwojuosobistego D/AndroidRuntime: Shutting down VM
02-13 19:10:31.671 11587-11587/com.example.xovin.organizerrozwojuosobistego E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.xovin.organizerrozwojuosobistego, PID: 11587
java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
at com.example.xovin.organizerrozwojuosobistego.DailyFragment.saveQuote(DailyFragment.java:61)
at com.example.xovin.organizerrozwojuosobistego.DailyFragment$1.onClick(DailyFragment.java:48)
at android.view.View.performClick(View.java:6256)
at android.view.View$PerformClick.run(View.java:24701)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
02-13 19:10:31.671 11587-11587/com.example.xovin.organizerrozwojuosobistego E/UncaughtException: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
at com.example.xovin.organizerrozwojuosobistego.DailyFragment.saveQuote(DailyFragment.java:61)
at com.example.xovin.organizerrozwojuosobistego.DailyFragment$1.onClick(DailyFragment.java:48)
at android.view.View.performClick(View.java:6256)
at android.view.View$PerformClick.run(View.java:24701)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
02-13 19:10:31.675 11587-11613/com.example.xovin.organizerrozwojuosobistego D/FA: Logging event (FE): app_exception(_ae), Bundle[{firebase_event_origin(_o)=crash, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-3727998583761649633, timestamp=1518549031673, fatal=1}]
02-13 19:10:31.747 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Connecting to remote service
02-13 19:10:31.749 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Recording user engagement, ms: 40528
02-13 19:10:31.752 11587-11613/com.example.xovin.organizerrozwojuosobistego D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=40528, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=-3727998583761649633}]
02-13 19:10:31.766 11587-11613/com.example.xovin.organizerrozwojuosobistego V/FA: Connection attempt already in progress
02-13 19:10:31.902 11587-11638/com.example.xovin.organizerrozwojuosobistego I/FirebaseCrash: Sending crashes
02-13 19:10:32.501 11587-11638/com.example.xovin.organizerrozwojuosobistego I/FirebaseCrash: Response code: 200
02-13 19:10:32.503 11587-11638/com.example.xovin.organizerrozwojuosobistego I/FirebaseCrash: Report sent with crash report id: 1794c89e94000000
Button saveButton = (Button)layout.findViewById(R.id.bn_save);
saveButton.setOnClickListener(new View.OnClickListener() {
#Override
public void onClick(View v) {
// do something when the corky2 is clicked
}
});
try this way since i think when you go to your fragment it changes your view so basically you are not on the right view
I am developing an app using Android Studio.
The problem is that app gets crashed twice within few minutes of running it and besides Application terminated. and normal logs no error is shown in the logcat.
Here's complete logcat:
02/12 22:31:34: Launching app
Cold swapped changes.
$ adb shell am start -n "com.abc.xxx/com.abc.xxx.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 13399 on device micromax-micromax_aq4502-2864004C04884I2
I/art: Late-enabling -Xcheck:jni
W/System: ClassLoader referenced unknown path: /data/app/com.abc.xxx-2/lib/arm
I/InstantRun: Instant Run Runtime started. Android package is com.abc.xxx, real application class is null.
W/System: ClassLoader referenced unknown path: /data/app/com.abc.xxx-2/lib/arm
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
I/art: Background sticky concurrent mark sweep GC freed 11281(1218KB) AllocSpace objects, 22(696KB) LOS objects, 15% free, 5MB/6MB, paused 13.077ms total 70.659ms
I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
I/DynamiteModule: Selected local version of com.google.android.gms.flags
W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
I/DynamiteModule: Considering local module com.google.android.gms.crash:0 and remote module com.google.android.gms.crash:4
I/DynamiteModule: Selected remote version of com.google.android.gms.crash, version >= 4
W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000012/n/armeabi-v7a
W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000012/n/armeabi
I/FirebaseCrashApiImpl: FirebaseCrashApiImpl created by ClassLoader p[DexPathList[[zip file "/data/data/com.google.android.gms/app_chimera/m/00000012/DynamiteModulesC_GmsCore_prodmnc_hdpi_release.apk"],nativeLibraryDirectories=[/data/user/0/com.google.android.gms/app_chimera/m/00000012/n/armeabi-v7a, /data/user/0/com.google.android.gms/app_chimera/m/00000012/n/armeabi, /vendor/lib, /system/lib]]]
I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
I/DynamiteModule: Selected local version of com.google.android.gms.flags
W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
I/FA: App measurement is starting up, version: 10084
I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
D/FA: Debug-level message logging enabled
D/FA: AppMeasurement singleton hash: 198168520
V/FA: Collection enabled
V/FA: App package, google app id: com.abc.xxx, 1:987905869088:android:e7f50263e7b8aa58
I/FA: To enable faster debug mode event logging run:
adb shell setprop debug.firebase.analytics.app com.getsportalapp.sportal
V/FA: Registered activity lifecycle callback
I/FirebaseCrash: FirebaseCrash reporting initialized com.google.android.gms.internal.zzbks#e551d72
I/FirebaseInitProvider: FirebaseApp initialization successful
V/FA: Using measurement service
V/FA: Connecting to remote service
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
W/com.facebook.appevents.AppEventsLogger: activateApp events are being logged automatically. There's no need to call activateApp explicitly, this is safe to remove.
I/GAC: Building GoogleApiClient
I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
V/FA: Connection attempt already in progress
V/FA: Activity resumed, time: 824779068
D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
D/signedIn: onAuthStateChanged:signed_in:ShXMXdc5kHUQZWG3lGudJtt2
I/DynamiteModule: Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:5
I/DynamiteModule: Selected remote version of com.google.android.gms.firebase_database, version >= 5
I/OpenGLRenderer: Initialized EGL, version 1.4
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
E/RecyclerView: No adapter attached; skipping layout
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
E/RecyclerView: No adapter attached; skipping layout
D/getInvitation: getInvitation: no deep link found.
D/called: again
D/cLat: 2.8418744
D/cLng: 8.7791019
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
W/PersistentConnection: pc_0 - Using an unspecified index. Consider adding '".indexOn": "g"' at geofire to your security and Firebase Database rules for better performance
W/PersistentConnection: pc_0 - Using an unspecified index. Consider adding '".indexOn": "g"' at geofire to your security and Firebase Database rules for better performance
W/PersistentConnection: pc_0 - Using an unspecified index. Consider adding '".indexOn": "g"' at geofire to your security and Firebase Database rules for better performance
W/PersistentConnection: pc_0 - Using an unspecified index. Consider adding '".indexOn": "g"' at geofire to your security and Firebase Database rules for better performance
W/Settings: Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000010/n/armeabi
D/DynamitePackage: Instantiated singleton DynamitePackage.
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/DynamiteModule: Considering local module com.google.android.gms.piccard.dynamite:0 and remote module com.google.android.gms.piccard.dynamite:12
I/DynamiteModule: Selected remote version of com.google.android.gms.piccard.dynamite, version >= 12
W/System: ClassLoader referenced unknown path: /data/user/0/com.google.android.gms/app_chimera/m/00000010/n/armeabi
W/VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 8 for video/mp4v-es
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
I/Ads: Starting ad request.
I/WebViewFactory: Loading com.google.android.webview version 53.0.2785.124 (code 278512400)
D/diffAnother: -6283000
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
I/cr_LibraryLoader: Time to load native libraries: 6 ms (timestamps 5738-5744)
I/cr_LibraryLoader: Expected native library version number "53.0.2785.124", actual native library version number "53.0.2785.124"
V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {611ead6}
I/cr_LibraryLoader: Expected native library version number "53.0.2785.124", actual native library version number "53.0.2785.124"
I/chromium: [INFO:library_loader_hooks.cc(151)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
W/cr_media: Requires BLUETOOTH permission
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
I/cr_Ime: ImeThread is not enabled.
E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 13399
I/DynamiteModule: Considering local module com.google.android.gms.tagmanager:8 and remote module com.google.android.gms.tagmanager:9
I/DynamiteModule: Selected remote version of com.google.android.gms.tagmanager, version >= 9
W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
W/GoogleTagManager: No container asset found in /assets/containers. Checking top level /assets directory for container assets.
W/GoogleTagManager: Tag Manager's event handler WILL NOT be installed (no container loaded)
I/GoogleTagManager: Tag Manager initilization took 213ms
V/FA: Using measurement service
V/FA: Connecting to remote service
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 1
I/Ads: Scheduling ad refresh 45000 milliseconds from now.
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
I/cr_Ime: ImeThread is not enabled.
I/Ads: Ad finished loading.
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 13399
I/chromium: [INFO:CONSOLE(0)] "Document was loaded from Application Cache with manifest https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.appcache", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache Checking event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
I/chromium: [INFO:CONSOLE(0)] "Application Cache NoUpdate event", source: https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40-loader.html (0)
D/diffAnother: 1129000
D/DynamitePackage: Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
I/Ads: Starting ad request.
D/diffAnother: -6300000
W/cr_AwContents: onDetachedFromWindow called when already detached. Ignoring
I/cr_Ime: ImeThread is not enabled.
W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 13399
I/Ads: Scheduling ad refresh 45000 milliseconds from now.
I/Ads: Ad finished loading.
V/FA: Using measurement service
V/FA: Connecting to remote service
D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=29568, _sc=MainActivity, _si=-6311178554893906199}]
V/FA: Using measurement service
V/FA: Connection attempt already in progress
V/FA: Activity paused, time: 824808635
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 2
W/com.facebook.appevents.AppEventsLogger: activateApp events are being logged automatically. There's no need to call activateApp explicitly, this is safe to remove.
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
D/call1: called
D/call2: called
D/call1: called
D/call2: called
D/error1: ERROR1
D/error1: ERROR1
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
V/RenderScript: 0xb8457a88 Launching thread(s), CPUs 4
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
V/FA: Inactivity, disconnecting from the service
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
I/MaliEGL: [Mali]window_type=1, is_framebuffer=0, errnum = 0
I/MaliEGL: [Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
I/MaliEGL: [Mali]max_allowed_dequeued_buffers=3
I/Ads: Ad is not visible. Not refreshing ad.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
I/Ads: Ad is not visible. Not refreshing ad.
I/Ads: Scheduling ad refresh 60000 milliseconds from now.
Application terminated.
I tried integrating crashlytics but even it doesn't show any error when the app crashes in this manner.
The question is how will I be able to fix the error if I don't even know what the error is?
Please help me with this.
I think the issue is related to your ad view.
In last line it is showing that ad is not visible.
I'm new to android and am making an app which features many activities and a user prefs get edited during almost every one, and it seems that it randomly starts crashing 6 or 7 activities in, and opening up a different activity from a couple of pages ago, but only sometimes. I do everything exactly the same each time and I don't know what causes it to crash. Usually it will crash back to a different intent and let me continue from there. Here is the logcat after a crash:
10-31 13:01:52.122 2542-2542/? I/art: Not late-enabling -Xcheck:jni (already on)
10-31 13:01:52.253 2542-2542/? I/art: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1>
10-31 13:01:52.253 2542-2542/? I/art: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.hardware.fingerprint.FingerprintManagerCompatApi23$1>
10-31 13:01:52.360 2542-2542/? W/art: Before Android 4.1, method int android.support.v7.internal.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
10-31 13:01:52.516 2542-2558/? D/OpenGLRenderer: Render dirty regions requested: true
10-31 13:01:52.517 2542-2542/? D/: HostConnection::get() New Host Connection established 0xa66e01b0, tid 2542
10-31 13:01:52.522 2542-2542/? D/Atlas: Validating map...
10-31 13:01:52.569 2542-2558/? D/: HostConnection::get() New Host Connection established 0xa66e0260, tid 2558
10-31 13:01:52.578 2542-2558/? I/OpenGLRenderer: Initialized EGL, version 1.4
10-31 13:01:52.592 2542-2558/? D/OpenGLRenderer: Enabling debug mode 0
10-31 13:01:52.602 2542-2558/? W/EGL_emulation: eglSurfaceAttrib not implemented
10-31 13:01:52.602 2542-2558/? W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa66b4b20, error=EGL_SUCCESS