Coder Social home page Coder Social logo

Comments (8)

Sfavilla avatar Sfavilla commented on June 3, 2024

same issue

from android-fat-aar.

m-ivanov avatar m-ivanov commented on June 3, 2024

+1 Android Studio 2.2 & grade:2.2.0

from android-fat-aar.

nicolasd avatar nicolasd commented on June 3, 2024

+1
the plugin is not compatible with gradle 2.2
#19 #23

from android-fat-aar.

m-ivanov avatar m-ivanov commented on June 3, 2024

this seems to fix the problem, i don't know about R.

@@ -139,7 +139,7 @@ private List getMergedInputResourceSets(List inputResourceSet) {
     embeddedAarDirs.each { aarPath ->
         try {
             def resname = (aarPath.split("build/intermediates/exploded-aar/")[1]).replace('/', ':');
-            def rs = ResourceSetClass.newInstance([resname] as Object[])
+            def rs = ResourceSetClass.newInstance(resname as String, true)
             rs.addSource(file("$aarPath/res"))
             // println "ResourceSet is " + rs
             newInputResourceSet += rs
@@ -325,6 +325,7 @@ task embedManifests << {
                 }
                 save(xmlDocument, new File(outManifestLocation));
                 if (outAaptSafeManifestLocation != null) {
+                    mkdir("build/intermediates/bundles/release/aapt")
                     new PlaceholderEncoder().visit(xmlDocument);
                     save(xmlDocument, new File(outAaptSafeManifestLocation));
                 }

from android-fat-aar.

nicolasd avatar nicolasd commented on June 3, 2024

Ok, but there's still the bug with the R.java of the aar that is not embedded into the fat aar :)

from android-fat-aar.

adwiv avatar adwiv commented on June 3, 2024

Kindly test with the updated version which appears to be compatible with 2.2.0 and report issues if any.

from android-fat-aar.

adwiv avatar adwiv commented on June 3, 2024

Hi @Anvesh46, Can you please check with the updated version release just now? I don't get this issue with my test cases, so can't test.

from android-fat-aar.

Anvesh46 avatar Anvesh46 commented on June 3, 2024

please close it it is working

from android-fat-aar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.