使用老师的代码进行安卓打包,为什么出错?
来源:18-4 打包发布Flutter Android应用-2

YeyuJingming
2019-10-12
Warning: there were 12 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
Warning: there were 2 unresolved references to library class members.
You probably need to update the library versions.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedlibraryclassmember)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details
* 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 5m 35s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 337.9s (!)
*******************************************************************************************
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
*******************************************************************************************
Gradle task assembleRelease failed with exit code 1
2回答
-
黄瓜sunny
2019-11-13
同问啊老师,一样一样的
00 -
CrazyCodeBoy
2019-10-12
是使用https://git.imooc.com/coding-321/flutter_trip
上的最新源码吗?
有没有进行过什么改动呢042019-10-12
相似问题