luckyjmcc

Results 10 issues of luckyjmcc

what can cause cache is closed?

首先致敬神作! 现在的缓存应该是有问题的,掘金的服务器是禁止缓存的,无法达到缓存目的。问题在HttpModule: ``` @Singleton @Provides OkHttpClient provideClient(OkHttpClient.Builder builder) { ..... Interceptor cacheInterceptor = new Interceptor() { @Override public Response intercept(Chain chain) throws IOException { Request request = chain.request(); if (!SystemUtil.isNetworkConnected())...

想请教一下,如果同个activity或fragment有多个presenter,这种情况要怎么封装代码?

请问你这个项目的单元测试怎写啊,一直空指针异常: ``` public class MainPresenterTest { @Rule public MockitoRule mockitoRule = MockitoJUnit.rule(); @Mock private ZhihuApis mZhihuApiService; @Mock private GankApis mGankApiService; @Mock private WeChatApis mWechatApiService; @Mock private MyApis mMyApiService; @Mock private...

乐视tv上面解压的时候出现:msg_ret_command, Command line error 。请问这是什么原因

[BT:0.9.0] Error: Cannot run program "jarsigner.exe": CreateProcess error=2, 系统找不到指定的文件。 java.io.IOException: Cannot run program "jarsigner.exe": CreateProcess error=2, 系统找不到指定的文件。 at java.lang.ProcessBuilder.start(Unknown Source) at com.bytedance.android.aabresguard.android.OpenJDKJarSigner.start(OpenJDKJarSigner.java:87) at com.bytedance.android.aabresguard.android.OpenJDKJarSigner.sign(OpenJDKJarSigner.java:66) at com.bytedance.android.aabresguard.android.JarSigner.sign(JarSigner.java:17) at com.bytedance.android.aabresguard.bundle.AppBundleSigner.execute(AppBundleSigner.java:43) at com.bytedance.android.aabresguard.commands.ObfuscateBundleCommand.execute(ObfuscateBundleCommand.java:243)...

when i do: mSimpleSectionedGridAdapter.notifyDataSetChanged(); it doesn't work, till i touch the view.so could you help me to find out why it performs that? i found : setSections(Section... sections) -->Only the...

自己编译的jar: gradlew :AndResGuard-cli:buildJar 执行命令的时候报错了 Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:330) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:263) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:275) at java.util.jar.JarVerifier.update(JarVerifier.java:230) at java.util.jar.JarFile.initializeVerifier(JarFile.java:383) at java.util.jar.JarFile.getInputStream(JarFile.java:450) at...

Hello ,may i ask you a question? i import your code ,but cannot run. it says "java.lang.RuntimeException: Unable to create application com.github.pedrovgs.tuentitv.TuentiTvApplication: java.lang.IllegalStateException: Module adapter for class com.github.pedrovgs.tuentitv.di.RootModule could not...

question