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

No BuiltInsLoader implementation was found #637

Closed
ghost opened this issue Aug 29, 2018 · 6 comments
Closed

No BuiltInsLoader implementation was found #637

ghost opened this issue Aug 29, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 29, 2018

As I add all ProGuard rules, but still throwing

No BuiltInsLoader implementation was found. Please ensure that the META-INF/services/ is not stripped " "from your application and that the Java virtual machine is not running under a security manager"

https://github.com/JetBrains/kotlin/blob/master/core/descriptors/src/org/jetbrains/kotlin/builtins/BuiltInsLoader.kt

@NightlyNexus
Copy link
Contributor

How can I reproduce this?

@JakeWharton
Copy link
Member

Dupe of #402. See #402 (comment).

@ghost
Copy link
Author

ghost commented Sep 5, 2018

@JakeWharton Not working with -keep class kotlin.reflect.jvm.internal.impl.builtins.BuiltInsLoaderImpl

@JakeWharton
Copy link
Member

Please provide a sample that reproduces the problem

@kizitonwose
Copy link

@blackberry2016 I had this same issue.

Using config -keep class kotlin.reflect.jvm.internal.impl.builtins.BuiltInsLoaderImpl did not work.

Using config -keep public class kotlin.reflect.jvm.internal.impl.builtins.* { public *; } as suggested here throws a different error.

What worked was -keep public class kotlin.reflect.jvm.internal.impl.** { public *; }

This increases the apk size by about 60KB which is insignificant.

@taxqwe
Copy link

taxqwe commented Aug 13, 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

4 participants