Getting `ProviderNotFoundException` while comparing .aar files
See original GitHub issueWas trying to find a diff of one of the privately published library in my team. Iβm getting the following stacktrace.
> ./diffuse diff --aar catlib-2.2.1.aar catlib-2.2.4.aar
Exception in thread "main" java.nio.file.ProviderNotFoundException: Provider not found
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:407)
at com.jakewharton.diffuse.ExtensionsKt.asZipFileSystem(extensions.kt:28)
at com.jakewharton.diffuse.ExtensionsKt.asZipFileSystem$default(extensions.kt:28)
at com.jakewharton.diffuse.io.ZipKt.toZip(Zip.kt:93)
at com.jakewharton.diffuse.io.PathInput.toZip(Input.kt:43)
at com.jakewharton.diffuse.Jar$Companion.parse(Jar.kt:21)
at com.jakewharton.diffuse.Aar$Companion.parse(Aar.kt:29)
at com.jakewharton.diffuse.DiffCommand$inputOptions$2.parse(diffuse.kt:77)
at com.jakewharton.diffuse.DiffCommand.run(diffuse.kt:133)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:139)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:215)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:212)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:230)
at com.jakewharton.diffuse.Diffuse.main(diffuse.kt:40)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Direct local .aar file dependencies are not supported
I recently encountered the same issue, the fix was to remove the library from libs/ and import it using File -> New ->...
Read more >Create an Android library - Android Developers
When you want to build the AAR file, select the library module in the Project window and then click Build > Build APK....
Read more >Flutter Programming with Android AAR File - Dynamsoft
I was curious about how Flutter performs comparing to Xamarin and Cordova, and thus, I got started with Flutter a week ago. When...
Read more >Building your own Android library - CodePath Cliffnotes
An .aar file can include the following types of files: ... When you create a new Android project, a new application is always...
Read more >Problem updating AAR files to new version - Google Groups
So I recently updated Blockly Android on Android Studio with the latest git release. The project compiles and runs fine. When I generate...
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 Free
Top 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
Unfortunately, due to a bug/missing feature in Javaβs implementation of zip filesystems, you have to use Java 11 or newer for aars or aabs.
For posterity: