负责的项目接到反馈说在Android 5.0 上 会闪退;由于目前我们这边没有设备,于是现拿android 4.4.4 开ART模式调试,发现可以正常使用;于是又换成Android 5.0 的模拟器,发现确实会产生闪退问题;log如下:
JNI ERROR (app bug): accessed stale local reference 0xe340001d (index 7 in a table of size 6)
01-27 07:33:33.236: E/art(1200): 0xaee82c00 SpaceTypeMallocSpace begin=0x12c00000,end=0x12eee000,limit=0x16c00000,size=2MB,capacity=64MB,non_growth_limit_capacity=64MB,name="main rosalloc space"]
01-27 07:33:33.236: E/art(1200): 0xaee648a0 allocspace main rosalloc space live-bitmap 3[begin=0x12c00000,end=0x16c00000]
01-27 07:33:33.236: E/art(1200): 0xaee64880 allocspace main rosalloc space mark-bitmap 3[begin=0x12c00000,end=0x16c00000]
01-27 07:33:33.236: E/art(1200): 0xb5059120 SpaceTypeImageSpace begin=0x6fb64000,end=0x70681e18,size=11MB,name="/data/dalvik-cache/arm/system@ fra
JNI ERROR (app bug): accessed stale local reference 0xe340001d (index 7 in a table of size 6)
01-27 07:33:33.236: E/art(1200): 0xaee82c00 SpaceTypeMallocSpace begin=0x12c00000,end=0x12eee000,limit=0x16c00000,size=2MB,capacity=64MB,non_growth_limit_capacity=64MB,name="main rosalloc space"]
01-27 07:33:33.236: E/art(1200): 0xaee648a0 allocspace main rosalloc space live-bitmap 3[begin=0x12c00000,end=0x16c00000]
01-27 07:33:33.236: E/art(1200): 0xaee64880 allocspace main rosalloc space mark-bitmap 3[begin=0x12c00000,end=0x16c00000]
01-27 07:33:33.236: E/art(1200): 0xb5059120 SpaceTypeImageSpace begin=0x6fb64000,end=0x70681e18,size=11MB,name="/data/dalvik-cache/arm/system@ fra