pub 里没有指定配置的 app id ,Android gradle 会报错 NullPointException,相关堆栈不太容易定位问题,所以加了一个错误的提示,告知去配置 app id
before:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':tencent_kit'.
> java.lang.NullPointerException
* 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
after:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Build file '/Volumes/SA200/Github/tencent_kit/android/build.gradle' line: 12
* What went wrong:
A problem occurred evaluating project ':tencent_kit'.
> tencent app id is null, add code in pubspec.yaml:
tencent_kit:
app_id: ${your tencent app id}
universal_link: https://${your applinks domain}/universal_link/${example_app}/qq_conn/${your tencent app id}/
* 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.
before:
after: