stephentuso/welcome-android

Updating project causes issues with class resolution

gpaluk opened this issue · 4 comments

I am in the process of updating the gradle files to a project that was working fine about 7 months ago. I am attempting to update to buildToolsVersion 27.0.3, compileSdkVersion 27

I have the following dependencies config:

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })

    compile(name: 'unity-ads', ext: 'aar')
    compile files('libs/YouTubeAndroidPlayerApi.jar')

    compile('com.stripe:stripe-android:1.0.4@aar') {
        transitive = true;
    }
    compile('io.fabric.sdk.android:fabric:1.3.10@aar') {
        transitive = true;
    }
    compile('com.crashlytics.sdk.android:crashlytics:2.6.8@aar') {
        transitive = true;
    }
    compile('com.twitter.sdk.android:twitter:3.1.1@aar') {
        transitive = true
    }
    compile('me.leolin:ShortcutBadger:1.1.21@aar') {
        transitive = true
    }


    compile 'com.google.android.gms:play-services-ads:15.0.1'
    compile 'com.google.android.gms:play-services-auth:15.0.1'

    implementation 'com.google.firebase:firebase-core:15.0.2'
    implementation 'com.google.firebase:firebase-database:15.0.1'
    implementation 'com.google.firebase:firebase-auth:15.1.0'
    implementation 'com.google.firebase:firebase-messaging:15.0.2'
    implementation 'com.google.firebase:firebase-storage:15.0.2'
    implementation 'com.google.firebase:firebase-config:15.0.2'

    compile 'com.android.support:appcompat-v7:27.1.1'
    compile 'com.android.support:support-compat:27.1.1'
    compile 'com.android.support:recyclerview-v7:27.1.1'
    compile 'com.android.support:cardview-v7:27.1.1'
    compile 'com.android.support:design:27.1.1'
    compile "com.android.support:support-emoji:27.1.1"
    compile 'com.android.support.constraint:constraint-layout:1.1.0'
    compile 'com.android.volley:volley:1.1.0'

    compile 'com.facebook.android:facebook-android-sdk:4.33.0'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'com.squareup.okhttp:okhttp:2.4.0'
    compile 'jp.wasabeef:picasso-transformations:2.2.1'
    compile 'jp.co.cyberagent.android.gpuimage:gpuimage-library:1.4.1'
    compile 'com.stephentuso:welcome:1.4.1'

    testCompile 'junit:junit:4.12'
}

And the following build script config:

    repositories {
        mavenCentral()
        jcenter()
        google()
        maven { url 'https://maven.fabric.io/public' }
        maven { url 'https://maven.google.com' }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.2'
        classpath 'com.google.gms:google-services:3.3.0'
        classpath 'io.fabric.tools:gradle:1.25.3'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

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

task clean(type: Delete) {
    delete rootProject.buildDir
}

Everything in the updated project seems to be resolving except for the 'welcome-android' library which results in a 'Cannot resolve symbol WelcomeActivity' etc. I investigated it, assuming that it might be an issue with the repository dependency configuration and perhaps it had changed from mavernCentral() however that doesn't seem to be the case. This is in a live production app that is requiring an update from the market vendors and so I would like to resolve it ASAP. Many thanks if you can help.

I'll be able to look into this tonight

It feels like it isn't resolving from the repo, as if I'm missing a Url or its misconfigured somehow. I'm trying to continue to investigate but I'm at a bit of a dead end.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

#Failbot