Proguard vs Annotations

前端 未结 5 579
忘了有多久
忘了有多久 2020-12-30 00:08

I have an app that uses ActiveAndroid, a database ORM library, that relies on annotations.

@Table(name=\"test\")
public class DatabaseItem extends ActiveReco         


        
5条回答
  •  旧时难觅i
    2020-12-30 00:37

    Column and Table aren't existing java class file attributes. You'll at least have to specify

    -keepattributes *Annotation*
    

    Cfr. the ProGuard manual.

提交回复
热议问题