Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to Resolve Android Oreo Signalr Error?

    • 0
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 786
    Answer it

    Hello,

     

    When i am using singalr client sdk in android studio its working fine emulator API 23, but when i am change emulator API 26 (Android 8.0 oreo) its shown error like "Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113." and also application not install in anroid 8.0 oreo mobile.

 2 Answer(s)

  • First of all, substitute the official files of SignalR SDK with the files that you can find at this link: https://github.com/eak65/FixedSignalRJar

    When you do that, edit the "build.gradle" file of your application, adding the following code in the "android" block, after the "buildTypes" block:

        splits {
                abi {
                    enable true
                    reset()
                    include 'x86', 'armeabi-v7a'
                    universalApk true
                }
            }
        
        packagingOptions {
                exclude 'lib/getLibs.ps1'
                exclude 'lib/getLibs.sh'
                exclude 'lib/gson-2.2.2.jar'
            }

    The above solution helped me after a lot of struggling! I hope it helps you too!
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: