警告:io.jsonwebtoken.impl.crypto.EllipticCurveProvider:找不到引用的类org.bouncycastle.jce.ECNamedCurveTable

时间:2017-07-01 21:41:22

标签: android android-studio proguard

我无法使用json web token和proguard

生成我签名的apk
Gradle tasks [:app:assembleRelease]
io.jsonwebtoken.impl.crypto.EllipticCurveProvider: can't find referenced class org.bouncycastle.jce.ECNamedCurveTable there were 2 unresolved references to classes or interfaces.
Exception while processing task javaio.10Exception: Please correct the above warnings first.
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details
BUILD FAILED
Total time: 9.255 secs
1 error
3 warnings
See complete output in console

enter image description here

1 个答案:

答案 0 :(得分:0)

this issue,将以下规则添加到您的query_1 = Example.query(ndb.AND(Example.field1='B' AND Example.field2='A'), projection=[Example.userid], distinct=True)) query_2 = Example.query(ndb.AND(Example.field1='D' AND Example.field2='C'), projection=[Example.userid], distinct=True)) users_1 = set([example.userid for example in query_1.fetch()]) users_2 = set([example.userid for example in query_2.fetch()]) users_list = list(users_1 & users_2) 文件中:

plt.show()