sophix initialize meta-data is not se

1. 使用sophix 

 <meta-data
            android:name="com.taobao.android.hotfix.IDSECRET"
            android:value="2" />
        <meta-data
            android:name="com.taobao.android.hotfix.APPSECRET"
            android:value="c09042fd9cb27c" />
        <meta-data
            android:name="com.taobao.android.hotfix.RSASECRET"
            android:value="MIIEvQIwggSjAg />

当创建应用的时候,有个appkey ,appsecert , 

点进去应用才 可以看到 rsa secert 复制填入第三个 

当上传 patch ,之后,才可以看到一个 appid ,填到第一个里面 ,而不是appkey . 


被appid 坑了二三个小时  。  


二 。快速接入,需要在   attachBaseContext 里面 initHotfix

@Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        initHotfix();
    }



猜你喜欢

转载自blog.csdn.net/lsw8569013/article/details/79977698