Skip to content

Commit

Permalink
Adding dfu packet to proguard rules
Browse files Browse the repository at this point in the history
Fixes DFU FILE ERROR (parsing manifest failed as the required classes
were removed)
  • Loading branch information
philips77 committed Nov 7, 2017
1 parent 35391d5 commit 29af8d6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "no.nordicsemi.android.nrftoolbox"
minSdkVersion 18
targetSdkVersion 26
versionCode 62
versionName "2.5.0"
versionCode 63
versionName "2.5.1"
resConfigs "en"
}
buildTypes {
Expand Down
6 changes: 5 additions & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@
-dontnote org.apache.http.params.**
-dontnote org.apache.http.conn.scheme.**
-dontnote org.apache.http.conn.**
-dontnote android.net.http.**
-dontnote android.net.http.**

# DFU Library
-keep class no.nordicsemi.android.dfu.** { *; }

This comment has been minimized.

Copy link
@philips77

philips77 Nov 7, 2017

Author Member

Fixes #36


4 changes: 2 additions & 2 deletions wear/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "no.nordicsemi.android.nrftoolbox"
minSdkVersion 23
targetSdkVersion 26
versionCode 262506201 // target: 26, version: 2.5.0, build: 62, multi-APK: 01
versionName "2.5.0"
versionCode 262516201 // target: 26, version: 2.5.1, build: 62, multi-APK: 01
versionName "2.5.1"
resConfigs "en"
}
lintOptions {
Expand Down

0 comments on commit 29af8d6

Please sign in to comment.