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

Support for 64-bit ?? #337

Open
ashirmehmood1996 opened this issue Jul 18, 2019 · 69 comments
Open

Support for 64-bit ?? #337

ashirmehmood1996 opened this issue Jul 18, 2019 · 69 comments

Comments

@ashirmehmood1996
Copy link

is any one there from the original developers of this library to provide the support for 64 bit architecture??? at least guide us to a genuine solution...

@semihozkoroglu
Copy link

@ashirmehmood1996 did you any solutions? I am getting error when published app on google play

@softwrengr
Copy link

I'm also getting error while using this library the library does not support 64 bit. please anyone can guid ?

@ashirmehmood1996
Copy link
Author

Thanks to yadavkohi
https://github.com/yadavkohi/FFmpegAndroid.git

  1. he has developed 64 bit lbinaries for this project all you need is to put the 64 bit assets in asset folders from the above link

  2. you need some code changes that are explained by yadavkohi in this comment link or you can simple get them from the above repository link.

  3. and dont forget to metion abi filters in app level gradle https://developer.android.com/distribute/best-practices/develop/64-bit#building_with_android_studio_or_gradle

@ArjunBhilare
Copy link

Hello @ashirmehmood1996 thank you for providing the solution. I'm new to android development and I was using this library in my project. Could you please help me how to add these 64-bit binaries? Like do we have to copy arm64-v8a and x86_64 folders to our app asset folder? And how can we make changes to the code you'd mentioned above? I've installed the library using implementation 'com.writingminds:FFmpegAndroid:0.3.2'. Any help would really be appreciated....

@ashirmehmood1996
Copy link
Author

@ArjunBhilare the libraries I was dealing with were offline. I was given a task at my work space to make the code compatible with 64 bit OS as per google warning. The code handed over to me was using downloaded libraries as binaries. Unfortunately I don't know in your case how exactly we can do that. I am a bit junior too for that task. May be yadavkohi can help you out in that case.

@ArjunBhilare
Copy link

Ohh okay. Thank you @ashirmehmood1996. If possible could you share your project structure just so that I could get a hint on how to place the library folder?

@ashirmehmood1996
Copy link
Author

file structure

@ArjunBhilare
Copy link

Thank you @ashirmehmood1996. This really helped a lot to understand how to place the folders. One last question, could you please tell how have you implemented this in your build.gradle(Module: app) file?

@ashirmehmood1996
Copy link
Author

Actually it was not implemented by me I just added support of 64-bit using he method I described above

`apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "<your.ap.id>"
minSdkVersion 19
targetSdkVersion 28
versionCode 4
versionName "1.3"
multiDexEnabled true
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'

    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}


lintOptions {

    checkReleaseBuilds false

}
buildTypes {
    release {
        minifyEnabled false

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

}
repositories {
maven {
url "http://dl.bintray.com/jlmd/maven"
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation files('libs/glide-3.7.0.jar')
implementation 'com.white:progressview:1.0.1'
implementation 'com.crystal:crystalrangeseekbar:1.1.3'
implementation project(':ananas')
implementation project(':library')



implementation 'com.google.android.gms:play-services-ads:17.2.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.google.firebase:firebase-core:16.0.9'
// implementation 'com.github.appunite:video-player-android:1.0.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

}

apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
`

@ArjunBhilare
Copy link

ArjunBhilare commented Aug 28, 2019

Ohh okay. Thank you @ashirmehmood1996 for replying . Actually, I'm looking for how the ffmpeg library was implemented. I followed your steps and added support of 64-bit. But I don't know how to implement its dependency in build.gradle because of which I'm getting Cannot resolve symbol 'FFmpeg' error in my code. In the code file code you shared above I cannot understand how FFMPEG is implemented. If you could throw some light on it, it would really help me a lot. Till now I've followed all the steps you've told only the implementation in build.gradle is left. Would be really grateful if you could help me with this issue...

@ArjunBhilare
Copy link

@ashirmehmood1996 did you find anything that implements the library you've included in your project?

@ArjunBhilare
Copy link

@ashirmehmood1996 @yadavkohi I've added the support for 64 bit by adding 64-bit binaries over here https://github.com/ArjunBhilare/ffmpeg-android-java But still when I upload the app on Play Store it shows support for only 32-bit included. Could you please have a look at it and help me find the bug causing this issue?

@yadavkohi
Copy link

You can refer the following repo for ffmpeg library code : https://github.com/yadavkohi/FFmpegAndroid

@ArjunBhilare
Copy link

Yes, I've followed the same @yadavkohi I've replaced the FFmpegAndroid folder with the one you mentioned above. You can check it here https://github.com/ArjunBhilare/ffmpeg-android-java Could you please check it. Because when I implemented it in my project and uploaded app to Play Store it still shows error. I really can't understand where the error is and how to resolve this issue. Would be very very grateful of you @yadavkohi if you could help me

@ArjunBhilare
Copy link

Or if possible @yadavkohi could you upload a whole new repository of the complete library with 32-bit and 64-bit support. Since I don't have much in-depth knowledge in this there could be something missing in https://github.com/ArjunBhilare/ffmpeg-android-java due to which it's not supporting 64-bit.

@ArjunBhilare
Copy link

Capture
and
a

This is the error I'm getting on Google Play. Could you please help with this?

@yadavkohi
Copy link

follow the repo : https://github.com/yadavkohi/FFmpegAndroid and remove some unused folder from ffmpeg submodule like jni, libs etc.

@ArjunBhilare
Copy link

Okay I'll follow the above repo and try and let you know if it works. Thank you @yadavkohi for the help, will let you know soon

@softwrengr
Copy link

@ashirmehmood1996 does your method solved the issue for 64 bit like you put some stuffs in your assest folder ?

@softwrengr
Copy link

@ArjunBhilare after following @ashirmehmood1996 way still you are getting the error ?

@ArjunBhilare
Copy link

1
2
3
4
5

in settings.gradle
6

@ArjunBhilare
Copy link

@ArjunBhilare after following @ashirmehmood1996 way still you are getting the error ?

Yes I'm still getting the error

@ArjunBhilare
Copy link

1
2
3
4
5

in settings.gradle
6

@yadavkohi I've followed the repo you mentioned. I'm still getting the error. I've attached the screenshots above. Could you please help me? Where am I going wrong? I followed the steps you mentioned

@ArjunBhilare
Copy link

@softwrengr did you resolve this issue?

@ashirmehmood1996
Copy link
Author

@ArjunBhilare can you show the expanded picture of jni libs folder

@ArjunBhilare
Copy link

23

@ashirmehmood1996
Copy link
Author

further expand them

@ArjunBhilare
Copy link

More?

@ashirmehmood1996
Copy link
Author

yeah the sub folders

@ArjunBhilare
Copy link

Capture

@ArjunBhilare
Copy link

Shall I delete the libs folder and jni folder then?

@yadavkohi
Copy link

If you are only using the ffmpeg binaries then you can delete those folders.

@ashirmehmood1996
Copy link
Author

Shall I delete the libs folder and jni folder then?

donot delete them straigh away. cut them o another folder and see if things are working

@ArjunBhilare
Copy link

Yaa I've added the missing .so files and folder. Will try to publish the app using this
Capture

@ArjunBhilare
Copy link

11

@ArjunBhilare
Copy link

ArjunBhilare commented Aug 29, 2019

@ashirmehmood1996 @yadavkohi Now the error is gone. But I'm getting this warning

aaa

@yadavkohi
Copy link

what is the error now?

@ArjunBhilare
Copy link

Device support removed warning. I did not understand why this warning is shown

@ashirmehmood1996
Copy link
Author

have you changed the minimum SDK ?

@yadavkohi
Copy link

It seems like some configuration changed from you previous playstore build, so it will re-install the app on existing users instead of updating the existing app.

@ArjunBhilare
Copy link

Capture

Between the previous and this update there is 4 shown under Native platform. Does that have something to do with this warning?

@ashirmehmood1996
Copy link
Author

stackoverflow may be you doing something like him

@ArjunBhilare
Copy link

manifest

This is the uses feature in my app.. I did not change anything in the manifest from the previous update...

@ArjunBhilare
Copy link

It seems like some configuration changed from you previous playstore build, so it will re-install the app on existing users instead of updating the existing app.

Ohhh but it also says app being available for new installs on fewer types of devices.

@ashirmehmood1996
Copy link
Author

add required: false if it is not necessary for this app to work

@ArjunBhilare
Copy link

Yes I'll do that

@ArjunBhilare
Copy link

ArjunBhilare commented Aug 29, 2019

qq

qq1

@ashirmehmood1996 @yadavkohi I think the warning is because of native platform value. In the latest one (1st image) it says it supports 5 native platforms and in the second one (the previous update) it shows all native platforms. So that's why it might be showing that warning. What are the maximum number of native platforms?

@shah-Foram
Copy link

Thanks to yadavkohi
https://github.com/yadavkohi/FFmpegAndroid.git

  1. he has developed 64 bit lbinaries for this project all you need is to put the 64 bit assets in asset folders from the above link
  2. you need some code changes that are explained by yadavkohi in this comment link or you can simple get them from the above repository link.
  3. and dont forget to metion abi filters in app level gradle https://developer.android.com/distribute/best-practices/develop/64-bit#building_with_android_studio_or_gradle

Thank you so much @yadavkohi it's working like charm. you save my day.

@equationl
Copy link

Hey guys, I just found a project from this which support 64bit.
But I think the size too big to me, so I just edited a project like this, Use download instead of packaging all binaries. Now it just 20kb.

@4leyam
Copy link

4leyam commented Oct 29, 2019

thank you guys, @yadavkohi for your work, @ashirmehmood1996 for your complete helpful comments and orientations, @ArjunBhilare for your screenshots. your help was very precious....

@surabhiverma1
Copy link

@ashirmehmood1996 @yadavkohi Now the error is gone. But I'm getting this warning

aaa

are these changes running for android 10?

@robmr88
Copy link

robmr88 commented May 4, 2020

2. link

Hi, do you know where the java files are that need to be modified?
I can't find them

@robmr88
Copy link

robmr88 commented May 5, 2020

Hi everyone, I'm also trying to make a project using this library to be 63 bit compatible. I added the ffmpeg.so in the assets and after I build the apk and analyze it I have the assets folder that contains x86, x86_64 , armeabi-v7a and arm64-v8a. So that's ok. BUT the lib folder has this file called libARM_ARCH.so that is only contained in armeabi-v7a and x86. It is not present in the 64 bit folders. Has anyone had this issue? @ashirmehmood1996 @yadavkohi

@pratikbutani
Copy link

I got a solution and My app is published successfully without warning. I have also tested in Firebase Testlab with 5 different devices.

The build.gradle may help you:

apply plugin: 'com.android.application'
// Apply the Firebase Crashlytics plugin.
apply plugin: 'com.google.firebase.crashlytics'

android {
	compileSdkVersion 29
	buildToolsVersion "29.0.2"
	defaultConfig {
		applicationId 'com.example.demo'
		minSdkVersion 21
		targetSdkVersion 28
		multiDexEnabled true
		versionCode 3
		versionName '1.2'
		resConfigs "en"
		testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
		vectorDrawables.useSupportLibrary true

		renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
	}
	dataBinding {
		enabled true
	}
	buildTypes {
		release {
			minifyEnabled true
			shrinkResources true
			proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

			//Other parameters
			debuggable false
			jniDebuggable false
			renderscriptDebuggable false
			//signingConfig playStoreConfig //Add your own signing config
			pseudoLocalesEnabled false
			zipAlignEnabled true
		}
	}
	packagingOptions {
		exclude 'META-INF/DEPENDENCIES'
		exclude 'META-INF/LICENSE'
		exclude 'META-INF/LICENSE.txt'
		exclude 'META-INF/license.txt'
		exclude 'META-INF/NOTICE'
		exclude 'META-INF/NOTICE.txt'
		exclude 'META-INF/notice.txt'
		exclude 'META-INF/ASL2.0'
	}
       aaptOptions {
            ignoreAssetsPattern "!*ffprobe"
            ignoreAssetsPattern "!*ffmpeg"
            ignoreAssetsPattern "!arm"
            ignoreAssetsPattern "!x86"
            additionalParameters "--no-version-vectors"
            cruncherEnabled = false
        }
	compileOptions {
             sourceCompatibility JavaVersion.VERSION_1_8
             targetCompatibility JavaVersion.VERSION_1_8
	}
}

dependencies {
	implementation fileTree(dir: 'libs', include: ['*.jar'])
	implementation 'androidx.appcompat:appcompat:1.1.0'
	implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
	implementation 'com.google.android.material:material:1.1.0'

	implementation 'com.google.firebase:firebase-firestore:21.4.3'
	implementation 'com.firebaseui:firebase-ui-firestore:6.0.2'
	implementation 'com.google.firebase:firebase-analytics:17.4.0'
	implementation 'com.google.firebase:firebase-messaging:20.1.6'
	implementation 'com.google.firebase:firebase-config:19.1.4'
    implementation 'com.google.firebase:firebase-crashlytics:17.0.0'
    implementation 'com.google.android.gms:play-services-ads:19.1.0'
    implementation 'com.google.firebase:firebase-auth:19.3.1'
    implementation 'com.google.android.gms:play-services-auth:18.0.0'

	implementation 'com.github.bumptech.glide:glide:4.11.0'
	annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

	annotationProcessor 'androidx.annotation:annotation:1.1.0'

	implementation 'io.github.inflationx:calligraphy3:3.1.1'
	implementation 'io.github.inflationx:viewpump:2.0.3'

	testImplementation 'junit:junit:4.13'
	implementation 'androidx.multidex:multidex:2.0.1'
	androidTestImplementation 'androidx.test:runner:1.2.0'
	androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation 'com.squareup.retrofit2:retrofit:2.8.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.8.1'

	implementation 'com.danikula:videocache:2.7.1'
	implementation 'com.github.HamidrezaAmz:MagicalExoPlayer:1.0.14'

	implementation 'com.github.AppIntro:AppIntro:5.1.0'
	implementation 'com.writingminds:FFmpegAndroid:0.3.2'
}

apply plugin: 'com.google.gms.google-services'

I made three changes in that:

  1. Added lines in default config:
                renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
  1. added packagingOptions
  2. added aaptOptions

Try. May you will get success.

@robmr88
Copy link

robmr88 commented May 7, 2020

I got a solution and My app is published successfully without warning. I have also tested in Firebase Testlab with 5 different devices.

The build.gradle may help you:

apply plugin: 'com.android.application'
// Apply the Firebase Crashlytics plugin.
apply plugin: 'com.google.firebase.crashlytics'

android {
	compileSdkVersion 29
	buildToolsVersion "29.0.2"
	defaultConfig {
		applicationId 'com.example.demo'
		minSdkVersion 21
		targetSdkVersion 28
		multiDexEnabled true
		versionCode 3
		versionName '1.2'
		resConfigs "en"
		testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
		vectorDrawables.useSupportLibrary true

		renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
	}
	dataBinding {
		enabled true
	}
	buildTypes {
		release {
			minifyEnabled true
			shrinkResources true
			proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

			//Other parameters
			debuggable false
			jniDebuggable false
			renderscriptDebuggable false
			//signingConfig playStoreConfig //Add your own signing config
			pseudoLocalesEnabled false
			zipAlignEnabled true
		}
	}
	packagingOptions {
		exclude 'META-INF/DEPENDENCIES'
		exclude 'META-INF/LICENSE'
		exclude 'META-INF/LICENSE.txt'
		exclude 'META-INF/license.txt'
		exclude 'META-INF/NOTICE'
		exclude 'META-INF/NOTICE.txt'
		exclude 'META-INF/notice.txt'
		exclude 'META-INF/ASL2.0'
	}
       aaptOptions {
            ignoreAssetsPattern "!*ffprobe"
            ignoreAssetsPattern "!*ffmpeg"
            ignoreAssetsPattern "!arm"
            ignoreAssetsPattern "!x86"
            additionalParameters "--no-version-vectors"
            cruncherEnabled = false
        }
	compileOptions {
             sourceCompatibility JavaVersion.VERSION_1_8
             targetCompatibility JavaVersion.VERSION_1_8
	}
}

dependencies {
	implementation fileTree(dir: 'libs', include: ['*.jar'])
	implementation 'androidx.appcompat:appcompat:1.1.0'
	implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
	implementation 'com.google.android.material:material:1.1.0'

	implementation 'com.google.firebase:firebase-firestore:21.4.3'
	implementation 'com.firebaseui:firebase-ui-firestore:6.0.2'
	implementation 'com.google.firebase:firebase-analytics:17.4.0'
	implementation 'com.google.firebase:firebase-messaging:20.1.6'
	implementation 'com.google.firebase:firebase-config:19.1.4'
    implementation 'com.google.firebase:firebase-crashlytics:17.0.0'
    implementation 'com.google.android.gms:play-services-ads:19.1.0'
    implementation 'com.google.firebase:firebase-auth:19.3.1'
    implementation 'com.google.android.gms:play-services-auth:18.0.0'

	implementation 'com.github.bumptech.glide:glide:4.11.0'
	annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

	annotationProcessor 'androidx.annotation:annotation:1.1.0'

	implementation 'io.github.inflationx:calligraphy3:3.1.1'
	implementation 'io.github.inflationx:viewpump:2.0.3'

	testImplementation 'junit:junit:4.13'
	implementation 'androidx.multidex:multidex:2.0.1'
	androidTestImplementation 'androidx.test:runner:1.2.0'
	androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation 'com.squareup.retrofit2:retrofit:2.8.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.8.1'

	implementation 'com.danikula:videocache:2.7.1'
	implementation 'com.github.HamidrezaAmz:MagicalExoPlayer:1.0.14'

	implementation 'com.github.AppIntro:AppIntro:5.1.0'
	implementation 'com.writingminds:FFmpegAndroid:0.3.2'
}

apply plugin: 'com.google.gms.google-services'

I made three changes in that:

  1. Added lines in default config:
                renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
  1. added packagingOptions
  2. added aaptOptions

Try. May you will get success.

Hi, thank you for your help. But I ended up replacing this library with another one that is more up to date

@pratikbutani
Copy link

I got a solution and My app is published successfully without warning. I have also tested in Firebase Testlab with 5 different devices.
The build.gradle may help you:

apply plugin: 'com.android.application'
// Apply the Firebase Crashlytics plugin.
apply plugin: 'com.google.firebase.crashlytics'

android {
	compileSdkVersion 29
	buildToolsVersion "29.0.2"
	defaultConfig {
		applicationId 'com.example.demo'
		minSdkVersion 21
		targetSdkVersion 28
		multiDexEnabled true
		versionCode 3
		versionName '1.2'
		resConfigs "en"
		testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
		vectorDrawables.useSupportLibrary true

		renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
	}
	dataBinding {
		enabled true
	}
	buildTypes {
		release {
			minifyEnabled true
			shrinkResources true
			proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'

			//Other parameters
			debuggable false
			jniDebuggable false
			renderscriptDebuggable false
			//signingConfig playStoreConfig //Add your own signing config
			pseudoLocalesEnabled false
			zipAlignEnabled true
		}
	}
	packagingOptions {
		exclude 'META-INF/DEPENDENCIES'
		exclude 'META-INF/LICENSE'
		exclude 'META-INF/LICENSE.txt'
		exclude 'META-INF/license.txt'
		exclude 'META-INF/NOTICE'
		exclude 'META-INF/NOTICE.txt'
		exclude 'META-INF/notice.txt'
		exclude 'META-INF/ASL2.0'
	}
       aaptOptions {
            ignoreAssetsPattern "!*ffprobe"
            ignoreAssetsPattern "!*ffmpeg"
            ignoreAssetsPattern "!arm"
            ignoreAssetsPattern "!x86"
            additionalParameters "--no-version-vectors"
            cruncherEnabled = false
        }
	compileOptions {
             sourceCompatibility JavaVersion.VERSION_1_8
             targetCompatibility JavaVersion.VERSION_1_8
	}
}

dependencies {
	implementation fileTree(dir: 'libs', include: ['*.jar'])
	implementation 'androidx.appcompat:appcompat:1.1.0'
	implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
	implementation 'com.google.android.material:material:1.1.0'

	implementation 'com.google.firebase:firebase-firestore:21.4.3'
	implementation 'com.firebaseui:firebase-ui-firestore:6.0.2'
	implementation 'com.google.firebase:firebase-analytics:17.4.0'
	implementation 'com.google.firebase:firebase-messaging:20.1.6'
	implementation 'com.google.firebase:firebase-config:19.1.4'
    implementation 'com.google.firebase:firebase-crashlytics:17.0.0'
    implementation 'com.google.android.gms:play-services-ads:19.1.0'
    implementation 'com.google.firebase:firebase-auth:19.3.1'
    implementation 'com.google.android.gms:play-services-auth:18.0.0'

	implementation 'com.github.bumptech.glide:glide:4.11.0'
	annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

	annotationProcessor 'androidx.annotation:annotation:1.1.0'

	implementation 'io.github.inflationx:calligraphy3:3.1.1'
	implementation 'io.github.inflationx:viewpump:2.0.3'

	testImplementation 'junit:junit:4.13'
	implementation 'androidx.multidex:multidex:2.0.1'
	androidTestImplementation 'androidx.test:runner:1.2.0'
	androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    implementation 'com.squareup.retrofit2:retrofit:2.8.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.8.1'

	implementation 'com.danikula:videocache:2.7.1'
	implementation 'com.github.HamidrezaAmz:MagicalExoPlayer:1.0.14'

	implementation 'com.github.AppIntro:AppIntro:5.1.0'
	implementation 'com.writingminds:FFmpegAndroid:0.3.2'
}

apply plugin: 'com.google.gms.google-services'

I made three changes in that:

  1. Added lines in default config:
                renderscriptTargetApi 19
		renderscriptSupportModeEnabled true
		ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
  1. added packagingOptions
  2. added aaptOptions

Try. May you will get success.

Hi, thank you for your help. But I ended up replacing this library with another one that is more up to date

Which library have you used?

@robmr88
Copy link

robmr88 commented May 7, 2020

@Apsalogics
Copy link

I Solve this 64 bit Uploading Issue from below answer
#337 (comment)

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

13 participants