jitpack

How to make my Android library source code visible when a user adds the gradle dependency (so code doesn't have to be decompiled in Android Studio)

淺唱寂寞╮ 提交于 2021-01-28 14:30:12
问题 I have an Android library on jitpack.io and let devs add my library but just adding the dependency. But what I've noticed is that if this dependency is added, my library classes have to be decompiled to view the code. So for example, I have a class in my library called ViewStack. When I try to go to the class file to view the source code, it's a decompiled version of the .class file. And thus, all my documentation is not there. How can I make it so the code is entirely viewable (no

could not find com.affolestad.material-dialogs

北城以北 提交于 2019-12-25 07:57:02
问题 I imported Android Studio project but was stuck at this error. I even updated my SDK and gradle build Error:A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find com.afollestad:material-dialogs:0.7.5.2. Searched in the following locations: https://jcenter.bintray.com/com/afollestad/material-dialogs/0.7.5.2/material-dialogs-0.7.5.2.pom https://jcenter.bintray.com/com/afollestad/material-dialogs/0.7.5.2/material

Getting Failed to resolve: com.github while adding my library from github using jitpack Error. How to resolve?

牧云@^-^@ 提交于 2019-12-24 18:53:11
问题 I build and added this library with demo on github. Now, I am trying to import it on other project. Following are my gradle files that are not compiling. // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' } } allprojects { repositories { google() jcenter() maven { url 'https://jitpack.io' } } } task clean(type: Delete) { delete

jitpack.io - failure to resolve

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 12:05:18
问题 I'm trying to import a library using jitpack.io. Here's my top-level build.gradle : buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } } and here's my app/build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 23

Attach sources to kotlin library project don't show up in AS

瘦欲@ 提交于 2019-12-21 07:18:08
问题 I want to attach the sources to an kotlin library project and it looks I succeeded as I have the source-jars now in here: https://jitpack.io/com/github/walleth/kethereum/bip44/0.21/ the version before I did not export the sources - so I thought it is successful. https://jitpack.io/com/github/walleth/kethereum/bip44/0.20/ Unfortunately AS does not show the sources. I am generating them like this: allprojects { repositories { jcenter() maven { url 'https://jitpack.io' } } apply plugin: "kotlin"

Android Studio maven { url “https://jitpack.io” } can't download

ぐ巨炮叔叔 提交于 2019-12-18 04:39:07
问题 Can't use anymore maven { url "https://jitpack.io" } . I have following gradle: apply plugin: 'com.android.application' android { compileSdkVersion 27 defaultConfig { applicationId "test.com.myapplication" minSdkVersion 19 targetSdkVersion 27 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } allprojects { repositories { maven { url "https://jitpack.io" } } } dependencies {

How to make your library in Github importable to Android studio

为君一笑 提交于 2019-12-13 20:25:28
问题 I know that you can import Github libraries in android studios using Gradle: compile 'com.github.someone.something:xxx-yyy:+' What is that part: xxx-yyy:+ ? How do I build the project so that it can be imported with the previous line? So far if I just upload a library and import it without that last xxx-yyy:+, I get an error that it is an invalid description. If I write a version then I get an error saying that it can't be found 回答1: This is all handled via Maven by way of Gradle's Maven

Jitpack: Failed to install the following Android SDK packages as some licences have not been accepted

只谈情不闲聊 提交于 2019-12-12 10:43:27
问题 I've googled, and some says it's fixed after few trys, and by creating a new release, but It doesn't seem to work for me. How can I resolve this? * What went wrong: A problem occurred configuring project ':analytics'. > Failed to notify project evaluation listener. > Failed to install the following Android SDK packages as some licences have not been accepted. platforms;android-27 Android SDK Platform 27 build-tools;27.0.3 Android SDK Build-Tools 27.0.3 To build this project, accept the SDK

How to use GitHub Repo using JitPack.io in Maven

我的梦境 提交于 2019-12-12 05:46:04
问题 I wants to use https://github.com/liquibase/liquibase version 3.5.0-SNAPSHOT I have added the following in pom.xml <dependency> <groupId>liquibase</groupId> <artifactId>liquibase-core</artifactId> <version>3.5.0-SNAPSHOT</version> </dependency> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> but got following error when compile: [ERROR] Failed to execute goal on project XYZ: Could not resolve dependencies for project com.XYZ:jar:0.0.1-SNAPSHOT: Failure to find org

JitPack: Failed to resolve subrepo

妖精的绣舞 提交于 2019-12-11 17:22:43
问题 I'm using jitpack to in my gradle as follows: allprojects { repositories { jcenter() mavenCentral() maven { url 'https://jitpack.io' } } } And in my github repo I have a sub-module called authentication I need to use only this module in my project, so I added this to my module's build.gradle as mentioned here: compile 'com.github.MotassemJa.MoAuth:authentication:0.0.5' But I keep getting Error:(23, 13) Failed to resolve: com.github.MotassemJa.MoAuth:authentication:0.0.5 回答1: As you can see at