Comments (12)
thanks.
this solved my problem:
-dontwarn okio.**
from okio.
如果你使用是okhttp和rxAndroid,retrofit2。并且在打release包是报找不到okio,rx,retrofit。你只需要在app下的proguard-rules.pro混淆文件中加入
-dontwarn org.codehaus.**
-dontwarn java.nio.**
-dontwarn java.lang.invoke.**
-dontwarn rx.**
即可
from okio.
No. The problem is in the Android platform's lack of these types, not this library.
from okio.
-dontwarn org.codehaus.**
-dontwarn okio.**
Thanks!
from okio.
Is there anyway this could be fixed so we don't have to use -dontwarn?
from okio.
You can safely ignore the warnings. They aren't used when not available.
from okio.
Hey @moallemi ,
How are you able to tell when a class isn't used when not available....Did you did through the entire source code???
from okio.
@moallemi Thanks
from okio.
So good!-dontwarn xxx** can ignore “can't find referenced class com.xxx.xxx””warnings. But warnings arenot err,why it can't continte?
I am also "醉了"。And 围观android‘s ’"洪荒大牛"——JakeWharton.
from okio.
-dontwarn okhttp3.**
-dontwarn okio.**
from okio.
thanks for ur suggestions,my problem is solved。
from okio.
thank you moallemi
Your variant resolved my problem :)
from okio.
Related Issues (20)
- Is exposing flush in Sink a good idea ? HOT 2
- Gradle reports that okio references itself HOT 2
- Add target `watchosDeviceArm64` HOT 2
- Publish okio-fakefilesystem with wasm support HOT 1
- NullPointerException on commonCompleteSegmentByteCount HOT 4
- Using FileSystem.SYSTEM.listRecursively() on MacOS, it returns incorrect directory name. HOT 3
- Update multiplatform example docs for file system HOT 1
- Gitt
- Add zip file support on non-JVM targets. HOT 3
- Pipe.fold: destination sink can remain open even after pipe closed HOT 2
- The compatibility issue with TarArchiveOutputStream
- Github lives
- ZipFileSystem should expose more metadata HOT 1
- FakeFileSystem incorrect file size on conversion to File HOT 2
- Add `COpaquePointer.readByteString(Long)` helper
- Consider `ignoreWhitespace=true` parameter to `decodeHex` HOT 1
- ZipFileSystem doesn’t honor local time zone on Kotlin/Native
- Integration with kotlin.text.Appendable
- Write a .zip HOT 9
- Usage of `kotlin-node` declarations from kotlin-wrappers 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 okio.