After updating my Android studio to 2.0 and gradle to 2.0.0 and SDK-Platform to 23.0.3 When I want to launch application it take too much time (about 2-3 second) and following warning appears in Android Monitor :
W/System: ClassLoader referenced unknown path: /data/app/net.hadifar.test-1/lib/arm
W/System: ClassLoader referenced unknown path: /data/app/net.hadifar.test-1/lib/arm
W/art: Suspending all threads took: 5.439ms
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
W/art: Suspending all threads took: 6.808ms
But second time I launch application it's run as usual. Can any body knows what's the issue ?
In version 2.0 a new feature was added instant-run.
To enable this feature tool adds a lots of meta information, so the first build and upload takes more time.
Be aware about
setting minSdkVersion 15 or higher to get any profit;
Instant Run does not currently work with Jack (to support java 8) and will be disabled while using the new toolchain;
you may still encounter some glitches and bugs;
Here we can write (or vote) issues (report to make the better tool).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With