Argonne-National-Laboratory / MEGAndroid

Android App for MEG.
Other
1 stars 3 forks source link

General instability and crashing #26

Closed bbusenius closed 7 years ago

bbusenius commented 8 years ago

It looks like my fix for #5 destabilized the qrcode scanner. This is probably due to a dependency upgrade.

Symptoms:

  1. Completely uninstall and reinstall the app. The app should launch and function properly.
  2. Complete the installation screen.
  3. When the barcode scanner comes up, after installation, the app will crash.
  4. After the first crash, the app will continue to crash forever, every time it is launched. A complete uninstall is necessary.
bbusenius commented 8 years ago

This definitely looks related to the dependency upgrade from

compile 'com.android.support:appcompat-v7:24.0.0-alpha2'
compile 'com.android.support:design:23.4.0'

to

compile 'com.android.support:design:24.2.0'
compile 'com.android.support:appcompat-v7:24.2.0'
bbusenius commented 8 years ago

Also, I'm now unsure that this is related to the qrcode scanner. It might just be crashing in a general manner. So far I haven't been able to glean anything useful from the logs.

bbusenius commented 8 years ago

The upgrade to AppCompat 24.2.0 was a bigger deal than I anticipated. AppCompat depends on the support-v4 library which has been split into separate modules in version 24.2.0. I've been attempting to resolve this by following the steps outlined on this site.. So far I haven't been successful.

JoshuaLyle commented 7 years ago

Please check that this still happens in the latest version. The only problem I have encountered is that autofocus needs to be delayed so that it doesn't attempt to start before the camera starts. Otherwise, I have had no crashes since making this adjustment.

bbusenius commented 7 years ago

That seemed to clear it up!