crash

java.lang.BootstrapMethodError: Exception from call site #2 bootstrap method on CameraX (1.0.0-alpha06)

妖精的绣舞 提交于 2020-05-12 15:27:36
问题 I am trying to use CameraX API to fetch photo, but after I updated to new API version 1.0.0-alpha06 it started to crash on CameraX.bindToLifecycle(...) method. The log of error is: Process: com.aximetria.aximetria.debug, PID: 2629 java.lang.BootstrapMethodError: Exception from call site #2 bootstrap method at androidx.camera.core.Preview.updateListener(Preview.java:368) at androidx.camera.core.Preview.updateOutput(Preview.java:586) at androidx.camera.core.Preview.updateConfigAndOutput(Preview

How to generate windows memory dump when application crashes.?

橙三吉。 提交于 2020-04-18 09:56:04
问题 Is there an easy way of generating the memory dump for the crashed application? I have a situation in which the customer received the code which is generating the crash, as the code itself has no signal handlers for the backtrace generation on abort I was wondering if there is an easy way of telling windows to generate the memory dump of the crashing application. Ideal solution wouldn't involve the installation of the debug tools (or the code modification) but if this is not possible, it

How to generate windows memory dump when application crashes.?

只愿长相守 提交于 2020-04-18 09:55:49
问题 Is there an easy way of generating the memory dump for the crashed application? I have a situation in which the customer received the code which is generating the crash, as the code itself has no signal handlers for the backtrace generation on abort I was wondering if there is an easy way of telling windows to generate the memory dump of the crashing application. Ideal solution wouldn't involve the installation of the debug tools (or the code modification) but if this is not possible, it

E/SQLiteLog: (1) no such table: Cars on Android 9 Pie

混江龙づ霸主 提交于 2020-04-18 05:43:21
问题 Why does the coping of database not work for Android 9? My implementation is based on this example (video). Everything works fine on Android versions from 4.1 up to 10, but NOT on 9 Pie. Here what I did: fun importToApp(fileNameOnSD: String) { val sd = File(sdFolder) if (sd.canWrite()) { val currentDB = File(Environment.getDataDirectory(), dataTemp) val backupDB = File(sd, fileNameOnSD) if (currentDB.exists()) { try { val src = FileInputStream(backupDB).channel val dst = FileOutputStream

Xamarin App runs on debug but crashes on release

て烟熏妆下的殇ゞ 提交于 2020-04-13 06:55:12
问题 My Xamarin application works perfectly on debug mode but crashes on release mod. I get this error: "Unfortunately App has stopped". I connected my phone through USB and when I run the app in release mode I get this error. Unfortunately I can't debug the app in release mod because I get this message in the Output window: "Android application is running (debug is disabled in android project properties)", although the "Enable developer instrumentation" box is checked. I tried all linking

Android-小小设置永久解决程序因为未捕获异常而异常终止

 ̄綄美尐妖づ 提交于 2020-04-11 14:58:53
(一) 前言 各位亲爱的午饭童鞋,是不是经常因为自己的程序中出现未层捕获的异常导致程序异常终止而痛苦不已?嗯,是的。。 但是,大家不要怕,今天给大家分享一个东东可以解决大家这种困扰,吼吼! (二) UncaughtExceptionHandler接口 这个接口,顾名思义,就是处理程序中没有处理的异常,而且是在系统抛出异常导致程序异常终止之前哦!那么,在Android里面怎么使用呢? (三) 怎么使用UncaughtExceptionHandler 1. 首先,咱们得创建一个UncaughtExceptionHandler的具体类,比如: public class CrashHandler implements UncaughtExceptionHandler { private static CrashHandler instance; //单例引用,这里我们做成单例的,因为我们一个应用程序里面只需要一个UncaughtExceptionHandler实例 private CrashHandler(){} public synchronized static CrashHandler getInstance(){ //同步方法,以免单例多线程环境下出现异常 if (instance == null){ instance = new CrashHandler(); } return

iOS App Crashing Instantly After Opening It

坚强是说给别人听的谎言 提交于 2020-04-10 18:10:50
问题 I am testing my iOS app on my phone and when I try opening it, it instantly exits. App builds and works in simulator. Does anyone know what could be the cause? I verified and checked that my provisioning profile + certificates are all valid and they are. Nothing has expired. I believe the error may be coming from this step from the console logs: error 13:45:10.855026 -0400 symptomsd Can't get most elevated app state from dictionary { BKSApplicationStateExtensionKey = 0;

__CRASHING_DUE_TO_PRIVACY_VIOLATION__

喜你入骨 提交于 2020-04-09 05:33:26
问题 In Crashlytics, I can see iOS 10 users are getting this crash frequently. However, when I test in Simulator using iPhone 7/10.2, I'm unable to reproduce the crash. In my plist, I already have strings for NSCalendarsUsageDescription, NSMicrophoneUsageDescription, and NSPhotoLibraryUsageDescription. Here is the stacktrace from Crashlytics: Crashed: com.apple.root.default-qos 0 libsystem_kernel.dylib 0x183765d74 __abort_with_payload + 8 1 libsystem_kernel.dylib 0x18376249c <redacted> + 100 2

Swift Crash libobjc.A.dylib objc_msgSend

佐手、 提交于 2020-03-18 05:51:04
问题 I use crashlytics to get the crashes of my app that is in the AppStore. Some users are getting a crash that I cannot seem to repro on my machine (neither the few friends that tested my app through TestFlight). This is the logs from Fabric: Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x181d09bdc objc_msgSend + 28 1 Foundation 0x18304be20 __NSThreadPerformPerform + 340 2 CoreFoundation 0x182640efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 3 CoreFoundation

Swift Crash libobjc.A.dylib objc_msgSend

感情迁移 提交于 2020-03-18 05:49:59
问题 I use crashlytics to get the crashes of my app that is in the AppStore. Some users are getting a crash that I cannot seem to repro on my machine (neither the few friends that tested my app through TestFlight). This is the logs from Fabric: Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x181d09bdc objc_msgSend + 28 1 Foundation 0x18304be20 __NSThreadPerformPerform + 340 2 CoreFoundation 0x182640efc __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24 3 CoreFoundation