-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
gradlew resguardRelease命令运行出错 1.2.16版本 #323
Comments
提示了各种兼容性的异常,还是用1.2.15版本吧 |
对 我这边也是这个问题 Could not find method File() for arguments [xxx.apk] on object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.
FAILURE: Build failed with an exception.
|
麻烦提供一下运行的版本和--stacktrace的log |
gradle 5.4版本,错误信息就是3楼发的那个,gradle4.10版本,错误信息是个空指针异常 |
|
周末没带电脑,你可以自己按照这个版本尝试一下。 |
Android Studio 3.4 gradle-5.1.1 Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method File() for arguments [/Users/quentin/Dolphin2/app/build/outputs/apk/release, app-armeabi-v7a-release_1.0.0_v1.apk] on object of type com.android.build.gradle.internal.api.ApplicationVariantImpl. |
gradle 5.4.0
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. BUILD FAILED in 41s |
感谢各位的错误log。最近gradle升级幅度较大,没有做最新版的兼容测试,十分抱歉。 |
没下文了? |
�已经在attached 的提交里fix了, 你可以尝试下,版本不变 |
之前1.2.15版本没问题,就升级了1.2.16版本
错误日常
FAILURE: Build failed with an exception.
Execution failed for task ':app:resguardRelease'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
28 actionable tasks: 1 executed, 27 up-to-date
The text was updated successfully, but these errors were encountered: