Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分手机上apache报错 #11

Open
YandZD opened this issue Aug 19, 2023 · 0 comments
Open

部分手机上apache报错 #11

YandZD opened this issue Aug 19, 2023 · 0 comments

Comments

@YandZD
Copy link

YandZD commented Aug 19, 2023

部分手机上apache报错,官方是不是要改用encodeHex呢

 java.lang.NoSuchMethodError: No static method encodeHexString([B)Ljava/lang/String; in class Lorg/apache/commons/codec/binary/Hex; or its super classes (declaration of 'org.apache.commons.codec.binary.Hex' appears in /system/framework/org.apache.http.legacy.boot.jar)
        at com.volcengine.helper.Utils.hashSHA256(Utils.java:45)
        at com.volcengine.auth.impl.SignerV4Impl.getSignRequest(SignerV4Impl.java:100)
        at com.volcengine.http.VolcengineInterceptor.intercept(VolcengineInterceptor.java:44)
        at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
        at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
        at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
        at com.volcengine.service.BaseServiceImpl.makeRequest(BaseServiceImpl.java:274)
        at com.volcengine.service.BaseServiceImpl.post(BaseServiceImpl.java:261)
        at com.volcengine.service.visual.impl.VisualServiceImpl.poemMaterial(VisualServiceImpl.java:97)
        at com.desaysv.myapplication3.TestActivity.initClient(TestActivity.java:38)
        at com.desaysv.myapplication3.TestActivity.access$000(TestActivity.java:21)
        at com.desaysv.myapplication3.TestActivity$1.run(TestActivity.java:70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant