Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

should -keep subclasses of android.content.ContentProvider #10

Closed
timbertson opened this issue Jun 3, 2010 · 2 comments
Closed

should -keep subclasses of android.content.ContentProvider #10

timbertson opened this issue Jun 3, 2010 · 2 comments

Comments

@timbertson
Copy link

Proguard is stripping my ContentProvider implementor from the generated jar / apk. It looks like adding the following should work, but it doesn't seem to help:

"-keep public class * extents android.content.ContentProvider" ::

(in AndroidProject.scala, alongside all the other -keep flags)

@lolsborn
Copy link

lolsborn commented Jun 3, 2010

@timbertson
Copy link
Author

I'm afraid this still doesn't seem to work. I did a publish-local, and changed my Plugins.scala line to:

val android = "org.scala-tools.sbt" % "sbt-android-plugin" % "0.4.2"

but after an sbt update and a rebuild, it still strips out the ContentProvider

This issue was closed.
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

2 participants