VirtualAPK/README.md At Master · Didi/VirtualAPK · GitHub

Android 9.0 supported! Please use the lastest release.


VirtualAPK is a powerful yet lightweight plugin framework for Android. It can dynamically load and run an APK file (we call it LoadedPlugin) seamlessly as an installed application. Developers can use any Class, Resources, Activity, Service, Receiver and Provider in LoadedPlugin as if they are registered in app's manifest file.


Supported Features


Getting started


Host Project


Add a dependency in build.gradle in root of host project as following.


Compile VirtualAPK in application module of build.gradle.


Initialize PluginManager in YourApplication::attachBaseContext().


Modify proguard rules to keep VirtualAPK related files.


Finally, load an APK and have fun!


Plugin Project


Add a dependency in build.gradle in root of plugin project as following.


Apply plugin in application module of build.gradle.


Config VirtualAPK. Remember to put following lines at the end of build.gradle.


Developer guide


- API document wiki
- Sample project PluginDemo
- Read core library source code
- Read Release notes


Known issues


- Notifications with custom layout are not supported in plugin.
- Transition animations with animation resources are not supported in plugin.


Contributing


Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.


Who is using VirtualAPK?


License


VirtualAPK is licensed under the Apache License 2.0. See the LICENSE file.


Comments

Popular posts from this blog

Rebel Racing Mod Apk 2021(Unlimited Cash, Coins, And Nitro)

PUBG MOD APK V1.5.0(High Damage, Aim Bot And Infinite UC)

Pou Mod APK 2021 (Unlimited Money, Lives, And Max Level)