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

Error:Could not get unknown property 'prepareReleaseDependencies' for project ':someLib' of type org.gradle.api.Project. #84

Open
LSDsl opened this issue Oct 31, 2017 · 9 comments

Comments

@LSDsl
Copy link

LSDsl commented Oct 31, 2017

Error:Could not get unknown property 'prepareReleaseDependencies' for project ':someLib' of type org.gradle.api.Project.

What is wrong?

@TTKatrina
Copy link

Use "compile" or "provided" instead of "embeded" may resovle your problem.

@LSDsl
Copy link
Author

LSDsl commented Nov 1, 2017

Ha-ha.. I use this lib to embeded aar. Not compile or provided )

P.S. Fix this by downgrade from AS 3 to AS 2.3.3

@TTKatrina
Copy link

here is the same question: #45

@AvivVegh
Copy link

AvivVegh commented Nov 8, 2017

Still doesn't work on gradle 3.0, is it work to someone ?

@Soloer
Copy link

Soloer commented Nov 12, 2017

can't work on gradle 3.0?

@zhpanvip
Copy link

zhpanvip commented Dec 5, 2017

same error with you

@mfdeveloper
Copy link
Contributor

mfdeveloper commented Dec 27, 2017

I've "fixed" this downgrading gradle to 3.3 version on gradle-wrapper.properties file, and change the dependencies on build.gradle file, like the code snippet below:

dependencies {
    classpath 'com.android.tools.build:gradle:2.3.3'
}

@kolyneh
Copy link

kolyneh commented Apr 8, 2018

Hi, I've "fixed" this downgrading gradle to 2.14.1 version.

gradle-wrapper.properties :
distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip

build.gradle
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}

@yihongyuelan
Copy link

Hi, I've "fixed" this downgrading gradle to 2.14.1 version.

gradle-wrapper.properties :
distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip

build.gradle
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
}

You are right, I'v tried to fix fat-aar error code and compile with new gradle version 4.x.
Opps, Failed again and again, so I create a simple AndroidStudio project, just merge all FUCKING aar files with lower gradle version.

https://github.com/yihongyuelan/android-MergeAAR

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

8 participants