Last active
March 22, 2016 14:51
-
-
Save Aracem/a2bcdb841d9d2df07c23 to your computer and use it in GitHub Desktop.
Speedup Compile time in debug enabling vmSafeMode. USe this Manifest in your debug folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
~ Copyright (c) 2015 Upclose.me All rights reserved. | |
~ | |
~ 0000000 xx | |
~ 00000000 xxxx | |
~ 0000000000 xxl | |
~ 00000000000000 | |
~ 000000000000 | |
~ 00000000 | |
~ | |
~ U P C L O S E.M E | |
--> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="me.upclose.aether" | |
android:installLocation="auto"> | |
<!-- You need to set in your gradle file at least targetSdkaVersion=22--> | |
<application android:vmSafeMode="true"/> | |
</manifest> |
Good point. People is saying this should be used with:
dexOptions {
preDexLibraries = false
}
to compile projects in less time than expected
Thanks Cesards, good tip :) 👍
Which task do you use for checking compile time difference? Or do you just use IDE's run command? And what changes do you apply between checks (edit code, resources, restart IDE...)?
@cesards sure? According to this https://plus.google.com/+AndroidDevelopers/posts/ECrb9VQW9XP preDex makes first build slower and subsequent builds faster.
Well, actually I'm not sure about anything related to Gradle, just saying together works better for me xD
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, you need
targetSDKVersion 22