NoHttp icon indicating copy to clipboard operation
NoHttp copied to clipboard

:lemon: Android实现Http标准协议框架,支持多种缓存模式,底层可动态切换OkHttp、URLConnection。

Results 76 NoHttp issues
Sort by recently updated
recently updated
newest added

java.lang.IllegalArgumentException: View=com.android.internal.policy.impl.PhoneWindow$DecorView{42a18e98 V.E..... R......D 0,0-192,192} not attached to window manager at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:371) at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:300) at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:84) at android.app.Dialog.dismissDialog(Dialog.java:329) at android.app.Dialog.dismiss(Dialog.java:312) at com.cyw.credit.net.a.onFinish(Unknown Source) at com.yanzhenjie.nohttp.rest.Messenger$1.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95)...

批量上传并获取所有上传文件的地址,是否需要服务端支持?

#2992 android.database.sqlite.SQLiteDatabaseLockedException database is locked (code 5): , while compiling: PRAGMA journal_mode com.yanzhenjie.nohttp.db.BaseDao.getWriter(BaseDao.java:60) java.lang.RuntimeException:Unable to create application com.stub.StubApp: android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode --...

question

这是一个android项目吗? 请问有对应的 web项目提供一下吗??

java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference at com.yanzhenjie.nohttp.tools.BasicMultiValueMap.add(BasicMultiValueMap.java:41) at com.yanzhenjie.nohttp.tools.BasicMultiValueMap.add(BasicMultiValueMap.java:48) at com.yanzhenjie.nohttp.tools.BasicMultiValueMap.set(BasicMultiValueMap.java:61) at com.yanzhenjie.nohttp.Headers.setAll(Headers.java:229) at com.yanzhenjie.nohttp.rest.RestProtocol.analysisCacheAndProtocol(RestProtocol.java:231) at com.yanzhenjie.nohttp.rest.RestProtocol.request(RestProtocol.java:60) at com.yanzhenjie.nohttp.rest.SyncRequestExecutor.execute(SyncRequestExecutor.java:41) at com.yanzhenjie.nohttp.rest.RequestDispatcher.run(RequestDispatcher.java:96)

bug

假设我有10张图,怎么依次上传,这10张图片的。第一张成功之后再依次上传下一张,以此类推

当请求数量超过线程池指定大小时, 只会执行线程池内的请求,池外的不会执行

设置缓存模式为CacheMode.NONE_CACHE_REQUEST_NETWORK,设置缓存有效时间,超出时间后清除缓存重新请求网络

plan

android.database.sqlite.SQLiteException: not an error (code 0) at android.database.sqlite.SQLiteConnection.nativeRegisterLocalizedCollators(SQLiteConnection.java) at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:374) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:231) at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:206) at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185) at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177) at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:836) at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:821) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:714) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:234) at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)...