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

Google Play 64-bit requirement #464

Closed
Mouadabdelghafouraitali opened this issue Aug 9, 2019 · 7 comments
Closed

Google Play 64-bit requirement #464

Mouadabdelghafouraitali opened this issue Aug 9, 2019 · 7 comments

Comments

@Mouadabdelghafouraitali
Copy link

Hi

does this library support 64 bit?

I use this library in my app when I upload the Android App Bundle, I get this message :

image

I have tried two versions 2.0.3 and 1.4.1 (since I can't see the libgpuimage-library.so in 2.0.3) .

After analyzing the Android App Bundle :

image

here's my Gradle file :

android {
        compileSdkVersion 29
        dexOptions {
            preDexLibraries = false
            javaMaxHeapSize "4g"
        }
        defaultConfig {
            applicationId "maa.abc"
            minSdkVersion 18
            targetSdkVersion 29
            versionCode 14
            versionName "1.2.0"
            multiDexEnabled true
            renderscriptTargetApi 28
            renderscriptSupportModeEnabled true
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
            ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'armeabi', 'mips', 'mips64'
        }
        buildTypes {
            release {
                minifyEnabled true
                shrinkResources true
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
            debug {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
            }
        }
        compileOptions {
            sourceCompatibility JavaVersion.VERSION_1_8
            targetCompatibility JavaVersion.VERSION_1_8
        }
        packagingOptions {
            exclude 'META-INF/DEPENDENCIES.txt'
            exclude 'META-INF/LICENSE.txt'
            exclude 'META-INF/NOTICE.txt'
            exclude 'META-INF/NOTICE'
            exclude 'META-INF/LICENSE'
            exclude 'META-INF/DEPENDENCIES'
            exclude 'META-INF/notice.txt'
            exclude 'META-INF/license.txt'
            exclude 'META-INF/dependencies.txt'
            exclude 'META-INF/LGPL2.annotations1'
        }
    }

    dependencies {
  implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation project(':appintro')
    /*ANDROID*/
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.exifinterface:exifinterface:1.0.0'
    implementation 'com.android.support:support-annotations:28.0.3'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.multidex:multidex:2.0.1'
    annotationProcessor 'androidx.annotation:annotation:1.1.0'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'


    /*PHOTO FILTERS (CONTAINS NATIVE CODE)*/
    implementation 'cn.ezandroid:EZFilter:2.0.9'
    implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'

    /*ANIMATION*/
    implementation 'com.daimajia.easing:library:2.0@aar'
    implementation 'com.daimajia.androidanimations:library:2.3@aar'

    /*GLIDE*/
    annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
    implementation 'com.github.bumptech.glide:glide:4.9.0'


    /*PICK IMAGE /TAKE PICTURE*/
    implementation 'com.github.jkwiecien:EasyImage:1.3.1'

    /*TEST IMPLEMENTATION*/
    androidTestImplementation 'androidx.test:runner:1.2.0'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    testImplementation 'junit:junit:4.12'


    /*VIEWS*/
    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
    implementation 'de.hdodenhof:circleimageview:3.0.0'
    implementation 'com.alexvasilkov:gesture-views:2.5.2'
    implementation('com.github.christophesmet:android_maskable_layout:v1.3.1') {
        exclude group: 'com.intellij', module: 'annotations'
    }
    implementation 'com.h6ah4i.android.widget.verticalseekbar:verticalseekbar:1.0.0'
    implementation 'com.github.duanhong169:checkerboarddrawable:1.0.2'


    /*FIREBASE*/
    implementation "com.google.firebase:firebase-core:17.0.1"
    implementation "com.google.firebase:firebase-storage:18.1.1"
    implementation 'com.google.firebase:firebase-database:18.0.1'
    implementation 'com.firebaseui:firebase-ui-database:5.0.0'

    /*HELPER*/
    implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
    implementation 'org.apache.commons:commons-collections4:4.3'
    implementation 'com.github.nanchen2251:CompressHelper:1.0.5'
    implementation 'com.google.code.gson:gson:2.8.5'
    implementation(group: 'uz.shift', name: 'colorpicker', version: '0.5', ext: 'aar')

    /*CHANGING FONT*/
    implementation 'io.github.inflationx:viewpump:2.0.2'
    implementation 'io.github.inflationx:calligraphy3:3.1.1'
}
@huutho-dev
Copy link

Same problem, can not resolve it

@Mouadabdelghafouraitali
Copy link
Author

@huutho-dev I assure you that the GPUImage library is not the issue, show me your Gradle file

@huutho-dev
Copy link

huutho-dev commented Jul 24, 2021

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
    signingConfigs {
        release {
            storeFile file('../store/color.jks')
            storePassword ''
            keyAlias ''
            keyPassword ''
        }
    }

    compileSdkVersion 30
    defaultConfig {
        applicationId "com.colorsplash.android"
        minSdkVersion 17
        targetSdkVersion 30
        versionCode 18
        versionName "1.0.8"
        testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
        multiDexEnabled true
        signingConfig signingConfigs.release
        ndk.abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64', 'armeabi', 'mips', 'mips64'
    }

    buildTypes {
        debug {
            debuggable true
            minifyEnabled false
            shrinkResources false
        }

        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }


}

dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
    implementation project(':utils')
    //    For color splash pick color
    implementation 'com.github.QuadFlask:colorpicker:0.0.13'
    // GPU Image
    implementation 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
    implementation 'com.google.android.gms:play-services-ads:20.2.0'
    implementation 'androidx.multidex:multidex:2.0.0'

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

    implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1")

    implementation 'org.jetbrains.anko:anko-commons:0.10.8'
    implementation 'com.google.code.gson:gson:2.8.2'

    implementation project(':lib_gallery')
}

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

This is my gradle file.

image

image

@Mouadabdelghafouraitali
Copy link
Author

Do you have any files in the raw folder ?

@huutho-dev
Copy link

Yes, i have some files in raw folder.
image

@Mouadabdelghafouraitali
Copy link
Author

I know it, I had faced the same issue, see my answer on Stack Overflow :

https://stackoverflow.com/a/57437086/7954210

@huutho-dev
Copy link

huutho-dev commented Jul 24, 2021

Thanks for support. My prj using .bc file so I cannot delete it. But after I change .bc to .bca it working now !

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

2 participants