Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App using ORMLite 5.1 crashes upon launch with Android Gradle Plugin 3.1.3 #101

Open
NCrouther opened this issue Jul 26, 2018 · 2 comments

Comments

@NCrouther
Copy link
Contributor

After upgrading AGP from 3.1.0 to 3.1.3, my app crashes on launch. The logcat shows the following error:

E/dex2oat: Verification failed on class com.j256.ormlite.db.BaseDatabaseType in /data/app/com.freestylelibre.app.de.debug-1/base.apk:classes16.dex because: Verifier rejected class com.j256.ormlite.db.BaseDatabaseType due to bad method boolean com.j256.ormlite.db.BaseDatabaseType.isSelectSequenceBeforeInsert()

@NCrouther
Copy link
Contributor Author

Additional info from log:

I/dex2oat: Verification error in boolean com.j256.ormlite.db.BaseDatabaseType.isSelectSequenceBeforeInsert()
boolean com.j256.ormlite.db.BaseDatabaseType.isSelectSequenceBeforeInsert() failed to verify: unexpected non-category 1 return type Precise Reference: java.lang.String(): [0x1]

E/dex2oat: Verification failed on class com.j256.ormlite.db.BaseDatabaseType in /data/app/com.freestylelibre.app.us.debug-2/base.apk:classes11.dex because: Verifier rejected class com.j256.ormlite.db.BaseDatabaseType due to bad method boolean com.j256.ormlite.db.BaseDatabaseType.isSelectSequenceBeforeInsert()

@NCrouther
Copy link
Contributor Author

I am only seeing this on a Samsung GS5 phone running Android 5.0. Emulators running 8.0 do not experience the crash.

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

No branches or pull requests

1 participant