Comments (4)
When you open the activity, can you verify the libs you load contain information?
from aboutlibraries.
This is aboutliraries.json but when load is only {"metadata":{"generated":"2023-11-05T15:48:30.735Z"},"libraries":[] }
from aboutlibraries.
So it seems something is wrong with the loading logic maybe? (either wrong file loaded or so 🤔 )
The json string you get? is it the one you attached above?
from aboutlibraries.
I fixed by using this code
val inputStream = requireContext().resources.openRawResource(R.raw.aboutlibraries)
val scanner = Scanner(inputStream).useDelimiter("\\A")
val stringBuilder = StringBuilder()
while (scanner.hasNextLine()) {
stringBuilder.append(scanner.nextLine())
}
Log.w("AboutLibraries", stringBuilder.toString())
val localLib = Libs.Builder().withJson(stringBuilder.toString()).build()
val intent = LibsBuilder()
.withLicenseShown(true)
.withVersionShown(true)
.withActivityTitle(getString(R.string.third_party_libraries))
.withSearchEnabled(true)
.withEdgeToEdge(true)
.withLibs(
localLib
)
.intent(requireContext())
startActivity(intent)
}
from aboutlibraries.
Related Issues (20)
- Strange animation if header is set HOT 3
- Stackoverflow error in collectDependencies HOT 12
- Jetpack Compose: Dialog confirm button cannot be styled for Material 3 apps HOT 6
- Legacy UI whole app gradle 8.1.2 HOT 16
- error "Retrieved no components for:" after changing build.gradle to build.gradle.kts HOT 17
- Stop
- With configPath, Gradle uses task without declaring an explicit or implicit dependency HOT 8
- failure to handle missing Intent HOT 3
- Roku Lib HOT 1
- Duplicate "AboutLibraries Library" listed HOT 5
- License dialog text is not shown correctly HOT 9
- Warning logs after updating to version 10.9.1 HOT 3
- v11.1.0-b02 did not publish all artifacts HOT 1
- Copyright text isn't embedded to aboutlibraries.json starting from 11.1.1 HOT 10
- samsung
- Only retrieve top level dependencies HOT 2
- Not able to search videos HOT 2
- Build licenses json only for specific target in multiplatform module HOT 2
- Code embedded in the content of BSD license HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aboutlibraries.