Coder Social home page Coder Social logo

Comments (4)

 avatar commented on June 24, 2024

After adding:
-keep class com.fiskaly.kassensichv.** { *; }

I learned more info about the problem:

    java.lang.UnsatisfiedLinkError: No implementation found for void d.a.a() (tried Java_d_a_a and Java_d_a_a__)
        at d.a.a(Native Method)
        at d.a.<clinit>(SourceFile:38)
        at d.a.b(SourceFile:50)
        **at com.fiskaly.kassensichv.sma.Sma.<clinit>(SourceFile:11)**
        **at com.fiskaly.kassensichv.sma.Sma.invoke(Native Method)**
        **at com.fiskaly.kassensichv.sma.AndroidSma.invoke(SourceFile:6)**
        **at com.fiskaly.kassensichv.client.interceptors.TransactionInterceptor.signTransaction(SourceFile:49)**
        **at com.fiskaly.kassensichv.client.interceptors.TransactionInterceptor.intercept(SourceFile:147)**
        at okhttp3.E.d.g.a(SourceFile:112)
        at okhttp3.E.d.g.a(SourceFile:87)
        at com.fiskaly.kassensichv.client.interceptors.AuthenticationInterceptor.intercept(SourceFile:49)
        at okhttp3.E.d.g.a(SourceFile:112)
        at okhttp3.E.d.g.a(SourceFile:87)
        at com.fiskaly.kassensichv.client.interceptors.HeaderInterceptor.intercept(SourceFile:23)
        at okhttp3.E.d.g.a(SourceFile:112)
        at okhttp3.E.d.g.a(SourceFile:87)
        at okhttp3.x.c(SourceFile:184)
        at okhttp3.x.a(SourceFile:66)

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

It comes from this class:

package com.fiskaly.kassensichv.sma;

import go.Seq;

public abstract class Sma {
    private Sma() {
    }

    public static void touch() {
    }

    private static native void _init();

    public static native String invoke(String var0);

    static {
        Seq.touch();
        _init();
    }
}

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

From this line more precisely:
Seq.touch();
What's the go.Seq library?

from fiskaly-kassensichv-client-java.

 avatar commented on June 24, 2024

Problem fixed. Here are the Proguard rules:

# Fiskaly
-keepclassmembers enum * {
    public static **[] values();
    public static ** valueOf(java.lang.String);
}
-keep class com.fiskaly.kassensichv.sma.** { *; }
-keep class go.** { *; }

from fiskaly-kassensichv-client-java.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.