Walter Adriano da Silva Member Licensed User Longtime User Aug 24, 2015 #1 I start my app and "Unfortunately has stopped" dialog is shown but the error stack does not displayed in the logs. Are there a way to know the one? Thanks
I start my app and "Unfortunately has stopped" dialog is shown but the error stack does not displayed in the logs. Are there a way to know the one? Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 24, 2015 #2 Are you running your app in debug mode? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2015 #4 Rapid debug? Are you able to see the logs at all? Upvote 0
Walter Adriano da Silva Member Licensed User Longtime User Aug 25, 2015 #5 I'm trying run in rapid, legacy, or release, the app always show the dialog. Note: Usually when try run in Rapid Debug without establish a connection through the bridge, a looping progress bar is shown until connect, but it is shown the "Unfortunately has stopped" dialog anyway. Note 2: I changed http approach to okhttp, I don't know if it this is important. Upvote 0
I'm trying run in rapid, legacy, or release, the app always show the dialog. Note: Usually when try run in Rapid Debug without establish a connection through the bridge, a looping progress bar is shown until connect, but it is shown the "Unfortunately has stopped" dialog anyway. Note 2: I changed http approach to okhttp, I don't know if it this is important.
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2015 #6 You should be able to read the logs. The error message will appear there. Upvote 0
Walter Adriano da Silva Member Licensed User Longtime User Aug 25, 2015 #7 the error message doesn't appear Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2015 #8 Are you able to see the logs at all? Upvote 0
Walter Adriano da Silva Member Licensed User Longtime User Aug 25, 2015 #9 Yes. When line log "PackageAdded" is shown and next line should be "Activity(main) Create, isFirst = true", the app crash and nothing more is shown. Upvote 0
Yes. When line log "PackageAdded" is shown and next line should be "Activity(main) Create, isFirst = true", the app crash and nothing more is shown.
Walter Adriano da Silva Member Licensed User Longtime User Aug 26, 2015 #10 I decided use a older version from a backup, and I'm using sdk 23. Next I got this issue, then, I got the error from can't parse Apache, and I tried this, but when I set OkHttp, the app show me "Unfortunately has stopped" dialog again. I already have problems with OkHttp. Now I'll try another approach (downgrade sdk version, support libs and all from sdk manager), but a would like know which is the error here, in the future I'll need this. Upvote 0
I decided use a older version from a backup, and I'm using sdk 23. Next I got this issue, then, I got the error from can't parse Apache, and I tried this, but when I set OkHttp, the app show me "Unfortunately has stopped" dialog again. I already have problems with OkHttp. Now I'll try another approach (downgrade sdk version, support libs and all from sdk manager), but a would like know which is the error here, in the future I'll need this.
Walter Adriano da Silva Member Licensed User Longtime User Aug 26, 2015 #11 The attached project got the same situation that my main project. Attachments AppCompat.zip AppCompat.zip 106.8 KB · Views: 319 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2015 #12 There are several libraries missing here. I recommend you to switch to USB debug mode. It seems to me that the logs are not being sent properly through B4A-Bridge. Upvote 0
There are several libraries missing here. I recommend you to switch to USB debug mode. It seems to me that the logs are not being sent properly through B4A-Bridge.
Walter Adriano da Silva Member Licensed User Longtime User Aug 27, 2015 #13 I found error through 'adb logcat'. When I try run the app, it's throwing this: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } Click to expand... Upvote 0
I found error through 'adb logcat'. When I try run the app, it's throwing this: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2015 #14 Make sure to follow the tutorial: https://www.b4x.com/android/forum/t...le-with-older-android-versions.48423/#content Upvote 0
Make sure to follow the tutorial: https://www.b4x.com/android/forum/t...le-with-older-android-versions.48423/#content
Walter Adriano da Silva Member Licensed User Longtime User Aug 27, 2015 #15 Already followed this tutorial and the app already used AppCompat, but since updated the "Android Support Library" it does not work anymore Upvote 0
Already followed this tutorial and the app already used AppCompat, but since updated the "Android Support Library" it does not work anymore
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2015 #16 It is better to make a post with all the information in that thread. Upvote 0
Walter Adriano da Silva Member Licensed User Longtime User Aug 27, 2015 #17 The error started after I upgraded the Android Support Library to version 23, consequently I'm using the API 23 too. I got a "Unfortunately has stopped" dialog when the app is started. In debug mode, the app crash before of show me the exception message. I got it the exception message using "adb logcat" by prompt: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } Click to expand... About AppCompat, the app already used AppCompat and worked perfectly. Upvote 0
The error started after I upgraded the Android Support Library to version 23, consequently I'm using the API 23 too. I got a "Unfortunately has stopped" dialog when the app is started. In debug mode, the app crash before of show me the exception message. I got it the exception message using "adb logcat" by prompt: java.lang.IllegalArgumentException: AppCompat does not support the current theme features: { windowActionBar: false, windowActionBarOverlay: false, android:windowIsFloating: false, windowActionModeOverlay: false, windowNoTitle: false } Click to expand... About AppCompat, the app already used AppCompat and worked perfectly.
Erel B4X founder Staff member Licensed User Longtime User Aug 27, 2015 #18 Sorry I meant that you should make this post in the AppCompat tutorial thread. Upvote 0
Walter Adriano da Silva Member Licensed User Longtime User Aug 27, 2015 #19 Ok [EDITED] If that is your problem too, look this post Last edited: Aug 28, 2015 Upvote 0