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

Could not find OneSignal-4.6.4.aar #1509

Closed
astraube opened this issue Jan 11, 2022 · 18 comments
Closed

Could not find OneSignal-4.6.4.aar #1509

astraube opened this issue Jan 11, 2022 · 18 comments

Comments

@astraube
Copy link

astraube commented Jan 11, 2022

Description:

Could not find OneSignal-4.6.4.aar

https://repo.maven.apache.org/maven2/com/onesignal/OneSignal/4.6.4/

Stacktrace:

* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Failed to transform OneSignal-4.6.4.aar (com.onesignal:OneSignal:4.6.4) to match attributes {artifactType=android-jni, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Could not find OneSignal-4.6.4.aar (com.onesignal:OneSignal:4.6.4).
        Searched in the following locations:
            https://repo.maven.apache.org/maven2/com/onesignal/OneSignal/4.6.4/OneSignal-4.6.4.aar
@Muhammadwahab
Copy link

Yes the same issue occurred on my device working fine on yesterday I unable to build the app due to this issue

@vladikstyle
Copy link

yeah,same issue today.

@Muhammadwahab
Copy link

yeah,same issue today.

Hi ,did you able to fix this issue ?

@vladikstyle
Copy link

yeah,same issue today.

Hi ,did you able to fix this issue ?

no, i think this link not aviable https://jcenter.bintray.com/com/onesignal/OneSignal/4.6.4/OneSignal-4.6.4.aar
that is reason of issue

@Muhammadwahab
Copy link

yeah,same issue today.

Hi ,did you able to fix this issue ?

no, i think this link not aviable https://jcenter.bintray.com/com/onesignal/OneSignal/4.6.4/OneSignal-4.6.4.aar that is reason of issue

yeh might be solved by one signal so waiting for their response

@oktayagca
Copy link

Hi,
same issue today and i solved it by adding mavenCentral() to gradle file.

@vladikstyle
Copy link

Hi, same issue today and i solved it by adding mavenCentral() to gradle file.

doesnt help me( Show code please, where you add mavenCentral()? at repositaries ?

@oktayagca
Copy link

ss

@Muhammadwahab
Copy link

thanks it working now by adding maven central in all repositry section

@vladikstyle
Copy link

yeah , thank you brother

ss

@mshahabrauf
Copy link

mshahabrauf commented Jan 12, 2022

Please make sure you have mavenCentral() in project level gradle like in below order.

buildscript {

    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
        jcenter()
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
}

Add dependency like below as they have described in their setup guide.

dependencies {
    implementation 'com.onesignal:OneSignal:[4.0.0, 4.99.99]'
}

Reason:

image

@JhonatanRamirez
Copy link

Hi friends, I have the same problem, but even though I add the mavenCentral () it doesn't work for me, does anyone have any idea that it might happen?
image

image

@k3nyfk
Copy link

k3nyfk commented Jan 12, 2022

mavenCentral() was already added but the issue was still present.
Switched back to 4.6.3.
implementation 'com.onesignal:OneSignal:4.6.3'

@JhonatanRamirez
Copy link

@k3nyfk Thanks, this worked I had been looking for the error for a long time.

@rollinb
Copy link

rollinb commented Jan 12, 2022

I am having to downgrade to 4.6.3 as well. mavenCentral is already in our repository lists but is not fixing the problem.

@jkasten2
Copy link
Member

There was a signing issue when 4.6.4 was released which cause the .aar file to be omitted from Maven Central. This was fixed in 4.6.5

@astraube
Copy link
Author

There was a signing issue when 4.6.4 was released which cause the .aar file to be omitted from Maven Central. This was fixed in 4.6.5

Thank you very much, problem solved.

@NashidB
Copy link

NashidB commented Jan 21, 2022

ss

fixed my build too

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

10 participants