Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix 20181002 #269

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private static boolean findAndCopyNativeLib(ZipFile zipfile, Context context, St
continue;
}
if (entryName.charAt(0) > 'l') {
break;
continue;
}
if (!findLib && !entryName.startsWith("lib/")) {
continue;
Expand Down
2 changes: 1 addition & 1 deletion CoreLibrary/upload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def gitUrl = 'https://github.com/didi/VirtualAPK' // Git仓库的url
group = GROUP_ID
archivesBaseName = 'core'

version = "0.9.7.1"
version = "0.9.8"


install {
Expand Down
2 changes: 1 addition & 1 deletion PluginDemo/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies {
// the following aars are also compiled in host project, so they will be filterd when build plugin apk.
// but, wo can still visit their Class and Resources.
implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.didi.virtualapk:core:0.9.6'
// implementation 'com.didi.virtualapk:core:0.9.8'
}

apply plugin: 'com.didi.virtualapk.plugin'
Expand Down
2 changes: 2 additions & 0 deletions PluginDemo/app/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#android.enableD8=false
android.useDexArchive=false
2 changes: 1 addition & 1 deletion PluginDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.didi.virtualapk:gradle:0.9.8.5.1-dev'
classpath 'com.didi.virtualapk:gradle:0.9.8.6'
}
}

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# <img src="imgs/va-logo.png" width="200px" align="center" alt="VirtualAPK"/>
[![license](http://img.shields.io/badge/license-Apache2.0-brightgreen.svg?style=flat)](https://github.com/didi/VirtualAPK/blob/master/LICENSE)
[![Release Version](https://img.shields.io/badge/release-0.9.7-dev-red.svg)](https://github.com/didi/VirtualAPK/releases)
[![Release Version](https://img.shields.io/badge/release-0.9.8-red.svg)](https://github.com/didi/VirtualAPK/releases)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/didi/VirtualAPK/pulls)

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.
Expand Down Expand Up @@ -28,7 +28,7 @@ Add a dependency in `build.gradle` in root of host project as following.

``` java
dependencies {
classpath 'com.didi.virtualapk:gradle:0.9.8.5-dev'
classpath 'com.didi.virtualapk:gradle:0.9.8.6'
}
```

Expand All @@ -41,7 +41,7 @@ apply plugin: 'com.didi.virtualapk.host'
Compile VirtualAPK in application module of `build.gradle`.

``` java
compile 'com.didi.virtualapk:core:0.9.7-dev'
compile 'com.didi.virtualapk:core:0.9.8'
```

Initialize `PluginManager` in `YourApplication::attachBaseContext()`.
Expand Down Expand Up @@ -85,7 +85,7 @@ Add a dependency in `build.gradle` in root of plugin project as following.

``` java
dependencies {
classpath 'com.didi.virtualapk:gradle:0.9.8.5-dev'
classpath 'com.didi.virtualapk:gradle:0.9.8.6'
}
```

Expand Down
10 changes: 10 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
## com.didi.virtualapk:core:0.9.6
1. 修复部分空指针问题。

## com.didi.virtualapk:core:0.9.6
1. 代码重构。
2. 修复部分空指针bug。
3. 适配Android P。
4. 修复webview初始化后插件资源不可用的bug。

## VirtualAPK 的构建部分已经开源了,![点击这里查看](https://github.com/didi/VirtualAPK/tree/master/virtualapk-gradle-plugin)

## com.didi.virtualapk:gradle:0.9.8.2
Expand All @@ -47,3 +53,7 @@
1. 修复当插件依赖library module时构建失败的bug。
2. 修复依赖本地aar时构建失败的bug。
3. 修复当插件自定义attr属性时id错误的bug。

## com.didi.virtualapk:gradle:0.9.8.6
1. 适配com.android.tools.build:gradle:3.1.0。
2. 修复当插件未定义attr资源时anim资源找不到的bug。
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {
testImplementation 'junit:junit:4.12'

implementation 'com.android.support:appcompat-v7:23.4.0'
implementation 'com.didi.virtualapk:core:0.9.7-dev'
implementation 'com.didi.virtualapk:core:0.9.8'
// implementation project (':CoreLibrary')

}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.didi.virtualapk:gradle:0.9.8.5.1-dev'
classpath 'com.didi.virtualapk:gradle:0.9.8.6'

classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
Expand Down
2 changes: 1 addition & 1 deletion virtualapk-gradle-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GROUP_ID=com.didi.virtualapk
ARTIFACT_ID=gradle
VERSION=0.9.8.5.1-dev
VERSION=0.9.8.6