Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Android 9 PIE startup crash #277

Open
marekhalmo opened this issue Nov 27, 2018 · 0 comments
Open

Android 9 PIE startup crash #277

marekhalmo opened this issue Nov 27, 2018 · 0 comments

Comments

@marekhalmo
Copy link

marekhalmo commented Nov 27, 2018

On Android 9 and some distributions of 8.1 you get a NoClassDefinition exception at start for some HTTP class.

This happens when uservoice sdk is trying to access some remote resource. The HTTP class was removed from the google JDK implementation (as it is probably deprecated)

TEMPORARY FIX
The fix is to add

<application>
....
      <uses-library android:name="org.apache.http.legacy" android:required="false" />
....
</application>

to your manifest files (i added them to the sdk as well as to the app (i'm not sure which one fixes the issue, but it works this way).

Please check this and remove the dependency to HTTP class. It crashes on any Android 9 AVD so you can easily reproduce this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant