How to use latest R8 Shrinker versionHow do save an Android Activity state using save instance state?Fling gesture detection on grid layoutWhy is the Android emulator so slow? How can we speed up the Android emulator?How to get the build/version number of your Android application?How do I fix android.os.NetworkOnMainThreadException?“cannot resolve symbol R” in Android StudioPlugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to“Gradle Version 2.10 is required.” ErrorAutomatically accept all SDK licencesLatest version of gradle can't be found

Discriminated by senior researcher because of my ethnicity

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Do I have an "anti-research" personality?

How to limit Drive Letters Windows assigns to new removable USB drives

Thesis on avalanche prediction using One Class SVM

Re-entry to Germany after vacation using blue card

What is the smallest unit of eos?

'It addicted me, with one taste.' Can 'addict' be used transitively?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

Function pointer with named arguments?

Why does Mind Blank stop the Feeblemind spell?

Can SQL Server create collisions in system generated constraint names?

"Hidden" theta-term in Hamiltonian formulation of Yang-Mills theory

How do I reattach a shelf to the wall when it ripped out of the wall?

Is it idiomatic to construct against `this`

Is there a way to generate a list of distinct numbers such that no two subsets ever have an equal sum?

Pulling the rope with one hand is as heavy as with two hands?

Is the claim "Employers won't employ people with no 'social media presence'" realistic?

Can an Area of Effect spell cast outside a Prismatic Wall extend inside it?

Did the BCPL programming language support floats?

Minor Revision with suggestion of an alternative proof by reviewer

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

How exactly does Hawking radiation decrease the mass of black holes?

Implications of cigar-shaped bodies having rings?



How to use latest R8 Shrinker version


How do save an Android Activity state using save instance state?Fling gesture detection on grid layoutWhy is the Android emulator so slow? How can we speed up the Android emulator?How to get the build/version number of your Android application?How do I fix android.os.NetworkOnMainThreadException?“cannot resolve symbol R” in Android StudioPlugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to“Gradle Version 2.10 is required.” ErrorAutomatically accept all SDK licencesLatest version of gradle can't be found






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















Because of a bug, I have used local jar file for R8 Shrinker (as recommended by R8 team) with adding the classpath to top gradle.build :



classpath files($..../R8.jar/$)


Now regardless of any update to the Android Studio the Gradle build still using the old version of R8 that I have used before V. 1.4.55



Recently I'm seeing that they have published newest version: V. 1.4.69
https://r8.googlesource.com/r8/



So my question is: How to configure gradle to tell to use latest version of R8, because I don't see any documentation about this










share|improve this question






























    1















    Because of a bug, I have used local jar file for R8 Shrinker (as recommended by R8 team) with adding the classpath to top gradle.build :



    classpath files($..../R8.jar/$)


    Now regardless of any update to the Android Studio the Gradle build still using the old version of R8 that I have used before V. 1.4.55



    Recently I'm seeing that they have published newest version: V. 1.4.69
    https://r8.googlesource.com/r8/



    So my question is: How to configure gradle to tell to use latest version of R8, because I don't see any documentation about this










    share|improve this question


























      1












      1








      1


      1






      Because of a bug, I have used local jar file for R8 Shrinker (as recommended by R8 team) with adding the classpath to top gradle.build :



      classpath files($..../R8.jar/$)


      Now regardless of any update to the Android Studio the Gradle build still using the old version of R8 that I have used before V. 1.4.55



      Recently I'm seeing that they have published newest version: V. 1.4.69
      https://r8.googlesource.com/r8/



      So my question is: How to configure gradle to tell to use latest version of R8, because I don't see any documentation about this










      share|improve this question
















      Because of a bug, I have used local jar file for R8 Shrinker (as recommended by R8 team) with adding the classpath to top gradle.build :



      classpath files($..../R8.jar/$)


      Now regardless of any update to the Android Studio the Gradle build still using the old version of R8 that I have used before V. 1.4.55



      Recently I'm seeing that they have published newest version: V. 1.4.69
      https://r8.googlesource.com/r8/



      So my question is: How to configure gradle to tell to use latest version of R8, because I don't see any documentation about this







      android android-gradle r8






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 9 at 13:46









      g.brahma Datta

      448411




      448411










      asked Mar 8 at 15:07









      EAK TEAMEAK TEAM

      258523




      258523






















          2 Answers
          2






          active

          oldest

          votes


















          1














          You should add the following:



          buildscript 
          repositories
          maven
          url 'http://storage.googleapis.com/r8-releases/raw'


          dependencies
          classpath 'com.android.tools:r8:1.4.71' //Must be before the Gradle Plugin for Android. - Or any other version
          classpath 'com.android.tools.build:gradle:...'







          share|improve this answer






























            0














            There is currently no way of referring to the latest version of R8. Using a specific version of R8 should only be used to work around bugs, and when that fix reaches the Android Gradle plugin the reference to a specific version of R8 should be removed to just use the R8 built into the Android Gradle plugin.



            This is to limit the use of specific R8 versions, to avoid developers staying on older versions, and encourage developers to the use of the version bundled with Android Gradle plugin. This limits the number of different versions used by developers.






            share|improve this answer























              Your Answer






              StackExchange.ifUsing("editor", function ()
              StackExchange.using("externalEditor", function ()
              StackExchange.using("snippets", function ()
              StackExchange.snippets.init();
              );
              );
              , "code-snippets");

              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "1"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader:
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              ,
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













              draft saved

              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55065976%2fhow-to-use-latest-r8-shrinker-version%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              You should add the following:



              buildscript 
              repositories
              maven
              url 'http://storage.googleapis.com/r8-releases/raw'


              dependencies
              classpath 'com.android.tools:r8:1.4.71' //Must be before the Gradle Plugin for Android. - Or any other version
              classpath 'com.android.tools.build:gradle:...'







              share|improve this answer



























                1














                You should add the following:



                buildscript 
                repositories
                maven
                url 'http://storage.googleapis.com/r8-releases/raw'


                dependencies
                classpath 'com.android.tools:r8:1.4.71' //Must be before the Gradle Plugin for Android. - Or any other version
                classpath 'com.android.tools.build:gradle:...'







                share|improve this answer

























                  1












                  1








                  1







                  You should add the following:



                  buildscript 
                  repositories
                  maven
                  url 'http://storage.googleapis.com/r8-releases/raw'


                  dependencies
                  classpath 'com.android.tools:r8:1.4.71' //Must be before the Gradle Plugin for Android. - Or any other version
                  classpath 'com.android.tools.build:gradle:...'







                  share|improve this answer













                  You should add the following:



                  buildscript 
                  repositories
                  maven
                  url 'http://storage.googleapis.com/r8-releases/raw'


                  dependencies
                  classpath 'com.android.tools:r8:1.4.71' //Must be before the Gradle Plugin for Android. - Or any other version
                  classpath 'com.android.tools.build:gradle:...'








                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 10 at 1:28









                  EAK TEAMEAK TEAM

                  258523




                  258523























                      0














                      There is currently no way of referring to the latest version of R8. Using a specific version of R8 should only be used to work around bugs, and when that fix reaches the Android Gradle plugin the reference to a specific version of R8 should be removed to just use the R8 built into the Android Gradle plugin.



                      This is to limit the use of specific R8 versions, to avoid developers staying on older versions, and encourage developers to the use of the version bundled with Android Gradle plugin. This limits the number of different versions used by developers.






                      share|improve this answer



























                        0














                        There is currently no way of referring to the latest version of R8. Using a specific version of R8 should only be used to work around bugs, and when that fix reaches the Android Gradle plugin the reference to a specific version of R8 should be removed to just use the R8 built into the Android Gradle plugin.



                        This is to limit the use of specific R8 versions, to avoid developers staying on older versions, and encourage developers to the use of the version bundled with Android Gradle plugin. This limits the number of different versions used by developers.






                        share|improve this answer

























                          0












                          0








                          0







                          There is currently no way of referring to the latest version of R8. Using a specific version of R8 should only be used to work around bugs, and when that fix reaches the Android Gradle plugin the reference to a specific version of R8 should be removed to just use the R8 built into the Android Gradle plugin.



                          This is to limit the use of specific R8 versions, to avoid developers staying on older versions, and encourage developers to the use of the version bundled with Android Gradle plugin. This limits the number of different versions used by developers.






                          share|improve this answer













                          There is currently no way of referring to the latest version of R8. Using a specific version of R8 should only be used to work around bugs, and when that fix reaches the Android Gradle plugin the reference to a specific version of R8 should be removed to just use the R8 built into the Android Gradle plugin.



                          This is to limit the use of specific R8 versions, to avoid developers staying on older versions, and encourage developers to the use of the version bundled with Android Gradle plugin. This limits the number of different versions used by developers.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Mar 18 at 12:43









                          sgjessesgjesse

                          75235




                          75235



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid


                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.

                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55065976%2fhow-to-use-latest-r8-shrinker-version%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

                              Алба-Юлія

                              Захаров Федір Захарович