Maven Repository on Github not downloading transitive dependenciesHow can I remove a commit on GitHub?Pull new updates from original GitHub repository into forked GitHub repositoryHow can I determine the URL that a local Git repository was originally cloned from?Is there a way to cache GitHub credentials for pushing commits?Download a single folder or directory from a GitHub repoHow do I update a GitHub forked repository?Add images to README.md on GitHubCreate a tag in a GitHub repositoryHow to display Map on emulatorKotlin fails to compile a library

"You've called the wrong number" or "You called the wrong number"

How can I print the prosodic symbols in LaTeX?

Why do games have consumables?

What term is being referred to with "reflected-sound-of-underground-spirits"?

What is the philosophical significance of speech acts/implicature?

How did Captain America manage to do this?

What is causing the white spot to appear in some of my pictures

Elements other than carbon that can form many different compounds by bonding to themselves?

Don’t seats that recline flat defeat the purpose of having seatbelts?

What does the integral of a function times a function of a random variable represent, conceptually?

Function pointer with named arguments?

can anyone help me with this awful query plan?

Who was the lone kid in the line of people at the lake at the end of Avengers: Endgame?

How to not starve gigantic beasts

Is there really no use for MD5 anymore?

How to denote matrix elements succinctly?

Could the terminal length of components like resistors be reduced?

Are there physical dangers to preparing a prepared piano?

Apply MapThread to all but one variable

Pre-plastic human skin alternative

How can I practically buy stocks?

How come there are so many candidates for the 2020 Democratic party presidential nomination?

"The cow" OR "a cow" OR "cows" in this context

Which big number is bigger?



Maven Repository on Github not downloading transitive dependencies


How can I remove a commit on GitHub?Pull new updates from original GitHub repository into forked GitHub repositoryHow can I determine the URL that a local Git repository was originally cloned from?Is there a way to cache GitHub credentials for pushing commits?Download a single folder or directory from a GitHub repoHow do I update a GitHub forked repository?Add images to README.md on GitHubCreate a tag in a GitHub repositoryHow to display Map on emulatorKotlin fails to compile a library






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have created a maven repository and uploaded it to Github. When I add it as a dependency to a sample project, the gradle sync completes successfully. But when I try to run the app, it crashes with a java.lang.NoClassDefFoundError.



Link to repository: https://github.com/rjain90/sdk



Sample project code:



Project build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext
kotlin_version = '1.3.20'
realm_version = '5.8.0'

repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"

dependencies
classpath 'com.android.tools.build:gradle:3.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:$realm_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"



task clean(type: Delete)
delete rootProject.buildDir


ext
lifecycle_version = '2.0.0'
android_support_version = '1.1.0-alpha01'
legacy_support_version = '1.0.0'
constraint_version = '1.1.3'

retrofit_version = '2.4.0'
dagger_version = '2.16'

rxjava_version = '2.1.7'
rxandroid_version = '2.0.1'



Module build.gradle



apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

apply plugin: 'kotlin-kapt'

apply plugin: 'realm-android'

// Load keystore
def keystorePropertiesFile = rootProject.file("keystore.properties");
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android
signingConfigs
release
keyAlias keystoreProperties['ANDROID_KEY_ALIAS']
keyPassword keystoreProperties['ANDROID_KEY_PASSWORD']
storeFile file(keystoreProperties['ANDROID_KEYSTORE_LOCATION'])
storePassword keystoreProperties['ANDROID_STORE_PASSWORD']



compileSdkVersion 28
defaultConfig
applicationId "com.bowstring.godworld"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

buildTypes
debug
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


release
signingConfig signingConfigs.release
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


compileOptions
sourceCompatibility 1.8
targetCompatibility 1.8



dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"

implementation "androidx.appcompat:appcompat:$android_support_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_version"

implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"

implementation "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"

implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"

implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'


implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'com.cabfare.android:sdk:0.0.18@aar'










share|improve this question

















  • 1





    Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

    – Geno Chen
    Mar 11 at 9:56












  • @GenoChen I tried using Jitpack but ran into the same problem

    – Rishabh Jain
    Mar 11 at 17:53











  • What is the NoClassDefError generated for? For your library?

    – Geno Chen
    Mar 11 at 17:55











  • Besides, "the same problem" may even not precise: Maybe throwing for different place.

    – Geno Chen
    Mar 12 at 3:26











  • The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

    – Rishabh Jain
    Mar 12 at 8:03


















1















I have created a maven repository and uploaded it to Github. When I add it as a dependency to a sample project, the gradle sync completes successfully. But when I try to run the app, it crashes with a java.lang.NoClassDefFoundError.



Link to repository: https://github.com/rjain90/sdk



Sample project code:



Project build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext
kotlin_version = '1.3.20'
realm_version = '5.8.0'

repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"

dependencies
classpath 'com.android.tools.build:gradle:3.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:$realm_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"



task clean(type: Delete)
delete rootProject.buildDir


ext
lifecycle_version = '2.0.0'
android_support_version = '1.1.0-alpha01'
legacy_support_version = '1.0.0'
constraint_version = '1.1.3'

retrofit_version = '2.4.0'
dagger_version = '2.16'

rxjava_version = '2.1.7'
rxandroid_version = '2.0.1'



Module build.gradle



apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

apply plugin: 'kotlin-kapt'

apply plugin: 'realm-android'

// Load keystore
def keystorePropertiesFile = rootProject.file("keystore.properties");
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android
signingConfigs
release
keyAlias keystoreProperties['ANDROID_KEY_ALIAS']
keyPassword keystoreProperties['ANDROID_KEY_PASSWORD']
storeFile file(keystoreProperties['ANDROID_KEYSTORE_LOCATION'])
storePassword keystoreProperties['ANDROID_STORE_PASSWORD']



compileSdkVersion 28
defaultConfig
applicationId "com.bowstring.godworld"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

buildTypes
debug
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


release
signingConfig signingConfigs.release
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


compileOptions
sourceCompatibility 1.8
targetCompatibility 1.8



dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"

implementation "androidx.appcompat:appcompat:$android_support_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_version"

implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"

implementation "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"

implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"

implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'


implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'com.cabfare.android:sdk:0.0.18@aar'










share|improve this question

















  • 1





    Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

    – Geno Chen
    Mar 11 at 9:56












  • @GenoChen I tried using Jitpack but ran into the same problem

    – Rishabh Jain
    Mar 11 at 17:53











  • What is the NoClassDefError generated for? For your library?

    – Geno Chen
    Mar 11 at 17:55











  • Besides, "the same problem" may even not precise: Maybe throwing for different place.

    – Geno Chen
    Mar 12 at 3:26











  • The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

    – Rishabh Jain
    Mar 12 at 8:03














1












1








1


1






I have created a maven repository and uploaded it to Github. When I add it as a dependency to a sample project, the gradle sync completes successfully. But when I try to run the app, it crashes with a java.lang.NoClassDefFoundError.



Link to repository: https://github.com/rjain90/sdk



Sample project code:



Project build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext
kotlin_version = '1.3.20'
realm_version = '5.8.0'

repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"

dependencies
classpath 'com.android.tools.build:gradle:3.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:$realm_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"



task clean(type: Delete)
delete rootProject.buildDir


ext
lifecycle_version = '2.0.0'
android_support_version = '1.1.0-alpha01'
legacy_support_version = '1.0.0'
constraint_version = '1.1.3'

retrofit_version = '2.4.0'
dagger_version = '2.16'

rxjava_version = '2.1.7'
rxandroid_version = '2.0.1'



Module build.gradle



apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

apply plugin: 'kotlin-kapt'

apply plugin: 'realm-android'

// Load keystore
def keystorePropertiesFile = rootProject.file("keystore.properties");
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android
signingConfigs
release
keyAlias keystoreProperties['ANDROID_KEY_ALIAS']
keyPassword keystoreProperties['ANDROID_KEY_PASSWORD']
storeFile file(keystoreProperties['ANDROID_KEYSTORE_LOCATION'])
storePassword keystoreProperties['ANDROID_STORE_PASSWORD']



compileSdkVersion 28
defaultConfig
applicationId "com.bowstring.godworld"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

buildTypes
debug
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


release
signingConfig signingConfigs.release
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


compileOptions
sourceCompatibility 1.8
targetCompatibility 1.8



dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"

implementation "androidx.appcompat:appcompat:$android_support_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_version"

implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"

implementation "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"

implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"

implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'


implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'com.cabfare.android:sdk:0.0.18@aar'










share|improve this question














I have created a maven repository and uploaded it to Github. When I add it as a dependency to a sample project, the gradle sync completes successfully. But when I try to run the app, it crashes with a java.lang.NoClassDefFoundError.



Link to repository: https://github.com/rjain90/sdk



Sample project code:



Project build.gradle



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext
kotlin_version = '1.3.20'
realm_version = '5.8.0'

repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"

dependencies
classpath 'com.android.tools.build:gradle:3.3.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.realm:realm-gradle-plugin:$realm_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



allprojects
repositories
google()
jcenter()
maven url "https://raw.githubusercontent.com/rjain90/sdk/master/"



task clean(type: Delete)
delete rootProject.buildDir


ext
lifecycle_version = '2.0.0'
android_support_version = '1.1.0-alpha01'
legacy_support_version = '1.0.0'
constraint_version = '1.1.3'

retrofit_version = '2.4.0'
dagger_version = '2.16'

rxjava_version = '2.1.7'
rxandroid_version = '2.0.1'



Module build.gradle



apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

apply plugin: 'kotlin-kapt'

apply plugin: 'realm-android'

// Load keystore
def keystorePropertiesFile = rootProject.file("keystore.properties");
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

android
signingConfigs
release
keyAlias keystoreProperties['ANDROID_KEY_ALIAS']
keyPassword keystoreProperties['ANDROID_KEY_PASSWORD']
storeFile file(keystoreProperties['ANDROID_KEYSTORE_LOCATION'])
storePassword keystoreProperties['ANDROID_STORE_PASSWORD']



compileSdkVersion 28
defaultConfig
applicationId "com.bowstring.godworld"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

buildTypes
debug
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


release
signingConfig signingConfigs.release
debuggable false
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


compileOptions
sourceCompatibility 1.8
targetCompatibility 1.8



dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
kapt "androidx.lifecycle:lifecycle-compiler:$lifecycle_version"

implementation "androidx.appcompat:appcompat:$android_support_version"
implementation "androidx.constraintlayout:constraintlayout:$constraint_version"

implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"

implementation "com.google.dagger:dagger:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"

implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"

implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'


implementation 'com.squareup.picasso:picasso:2.71828'

implementation 'com.cabfare.android:sdk:0.0.18@aar'







android maven github aar transitive-dependency






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 9 at 8:40









Rishabh JainRishabh Jain

14610




14610







  • 1





    Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

    – Geno Chen
    Mar 11 at 9:56












  • @GenoChen I tried using Jitpack but ran into the same problem

    – Rishabh Jain
    Mar 11 at 17:53











  • What is the NoClassDefError generated for? For your library?

    – Geno Chen
    Mar 11 at 17:55











  • Besides, "the same problem" may even not precise: Maybe throwing for different place.

    – Geno Chen
    Mar 12 at 3:26











  • The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

    – Rishabh Jain
    Mar 12 at 8:03













  • 1





    Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

    – Geno Chen
    Mar 11 at 9:56












  • @GenoChen I tried using Jitpack but ran into the same problem

    – Rishabh Jain
    Mar 11 at 17:53











  • What is the NoClassDefError generated for? For your library?

    – Geno Chen
    Mar 11 at 17:55











  • Besides, "the same problem" may even not precise: Maybe throwing for different place.

    – Geno Chen
    Mar 12 at 3:26











  • The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

    – Rishabh Jain
    Mar 12 at 8:03








1




1





Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

– Geno Chen
Mar 11 at 9:56






Why do you adding your "repository" (even, maybe not a repository) at the repository section? What you need may be a jitpack.io.

– Geno Chen
Mar 11 at 9:56














@GenoChen I tried using Jitpack but ran into the same problem

– Rishabh Jain
Mar 11 at 17:53





@GenoChen I tried using Jitpack but ran into the same problem

– Rishabh Jain
Mar 11 at 17:53













What is the NoClassDefError generated for? For your library?

– Geno Chen
Mar 11 at 17:55





What is the NoClassDefError generated for? For your library?

– Geno Chen
Mar 11 at 17:55













Besides, "the same problem" may even not precise: Maybe throwing for different place.

– Geno Chen
Mar 12 at 3:26





Besides, "the same problem" may even not precise: Maybe throwing for different place.

– Geno Chen
Mar 12 at 3:26













The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

– Rishabh Jain
Mar 12 at 8:03






The error is the same in all cases: NoClassDefFoundError: Failed resolution of: Lokhttp3/internal/Platform

– Rishabh Jain
Mar 12 at 8:03













1 Answer
1






active

oldest

votes


















0














For GitHub hosted, you can use https://jitpack.io as a Maven repository.



Add maven url 'https://jitpack.io' into the project build.gradle's allprojects -> repositories block, then in your module build.gradle, add a dependency implementation 'com.github.rjain90:sdk:0.0.17', for example.



However, your two releases are both containing build errors. Solve them first.






share|improve this answer























  • I've removed the errors and tried again with Jitpack but it still doesn't work.

    – Rishabh Jain
    Mar 13 at 10:08











  • @RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

    – Geno Chen
    Mar 13 at 10:53











  • Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

    – Rishabh Jain
    Mar 14 at 8:27











  • Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

    – Geno Chen
    Mar 14 at 15:29











  • As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

    – Geno Chen
    Mar 14 at 16:01











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55075515%2fmaven-repository-on-github-not-downloading-transitive-dependencies%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














For GitHub hosted, you can use https://jitpack.io as a Maven repository.



Add maven url 'https://jitpack.io' into the project build.gradle's allprojects -> repositories block, then in your module build.gradle, add a dependency implementation 'com.github.rjain90:sdk:0.0.17', for example.



However, your two releases are both containing build errors. Solve them first.






share|improve this answer























  • I've removed the errors and tried again with Jitpack but it still doesn't work.

    – Rishabh Jain
    Mar 13 at 10:08











  • @RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

    – Geno Chen
    Mar 13 at 10:53











  • Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

    – Rishabh Jain
    Mar 14 at 8:27











  • Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

    – Geno Chen
    Mar 14 at 15:29











  • As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

    – Geno Chen
    Mar 14 at 16:01















0














For GitHub hosted, you can use https://jitpack.io as a Maven repository.



Add maven url 'https://jitpack.io' into the project build.gradle's allprojects -> repositories block, then in your module build.gradle, add a dependency implementation 'com.github.rjain90:sdk:0.0.17', for example.



However, your two releases are both containing build errors. Solve them first.






share|improve this answer























  • I've removed the errors and tried again with Jitpack but it still doesn't work.

    – Rishabh Jain
    Mar 13 at 10:08











  • @RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

    – Geno Chen
    Mar 13 at 10:53











  • Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

    – Rishabh Jain
    Mar 14 at 8:27











  • Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

    – Geno Chen
    Mar 14 at 15:29











  • As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

    – Geno Chen
    Mar 14 at 16:01













0












0








0







For GitHub hosted, you can use https://jitpack.io as a Maven repository.



Add maven url 'https://jitpack.io' into the project build.gradle's allprojects -> repositories block, then in your module build.gradle, add a dependency implementation 'com.github.rjain90:sdk:0.0.17', for example.



However, your two releases are both containing build errors. Solve them first.






share|improve this answer













For GitHub hosted, you can use https://jitpack.io as a Maven repository.



Add maven url 'https://jitpack.io' into the project build.gradle's allprojects -> repositories block, then in your module build.gradle, add a dependency implementation 'com.github.rjain90:sdk:0.0.17', for example.



However, your two releases are both containing build errors. Solve them first.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 12 at 12:02









Geno ChenGeno Chen

2,81561125




2,81561125












  • I've removed the errors and tried again with Jitpack but it still doesn't work.

    – Rishabh Jain
    Mar 13 at 10:08











  • @RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

    – Geno Chen
    Mar 13 at 10:53











  • Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

    – Rishabh Jain
    Mar 14 at 8:27











  • Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

    – Geno Chen
    Mar 14 at 15:29











  • As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

    – Geno Chen
    Mar 14 at 16:01

















  • I've removed the errors and tried again with Jitpack but it still doesn't work.

    – Rishabh Jain
    Mar 13 at 10:08











  • @RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

    – Geno Chen
    Mar 13 at 10:53











  • Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

    – Rishabh Jain
    Mar 14 at 8:27











  • Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

    – Geno Chen
    Mar 14 at 15:29











  • As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

    – Geno Chen
    Mar 14 at 16:01
















I've removed the errors and tried again with Jitpack but it still doesn't work.

– Rishabh Jain
Mar 13 at 10:08





I've removed the errors and tried again with Jitpack but it still doesn't work.

– Rishabh Jain
Mar 13 at 10:08













@RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

– Geno Chen
Mar 13 at 10:53





@RishabhJain Did you "doesn't work" with ERROR: Failed to resolve: Android-SDK-Core-Source:coresdk:unspecified?

– Geno Chen
Mar 13 at 10:53













Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

– Rishabh Jain
Mar 14 at 8:27





Yes and I tried to resolve it by using implementation 'com.github.rjain90:sdk:0.0.17@aar' but ran into the NoClassDefFoundError again

– Rishabh Jain
Mar 14 at 8:27













Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

– Geno Chen
Mar 14 at 15:29





Yes. You can use implementation 'com.github.rjain90:sdk:1.0', then you will found your SDK has the dependency com.estimote:sdk:1.0.3 which depends on Android-SDK-Core-Source:coresdk:unspecified which throws the error. After you found where the Android-SDK-Core-Source:coresdk:unspecified is, the question is solved.

– Geno Chen
Mar 14 at 15:29













As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

– Geno Chen
Mar 14 at 16:01





As of my search, "All the proximity monitoring features of this SDK have been deprecated and are no longer supported. Instead, we strongly recommend Estimote Proximity SDK for Android powered by Estimote Monitoring. ", which have no dependency problems as of the Maven said.

– Geno Chen
Mar 14 at 16:01



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55075515%2fmaven-repository-on-github-not-downloading-transitive-dependencies%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved