- Update SDK Location in local.properties
- To Recreate the crash:
- Run the 'App' project
- You will see a Activity with 'Start SDK activity' Button. Once you click the button, you will be taken the SDK activity (similar to challenge screen).
- Put the App in background, with home key.
- Once the App is in background, Open logcat in Android Studio and press the Stop key in logcat panel (Red Square button).
- Re-open the app from Multitasking pane.
- Press 'Return to App' button || CRASH happens here.
There are code comments throughout the project explaining various issues that prevent the SDK to return control back to the App after Android System kills the App while its in background.