0

I have started coding on a pre written code by some other developer and it has : 'me.tatarka.retrolambda' , what is its impact on the size of the apk.

These are the lines in gradle file;

apply plugin: 'me.tatarka.retrolambda'

retrolambda {
jvmArgs '-noverify'
}
Samar
  • 21
  • 1
  • 5
  • Do you need lambda support in your code? – K Neeraj Lal Apr 27 '16 at 09:41
  • I don't know what it is doing in the app if it has a large size then i surely dont want to use it. – Samar Apr 27 '16 at 09:45
  • If you don't need it delete it and sync your app. If you get errors try to resolve them. – K Neeraj Lal Apr 27 '16 at 09:48
  • tried doing that but it has some impact on the gradle generating apk as if i remove it i am not able to process my apk should i post the error – Samar Apr 27 '16 at 09:52
  • An exception has occurred in the compiler (1.8.0_60). Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report. Thank you. com.sun.tools.javac.code.Symbol$CompletionFailure: class file for java.lang.invoke.MethodType not found Error:Execution failed for task ':app:compileDebugJavaWithJavac'. > Compilation failed; see the compiler error output for details. Information:BUILD FAILED Information:Total time: 6.339 secs Information:1 error Information:0 warnings – Samar Apr 27 '16 at 09:57
  • https://github.com/evant/gradle-retrolambda#proguard – K Neeraj Lal Apr 27 '16 at 10:01
  • please elaborate i am not able to extract how can i remove retrolamda by that page – Samar Apr 27 '16 at 10:06
  • Try to delete everything that is related to retrolambda. – K Neeraj Lal Apr 27 '16 at 10:12
  • Please let me know why my question has been given a negative reputation and who did it no offense just like to know what was wrong with it. – Samar May 10 '16 at 07:23

1 Answers1

0

Tried to create a new project and applied the plugin retro lambda it has no effect on the apk size so i don't think it has ant impact on my app it is a backward compatible library This plugin will automatically build your java or android project with retrolambda, giving you lambda goodness on java 6 or 7. for more information pls refer to :
github.com/evant/gradle-retrolambda#proguard

Samar
  • 21
  • 1
  • 5