Code Monkey home page Code Monkey logo

Comments (7)

alexch33 avatar alexch33 commented on June 12, 2024

hiii, i will use your library for download insta and Facebook Video. i will update version code...when app in debug mode downlaod was working but app live i will show Toast.(failed to update). please help . thanks.

hi!
try to add in app build.gradle file:

    splits {
        abi {
            enable true
            reset()
            include 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
            universalApk true
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }

and in proguards file:

-keep class com.yausername.youtubedl_android.** { *; }

and include proguards file in release build in app's build.gradle:

 release {
            ...

            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }

from youtubedl-android.

akshat9902 avatar akshat9902 commented on June 12, 2024

Thanks For Help But in Live App Facing Same Error .i will provides some ScreenShots .

As you mentioned above, I have add in my project.. show in below ScreenShots of my gradle file.
ScreenShot 1==> newss

but When my app is Live in playStore then it shows some Toast error as shown in below Square Box in ScreenShots ..
ScreenShot 1==>issue 1
ScreenShot 1===>issue 2.

when we create And Test Relese Apk .Update and Download Video Both Successfull.
.i will provides some ScreenShots ok Relese Apk.
ScreenShot 1==> relese update

Screen Shot 2 ==> downlaod relese

from youtubedl-android.

syedusama5556 avatar syedusama5556 commented on June 12, 2024

the issue is the packaging so you have to add these lines in the gradle

        resources {
            excludes += ['mozilla/public-suffix-list.txt',
                         'META-INF/DEPENDENCIES',
                         'META-INF/LICENSE',
                         'META-INF/LICENSE.txt',
                         'META-INF/license.txt',
                         'META-INF/NOTICE',
                         'META-INF/NOTICE.txt',
                         'META-INF/notice.txt',
                         'META-INF/ASL2.0',
                         'META-INF/*.kotlin_module']
        }
        jniLibs.useLegacyPackaging = true
    }



    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }

from youtubedl-android.

Related Issues (20)

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.