wequick / Small

A small framework to split app into small parts
http://code.wequick.net/Small
Apache License 2.0
5.05k stars 1.11k forks source link

集成LeakCanary库没有成功 #582

Open hhyy1986 opened 6 years ago

hhyy1986 commented 6 years ago

错误报告

你做了什么?

我在自己的项目中,在宿主分身的gradle中引入了LeakCanary库的gradle地址,在宿主中的application对LeakCanary进行初始化操作,但是执行后,发现LeakCanary并没有成功后的图标,我创建了一个普通的新项目进行集成,没有任何问题,集成成功,然后又下载了Sample项目进行集成,仍然不行

你期望的结果是什么?

能够成功集成LeakCanary

实际结果是什么?

没有集成成功的桌面图标

Small环境

Configure project :app+home The setTestClassesDir(File) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the setTestClassesDirs(FileCollection) method instead. The getTestClassesDir() method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the getTestClassesDirs() method instead. The ConfigurableReport.setDestination(Object) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the method ConfigurableReport.setDestination(File) instead.

Task :small

Compile-time

  gradle-small plugin : 1.3.0-beta6 (maven)
            small aar : 1.3.0-beta6 (maven)
          gradle core : 4.1
       android plugin : 2.3.0
                   OS : Mac OS X 10.13.4 (x86_64)

Bundles

type name PP sdk aapt support file(armeabi) size
host app 26 26.0.3 26.1.0
stub app+home 26 26.0.3 26.1.0
app app.main 0x77 26 26.0.3 26.1.0 *_appmain.so 8.6 KB
lib lib.network 0x5e 26 26.0.3 26.1.0 *_libnetwork.so 590.4 KB
lib lib.common 0x2a 26 26.0.3 26.1.0 *_libcommon.so 4.1 KB

Runtime

  Device : Samsung Nexus S
     SDK : Android 7.0
     ABI : armeabi-v7a