17:22:11: Executing task 'assembleRelease'...
Executing tasks: [assembleRelease]
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/jasonhu/AndroidStudioProjects/PhoneSDKApp/PhoneSdk/build.gradle' line: 1
* What went wrong:
A problem occurred evaluating root project 'PhoneSdk'.
> Plugin with id 'com.android.library' not found.
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
Settings.gradle文件中的module名写错了,区别大小写:
//include ':app'
include ':PhoneSDK'
改为:
//include ':app' include ':PhoneSdk'