添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
骑白马的梨子  ·  android 混淆 ...·  5 月前    · 
想出国的小虾米  ·  How to configure ...·  5 月前    · 
开心的地瓜  ·  minifyEnabled true 일때 ...·  5 月前    · 
腼腆的眼镜  ·  Issues in release ...·  5 月前    · 
风度翩翩的丝瓜  ·  约定式路由·  1 年前    · 
含蓄的充值卡  ·  org.openqa.selenium.We ...·  1 年前    · 
乐观的蚂蚁  ·  predict-stock-prices ...·  1 年前    · 

I’m using the Nextcloud Android library to add Nextcloud support to an android app using Android Studio. I’m having trouble configuring Proguard. When I run with minifyEnabled false all is fine, but with minifyEnabled true I get lots of Proguard related warnings and error. For example:

com.owncloud.android.lib.common.ExternalLink$$Parcelable: can’t find superclass or interface org.parceler.ParcelWrapper

library class org.apache.commons.codec.binary.BinaryCodec extends or implements program class org.apache.commons.codec.BinaryDecoder

org.apache.jackrabbit.webdav.server.AbstractWebdavServlet: can’t find referenced method ‘int getContentLength()’ in program class org.apache.jackrabbit.webdav.WebdavRequest

I can run with disabling the warings , for example
-dontwarn com.owncloud.android.lib.**
But then the app crashes as soon as a client completes.

I have tried copying the Proguard.cfg settings from the Nextcloud client app on Github, but that does not make a difference.

Any idea how to configure Proguard to make this work?

Thanks in advance,

best to ask this question in the issue tracker.

Thank you, as I’m new to this forum: would you have a link to that issue tracker?

Gerrit Beuze

gerritbeuze:

Thank you, as I’m new to this forum: would you have a link to that issue tracker?

Hi, sure thing: Issues · nextcloud/android · GitHub