Home > Software engineering >  Geckoview on Android
Geckoview on Android

Time:12-12

I'm trying to get Geckoview setup in my android app. I am following the tutorial here but I get an error that it doesn't exist. Is anyone familar with Geckoview who can help me out? Did it move or something?

Here is the error I get

Could not find org.mozilla.geckoview:geckoview-nightly:97.0.20211210143634. Required by: project :app

Ive followed the instructions and have

    implementation "org.mozilla.geckoview:geckoview-${geckoview_channel}:${geckoview_version}"

With the most recent version pulled from; https://maven.mozilla.org/maven2?prefix=maven2/org/mozilla/geckoview/

Any help would be appreciated :)

CodePudding user response:

I searched in the maven find the version you use. Geckoview has three release channels: Stable, Beta, and Nightly. I strongly recommend you use the Stable not Nightly. it is not statle channel.

you can open the geckoview in the link you desc, it show all the version it has. or you can directly open this geckoview version.

I think you problem is you don not add the maven responsitory in the root project.

repositories {
    maven {
        url "https://maven.mozilla.org/maven2/"
    }
 } 

you can try add it to rebuild again

  • Related