Giter Site home page Giter Site logo

buglyhotfixprotected's Introduction

#2018-01-30 version1.0 使用bugly做热更新测试,目前最新的版本1.1.1,官方最新版 打包命令: gradlew assembleRelease / assembleDebug 差分包: gradlew buildTinkerPatchRelease / buildTinkerPatchDebug 主要测试几个功能: 1、如何调用so文件,不是系统调用 根据官方提供的例子MainActivity中提示,"如果想更新so,可以将System.loadLibrary替换成Beta.loadLibrary" 这里不用管是什么abi的,调用方式

Beta.loadLibrary("mylib");==这种方式和System.loadLibrary("libname");一样

也可以使用如下方式加载so Beta.loadArmLibrary(getApplicationContext(),"native-lib"); 加载armeabi Beta.loadLibraryFromTinker(getApplicationContext(),"lib/x86","native-lib");//加载x86 Beta.loadArmV7Library(getApplicationContext(),"native-lib");//加载armeabi-v7a

这里不需要context对象,可以在Bugly初始化完成后,调用 2、如何调用差分文件 Beta.applyTinkerPatch(getApplicationContext(), Environment.getExternalStorageDirectory().getAbsolutePath() + "/patch_signed_7zip.apk");


###2018-02-01 采用enableProxyApplication = true的方式接入,只需要自己写一个类继承自Application,然后在清单文件内 注册,将bugly的初始调整到这里即可; 采用enableProxyApplication = false的方式接入,需要按照官方的demo来测试 bugly两种介入方式, https://bugly.qq.com/docs/user-guide/instruction-manual-android-hotfix/?v=20180119105842

buglyhotfixprotected's People

Contributors

bitefoo avatar

Watchers

HwanJ avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.