Skip to content

Commit

Permalink
Go back to SDK-22
Browse files Browse the repository at this point in the history
  • Loading branch information
isuPatches committed Jul 24, 2017
1 parent 8707f73 commit 7471c83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,24 @@ cache:

android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.0
- android-24
- android-22
- android-26
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
- sys-img-arm64-v8a-google_apis-24

env:
matrix:
- $TARGET=android-24 ABI=google_apis/arm64-v8a
- $TARGET=android-22 ABI=armeabi-v7a

before_script:
- echo $JAVA_OPTS
- export JAVA_OPTS=-Xmx2048m
- android list targets
- echo no | android create avd --force -n test -t $TARGET --abi $ABI
- emulator -avd test -no-audio -no-window &
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell setprop dalvik.vm.dexopt-flags v=n,o=v
- adb shell input keyevent 82 &

script:
Expand Down
7 changes: 7 additions & 0 deletions wisefy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ dexcount {
android {

dexOptions {
// Sets the maximum number of DEX processes
// that can be started concurrently.
maxProcessCount 8
// Sets the maximum memory allocation pool size
// for the dex operation.
javaMaxHeapSize "2g"

// Skip pre-dexing when running on Travis CI or when disabled via -Dpre-dex=false.
preDexLibraries = preDexEnabled && !travisBuild
}
Expand Down

0 comments on commit 7471c83

Please sign in to comment.