我在doppl SOAndroid app时遇到错误。我已成功通过PartyClickerSample。
const fileIds = _.get(result, 'files', []);
console.log(fileIds);
db.collection('files').find({_id: {$in: fileIds}}).toArray((err, files) =>
{
// some statements....
}
为什么SOInterface在配置中不可见?
iosApp[40373:656090] *** Terminating app due to uncaught exception 'JavaLangIllegalArgumentException', reason: 'java.lang.IllegalArgumentException: interface co.doppl.so.api.SOInterface is not visible from class loader'
*** First throw call stack:
(
0 CoreFoundation 0x000000010ef0c12b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010b51ff41 objc_exception_throw + 48
2 doppllib 0x0000000108b2d0a6 JavaLangReflectProxy_getProxyClass0WithJavaLangClassLoader_withIOSClassArray_ + 1791
3 doppllib 0x0000000108b2d233 JavaLangReflectProxy_newProxyInstanceWithJavaLangClassLoader_withIOSClassArray_withJavaLangReflectInvocationHandler_ + 45
4 doppllib 0x0000000108aab120 -[Retrofit2Retrofit createWithIOSClass:] + 240
5 doppllib 0x0000000108ac39c5 SOARepository_init + 389
6 doppllib 0x0000000108ac4134 new_SOARepository_init + 52
7 doppllib 0x0000000108ac3bb0 +[SOARepository initialize] + 64
同样使用iosTest,测试通过但得到一些BoringSsl语句:
...
include 'co/doppl/so/api/**'
...
translatedPathPrefix 'co.doppl.so.api', 'SOAPI'
答案 0 :(得分:1)
我保持搜索并找到答案:
https://github.com/doppllib/SOAndroid/issues/1
“需要在主应用包中添加'prefixes.properties'”。 与testIOS app一样。