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

Could not find methods #48

Closed
kceb opened this issue Sep 24, 2019 · 1 comment
Closed

Could not find methods #48

kceb opened this issue Sep 24, 2019 · 1 comment

Comments

@kceb
Copy link

kceb commented Sep 24, 2019

Running into an issue where a bunch of methods could not be found.

I/dalvikvm( 5146): Could not find method com.facebook.soloader.SysUtil.getSupportedAbis, referenced from method com.facebook.soloader.SoLoader.areSoSourcesAbisSupported
W/dalvikvm( 5146): VFY: unable to resolve static method 1236: Lcom/facebook/soloader/SysUtil;.getSupportedAbis ()[Ljava/lang/String;
D/dalvikvm( 5146): VFY: replacing opcode 0x71 at 0x0019
W/dalvikvm( 5146): VFY: unable to find class referenced in signature ([Lcom/facebook/soloader/SoSource;)
I/dalvikvm( 5146): Could not find method com.facebook.soloader.Api18TraceUtils.beginTraceSection, referenced from method com.facebook.soloader.SoLoader.doLoadLibraryBySoName
W/dalvikvm( 5146): VFY: unable to resolve static method 1185: Lcom/facebook/soloader/Api18TraceUtils;.beginTraceSection (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
D/dalvikvm( 5146): VFY: replacing opcode 0x71 at 0x0037
W/dalvikvm( 5146): VFY: array-length on non-array
W/dalvikvm( 5146): VFY:  rejecting opcode 0x21 at 0x004e
W/dalvikvm( 5146): VFY:  rejected Lcom/facebook/soloader/SoLoader;.doLoadLibraryBySoName (Ljava/lang/String;ILandroid/os/StrictMode$ThreadPolicy;)V
W/dalvikvm( 5146): Verifier rejected class Lcom/facebook/soloader/SoLoader;
D/AndroidRuntime( 5146): Shutting down VM

I even added implementation 'com.facebook.soloader:soloader:0.8.0' to my dependencies. I played around with all the release versions, but still no dice

@kceb
Copy link
Author

kceb commented Sep 24, 2019

Resolved this issue. Turns out it happened when I enabled multidex on a device w/Android sdk version 17.

Hard to track down the issue, but followed steps here to resolve: https://developer.android.com/studio/build/multidex#java

@kceb kceb closed this as completed Sep 24, 2019
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