1、apk中存在多進(jìn)程
??這個(gè)一般是屬性android:process引起的,添加這個(gè)屬性,組件啟動(dòng)的時(shí)候會(huì)重新拉起一個(gè)新的進(jìn)程運(yùn)行組件
<service android:exported="false" android:name="com.tencent.mobileqq.msf.service.MsfService" android:process=":MSF" android:stopWithTask="true">
<intent-filter>
<action android:name="com.tencent.qphone.base.subservice"/>
</intent-filter>
<meta-data android:name="SERVICE_ID" android:value="mobileqq.service"/>
<meta-data android:name="SERVICE_NAME" android:value="MobileQQ Service"/>
<meta-data android:name="SERVICE_VERSION" android:value="1"/>
</service>
調(diào)試的特點(diǎn)也就是,同一個(gè)apk中attach已經(jīng)啟動(dòng)的新進(jìn)程(從原有的調(diào)試進(jìn)程退出)
2、apk中存在插件apk
??一般比較惡心,這種情況下插件本身是落地的,找到落地的插件,使用android_killer完整反編譯(注意替換里面的apktool到最新版本),之后使用smalidea調(diào)試。網(wǎng)址:http://www.lxweimin.com/p/c7899e5ea182
??未完待續(xù)