yangyinglong

Results 3 comments of yangyinglong

复现步骤 https://blog.csdn.net/qq372848728/article/details/120255086 我发起了个修复的pr https://github.com/shwenzhang/AndResGuard/pull/491

@AtlanGK You can see the CompressGifActivity, ``` private void showImage(String imaePath) throws FileNotFoundException { // Bitmap bm = BitmapFactory.decodeFile(imaePath); // ((ImageView)findViewById(R.id.image)).setImageBitmap(bm); String dstFile = "result.gif"; final String filePath = Environment.getExternalStorageDirectory()...

> 原来正常service的启动过程中会调用attach这个函数,这个函数会给mClassName赋值 > ![1](https://user-images.githubusercontent.com/7448190/49851985-cbb5dc00-fe1d-11e8-9085-67bb4308f469.PNG) > RePlugin启动的过程中忽略了这一步,直接就调用onCreate函数,导致以上问题 > ![image](https://user-images.githubusercontent.com/7448190/49852087-15062b80-fe1e-11e8-8f3a-9061bc24a0c5.png) > attach函数 > ![image](https://user-images.githubusercontent.com/7448190/49852231-834aee00-fe1e-11e8-9196-6b715f3c71b9.png) 因为这个方法是@hide方法,9.0系统以上不允许用户api调用,所以RePlugin没有调用这个