Litho loses access to Yoga Sources for version 0.4.0
See original GitHub issue- I have searched existing issues and this is not a duplicate
Version
Add the version of the litho packages you use. You can paste the dependency section of the gradle file if you have one.
compile 'com.facebook.litho:litho-core:0.4.1'
compile 'com.facebook.litho:litho-widget:0.4.0'
provided 'com.facebook.litho:litho-annotations:0.4.0'
annotationProcessor 'com.facebook.litho:litho-processor:0.4.0'
// SoLoader
compile 'com.facebook.soloader:soloader:0.2.0'
// Optional
// For debugging
debugCompile 'com.facebook.litho:litho-stetho:0.4.0'
// For integration with Fresco
compile 'com.facebook.litho:litho-fresco:0.4.0'
After updating to litho package versions 0.4.0, it cal no longer find any Yoga source files that may be loaded by SoLoader. On going back to version 0.3.1, it successfully built and deployed.
Issues and Steps to Reproduce
Upgraded Litho libraries to version 0.4.0
Expected Behavior
When any Yoga reference is made in a Spec file, it cannot be found with version 0.4.0
Link to Code
Column.create(c)
.widthPercent(70)
.marginDip(YogaEdge.ALL, 8)
.alignSelf(YogaAlign.BASELINE)
.heightPercent(100)
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Open Source Used In FindIT Network Manager 2.1.0.x - Cisco
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software ...
Read more >https://docs.cloudera.com/documentation/other/shar...
1.27.0, Java Native Access (JNA) 5.2.0, Java Native Access (JNA) 5.3.1, ... XMLSecTool 2.0.0, xmltool 3.3, Yoga Core 1.1.1) Apache License Version 2.0, ......
Read more >(PDF) Super-resolution wide-field optical microscopy by use of ...
Here, we use a combination of azimuthal- and polar-angle beam scanning, dark-field scatter imaging, and atomic force microscopy to identify the sources of ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the cause for this: The plugin we use for generating the POMs based on our Android dependency declarations hadn’t been updated for the new dependency formats yet: https://github.com/dcendents/android-maven-gradle-plugin/issues/61
It looks like the version on master already supports it, so I will try to publish a new release with that yesterday and, if that doesn’t work, revert back to the old-style declarations until we have a new version.
@passy Can’t import yoga packages such as
com.facebook.yoga.YogaEdge
which is using in some layout api(eg.paddingDip(YogaEdge edge, @Dimension(unit = DP) int padding);
)Should I add yoga dependence manually in build.gradle?