2019-05-30 14:37:58.684 24598-24598/com.tokr.com E/BNVHelper: Unable to get shift mode field
java.lang.NoSuchFieldException: No field mShiftingMode in class Landroid/support/design/internal/BottomNavigationMenuView; (declaration of 'android.support.design.internal.BottomNavigationMenuView' appears in /data/app/com.tokr.com-d7oEdvg1K1YZW81hAgZt5w==/base.apk!classes3.dex)
at java.lang.Class.getDeclaredField(Native Method)
at com.tokr.com.util.BottomNavigationViewHelper.disableShiftMode(BottomNavigationViewHelper.kt:12)
at com.tokr.com.ui.base.BaseActivity.handleBottomNav(BaseActivity.kt:272)
at com.tokr.com.ui.base.BaseActivity.onCreate(BaseActivity.kt:168)
at com.tokr.com.ui.base.BaseLocationActivity.onCreate(BaseLocationActivity.java:32)
at com.tokr.com.ui.home.HomeActivity.onCreate(HomeActivity.java:146)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3063)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Related
What I tried to run :
KeysetHandle keyHandler = KeysetHandle.generateNew(KeyTemplates.get("AES128_GCM"));
Error I got :
java.security.GeneralSecurityException: cannot find key template: AES128_GCM
at com.google.crypto.tink.KeyTemplates.get(KeyTemplates.java:37)
at com.example.AppName.password_pin.onCreate(password_pin.java:59)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Am I missing something? Did I skip some step accidentally?
The registration is missing, e.g.:
AeadConfig.register();
see also the Tink documentation (current Version v1.6.1).
Hi i am trying to make an app which shows the location of a place and everytime i run my app on the android emulator and every-time time i run it keeps on crashing and it is displaying this message in the log cat down below. I am running android studio version 3.4.2. I would appreciate it if someone could help me with this problem.
The libary i loaded in was : implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:8.0.0'
2020-03-27 16:22:33.335 12756-12756/com.example.mappingexample E/SoLoader: couldn't find DSO to load: libmapbox-gl.so caused by: dlopen failed: "/data/data/com.example.mappingexample/lib-main/libmapbox-gl.so" has unexpected e_machine: 40 (EM_ARM)
2020-03-27 16:22:33.340 12756-12756/com.example.mappingexample E/Mbgl-LibraryLoader: Failed to load native shared library.
com.facebook.soloader.SoLoader$WrongAbiError: APK was built for a different platform
at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:645)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525)
at com.mapbox.mapboxsdk.module.loader.LibraryLoaderProviderImpl$SoLibraryLoader.load(LibraryLoaderProviderImpl.java:42)
at com.mapbox.mapboxsdk.LibraryLoader.load(LibraryLoader.java:43)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<clinit>(NativeConnectivityListener.java:13)
at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
at com.example.mappingexample.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libmapbox-gl.so caused by: dlopen failed: "/data/data/com.example.mappingexample/lib-main/libmapbox-gl.so" has unexpected e_machine: 40 (EM_ARM)
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:789)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:639)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525)
at com.mapbox.mapboxsdk.module.loader.LibraryLoaderProviderImpl$SoLibraryLoader.load(LibraryLoaderProviderImpl.java:42)
at com.mapbox.mapboxsdk.LibraryLoader.load(LibraryLoader.java:43)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<clinit>(NativeConnectivityListener.java:13)
at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
at com.example.mappingexample.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-03-27 16:22:33.344 12756-12756/com.example.mappingexample E/.mappingexampl: No implementation found for void com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize() (tried Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize and Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize__)
2020-03-27 16:22:33.344 12756-12756/com.example.mappingexample D/AndroidRuntime: Shutting down VM
2020-03-27 16:22:33.345 12756-12756/com.example.mappingexample E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.mappingexample, PID: 12756
java.lang.UnsatisfiedLinkError: No implementation found for void com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize() (tried Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize and Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize__)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize(Native Method)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<init>(NativeConnectivityListener.java:27)
at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
at com.example.mappingexample.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2020-03-27 16:22:33.360 12756-12756/com.example.mappingexample I/Process: Sending signal. PID: 12756 SIG: 9
You can resolve this issue by following these steps:
1. Go to Gradle (Module: App)
2. Add this code on android {}
android {
packagingOptions {
pickFirst '**/armeabi-v7a/libmapbox-gl.so'
pickFirst '**/x86/libmapbox-gl.so'
pickFirst '**/arm64-v8a/libmapbox-gl.so'
pickFirst '**/x86_64/libmapbox-gl.so'
pickFirst '**/x86/libmapbox-gl.so'
}
}
Unsupported Font Family restricted policy in Android Studio
in my play console of pre-lauch report showing this warning. i don't why this is happening. Some api blacklisted by Android in Pie and Q. so this api is not private it is public then why issue is producing here anyone who have idea what's happend acutly
Thanks in advance!
StrictMode policy violation: android.os.strictmode.NonSdkApiUsedViolation: Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V
at android.os.StrictMode.lambda$static$1(StrictMode.java:428)
at android.os.-$$Lambda$StrictMode$lu9ekkHJ2HMz0jd3F8K8MnhenxQ.accept(Unknown Source:2)
at java.lang.Class.getDeclaredMethodInternal(Native Method)
at java.lang.Class.getPublicMethodRecursive(Class.java:2075)
at java.lang.Class.getMethod(Class.java:2063)
at java.lang.Class.getMethod(Class.java:1690)
at androidx.appcompat.widget.a1.b(Unknown Source:19)
at androidx.appcompat.app.h.z(Unknown Source:271)
at androidx.appcompat.app.h.A(Unknown Source:4)
at androidx.appcompat.app.h.c(Unknown Source:0)
at androidx.appcompat.app.e.setContentView(Unknown Source:4)
at sjtechnologies.muslimapp.MainActivity.onCreate(Unknown Source:6)
at android.app.Activity.performCreate(Activity.java:7144)
at android.app.Activity.performCreate(Activity.java:7135)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
at androidx.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:184)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3086)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6718)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
I've noticed that every time I use Ringtone.play/stop on android 29 it prints this stacktrace as level INFO:
2019-07-30 19:28:05.657 14498-14498/com.tinycorp.rise I/Ringtone: stop java.lang.Throwable
at android.media.Ringtone.stop(Ringtone.java:458)
at android.media.RingtoneManager.getRingtone(RingtoneManager.java:515)
at com.tinycorp.rise.ringtone.AndroidRingtones.init(AndroidRingtones.kt:27)
at com.tinycorp.rise.di.module.RingtoneModule.providesAndroidRingtones(RingtoneModule.java:36)
at com.tinycorp.rise.di.module.RingtoneModule_ProvidesAndroidRingtonesFactory.proxyProvidesAndroidRingtones(RingtoneModule_ProvidesAndroidRingtonesFactory.java:52)
at com.tinycorp.rise.di.module.RingtoneModule_ProvidesAndroidRingtonesFactory.provideInstance(RingtoneModule_ProvidesAndroidRingtonesFactory.java:37)
at com.tinycorp.rise.di.module.RingtoneModule_ProvidesAndroidRingtonesFactory.get(RingtoneModule_ProvidesAndroidRingtonesFactory.java:30)
at com.tinycorp.rise.di.module.RingtoneModule_ProvidesAndroidRingtonesFactory.get(RingtoneModule_ProvidesAndroidRingtonesFactory.java:11)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.tinycorp.rise.di.module.FragmentModule_ProvidesViewModelFactoryFactory.provideInstance(FragmentModule_ProvidesViewModelFactoryFactory.java:113)
at com.tinycorp.rise.di.module.FragmentModule_ProvidesViewModelFactoryFactory.get(FragmentModule_ProvidesViewModelFactoryFactory.java:75)
at com.tinycorp.rise.di.module.FragmentModule_ProvidesViewModelFactoryFactory.get(FragmentModule_ProvidesViewModelFactoryFactory.java:20)
at dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
at com.tinycorp.rise.di.component.DaggerAppComponent$FragmentComponentImpl.injectHomeFragment(DaggerAppComponent.java:380)
at com.tinycorp.rise.di.component.DaggerAppComponent$FragmentComponentImpl.inject(DaggerAppComponent.java:357)
at com.tinycorp.rise.ui.home.HomeFragment.onCreate(HomeFragment.java:64)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:2414)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:844)
at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1196)
at androidx.fragment.app.FragmentTransition.calculateFragments(FragmentTransition.java:1079)
at androidx.fragment.app.FragmentTransition.startTransitions(FragmentTransition.java:118)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1844)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1802)
at androidx.fragment.app.FragmentManagerImpl.execSingleAction(FragmentManagerImpl.java:1679)
at androidx.fragment.app.BackStackRecord.commitNow(BackStackRecord.java:530)
at com.tinycorp.rise.ui.home.HomeActivity.onCreate(HomeActivity.java:28)
at android.app.Activity.performCreate(Activity.java:7149)
at android.app.Activity.performCreate(Activity.java:7140)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1288)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3017)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3172)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1906)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6863)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
If I run the same code on android 25, then none of the stacktraces appear...
Could this be an Android bug or am I doing something wrong on my end?
I'm getting error as following, it was working fine before:
2019-01-04 22:17:32.516 12750-12750/? I/InstantRun: starting instant run server: is main process
2019-01-04 22:17:32.584 12750-12750/? W/PackageManager: Failure retrieving text 0x7f0e001e in package com.kushal.boulders
android.content.res.Resources$NotFoundException: String resource ID #0x7f0e001e
at android.content.res.Resources.getText(Resources.java:348)
at android.app.ApplicationPackageManager.getText(ApplicationPackageManager.java:1709)
at android.content.pm.ComponentInfo.loadUnsafeLabel(ComponentInfo.java:135)
at android.content.pm.PackageItemInfo.loadLabel(PackageItemInfo.java:199)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2874)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3063)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-01-04 22:17:32.608 12750-12750/? D/AndroidRuntime: Shutting down VM
--------- beginning of crash
2019-01-04 22:17:32.611 12750-12750/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.kushal.boulders, PID: 12750
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kushal.boulders/com.kushal.boulders.activities.SplashActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f080058
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2928)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3063)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f080058
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:216)
at android.content.res.Resources.getValue(Resources.java:1331)
at android.support.v7.widget.AppCompatDrawableManager.createDrawableIfNeeded(AppCompatDrawableManager.java:232)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:195)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186)
at android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:753)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:191)
at android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:85)
at android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:128)
at android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:149)
at android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:56)
at android.support.v7.app.AppCompatDelegateImplV23.<init>(AppCompatDelegateImplV23.java:31)
at android.support.v7.app.AppCompatDelegateImplN.<init>(AppCompatDelegateImplN.java:31)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:198)
at android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:183)
at android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:519)
at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:70)
at com.kushal.boulders.activities.AuthenticatedActivity.onCreate(AuthenticatedActivity.java:20)
at com.kushal.boulders.activities.SplashActivity.onCreate(SplashActivity.java:35)
at android.app.Activity.performCreate(Activity.java:7136)
at android.app.Activity.performCreate(Activity.java:7127)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2908)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3063)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1823)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:198)
at android.app.ActivityThread.main(ActivityThread.java:6729)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
2019-01-04 22:17:32.616 1589-1646/? W/ActivityManager: Force finishing activity com.kushal.boulders/.activities.SplashActivity
2019-01-04 22:17:32.617 1589-1646/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
**2019-01-04 22:17:32.619 1589-1646/? W/PackageManager: Failure retrieving text 0x7f0e001e in package com.kushal.boulders**
android.content.res.Resources$NotFoundException: String resource ID #0x7f0e001e
at android.content.res.Resources.getText(Resources.java:348)
at android.app.ApplicationPackageManager.getText(ApplicationPackageManager.java:1709)
at android.content.pm.PackageItemInfo.loadUnsafeLabel(PackageItemInfo.java:223)
at android.content.pm.PackageItemInfo.loadSafeLabel(PackageItemInfo.java:242)
at android.content.pm.PackageItemInfo.loadLabel(PackageItemInfo.java:197)
at android.app.ApplicationPackageManager.getApplicationLabel(ApplicationPackageManager.java:1763)
at com.android.server.am.ActivityManagerService.updateUsageStats(ActivityManagerService.java:5012)
at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1506)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3875)
at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3817)
at com.android.server.am.ActivityStack.finishTopCrashedActivityLocked(ActivityStack.java:3700)
at com.android.server.am.ActivityStackSupervisor.finishTopCrashedActivitiesLocked(ActivityStackSupervisor.java:2294)
at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:747)
at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:579)
at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:447)
at com.android.server.am.AppErrors.crashApplication(AppErrors.java:392)
at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:16212)
at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:16178)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:116)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3517)
at android.os.Binder.execTransact(Binder.java:731)
2019-01-04 22:17:32.619 1010-1155/? W/statsd: not interested in atom 130601
I found the Resolution:
I disabled Instant Run from
Settings → Build, Execution, Deployment → Instant Run and uncheck Enable Instant Run (Just uncheck the box)