使用Retrofit 1.6.0我在更新到Android 4.4.2的设备(非模拟器)上出现以下错误
当前配置
compile('com.squareup.okhttp:okhttp-urlconnection:1.6.0')
compile('com.squareup.okhttp:okhttp:1.6.0')
compile('com.squareup.retrofit:retrofit:1.6.0')
错误记录
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'samsung/hlltexx/hllte:4.4.2/KOT49H/N7505XXUCNG5:user/release-keys'
Revision: '10'
pid: 30127, tid: 30197, name: Retrofit-Idle >>> cz.cisla <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
r0 00000000 r1 000075f5 r2 00000006 r3 00000000
r4 00000006 r5 00000073 r6 000075f5 r7 0000010c
r8 7afaab10 r9 7ad6fbe8 sl 7a6e03d8 fp 7afaab24
ip 77b3a034 sp 7afaa850 lr 4003f121 pc 4004e310 cpsr 000f0010
d0 74726f6261204d56 d1 6f72646e41246d6e
d2 696f72646e412475 d3 75722e312432246c
d4 6164416570795465 d5 7463614672657470
d6 427465672e79726f d7 6c656946646e756f
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 000000000000001c d17 0000000000000007
d18 0000000000001185 d19 0000000008000000
d20 0000000000ffffff d21 0000000000000000
d22 0000000009000000 d23 000000000009f000
d24 0000000000000e00 d25 0000000033000000
d26 ffffffffffffffff d27 ffffffffffffffff
d28 0000000000000002 d29 0000000000000002
d30 0000007a6d651000 d31 0000000000ffffff
scr 60000010
backtrace:
#00 pc 00022310 /system/lib/libc.so (tgkill+12)
#01 pc 0001311d /system/lib/libc.so (pthread_kill+48)
#02 pc 00013331 /system/lib/libc.so (raise+10)
#03 pc 00012067 /system/lib/libc.so
#04 pc 00021bc4 /system/lib/libc.so (abort+4)
#05 pc 00046c33 /system/lib/libdvm.so (dvmAbort+78)
#06 pc 0004b543 /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+146)
#07 pc 0004e2fd /system/lib/libdvm.so
#08 pc 0006886d /system/lib/libdvm.so (Java_java_lang_Class_getDex(_JNIEnv*, _jclass*)+144)
#09 pc 0001eb0c /system/lib/libdvm.so (dvmPlatformInvoke+112)
#10 pc 0004f08b /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398)
#11 pc 00027f20 /system/lib/libdvm.so
#12 pc 0002ef54 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76)
#13 pc 0002c5b8 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184)
#14 pc 00061489 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336)
#15 pc 000614ad /system/lib/libdvm.so (dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
#16 pc 0005619b /system/lib/libdvm.so
#17 pc 0000d280 /system/lib/libc.so (__thread_entry+72)
#18 pc 0000d418 /system/lib/libc.so (pthread_create+240)
code around pc:
4004e2f0 e8bd00f0 e3700a01 912fff1e e2600000
4004e300 ea006e86 e92d50f0 e3a07f43 ef000000
4004e310 e8bd50f0 e3700a01 912fff1e e2600000
4004e320 ea006e7e e92d50f0 e3a070ee ef000000
4004e330 e8bd50f0 e3700a01 912fff1e e2600000
4004e340 ea006e76 e1520003 8a00008c f5d1f040
4004e350 e92d4001 e3520010 3a000024 e2603000
4004e360 e213300f 0a00000e e0422003 e1b0cf83
4004e370 44d1e001 44c0e001 24d1c001 24d1e001
4004e380 24c0c001 24c0e001 e1b0ce83 aa000001
4004e390 f4a1030d f480031d 3a000001 f421070d
4004e3a0 f400071d e2522040 3a000006 f421020d
4004e3b0 f421420d f5d1f100 e2522040 f400022d
4004e3c0 f400422d 2afffff8 e2922020 3a000002
4004e3d0 f421020d e2422020 f400022d e2822020
4004e3e0 e3120010 0a000001 f4210a0d f4000a2d
code around lr:
4003f100 447b4b13 42b3e010 4812d10e 44786a1e
4003f110 ec90f7fb ea42f00d 46224631 e8f2f00f
4003f120 d00a3001 e00b2400 2b00681b 480ad1eb
4003f130 44782403 ec7ef7fb f001e002 6804fa87
4003f140 fa84f001 46206005 bf00bd70 0003b2a2
4003f150 0003b296 0003b28e 0003b26a bf7ef7ff
4003f160 4a3e4b3d 43f0e92d 4606b08b 447b460d
4003f170 6823589c 930946a1 fa68f001 8000f8d0
4003f180 d0482d00 f00f4628 280fffc3 d8444604
4003f190 ffe4f7ff d1064286 4629200f e90cf00d
4003f1a0 d03c2800 482ee02e f7fb4478 482debc2
4003f1b0 e0154478 d11342b0 482b6a06 f7fb4478
4003f1c0 4a2aec3a 46332120 447aa801 fb44f013
4003f1d0 a8012101 fe46f01a 46061c42 e011d104
4003f1e0 28006800 e02cd1e6 46294630 f00d4622
4003f1f0 1c43e948 d11e4607 fa28f001 29046801
你知道如何解决这个问题吗?我将尝试更新到最新版本(目前为1.7.0)并增加okHttp的版本。我没有任何暗示这个错误发生在我的设备和模拟器上,它工作正常。 Retrofit-Idle 是一个主题。
可能有些帮助答案 0 :(得分:0)
Okey,问题在于Apk Protect,而不是Retrofit。
目前,ApkProtect仅支持2.1-4.2版本。