请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

使用老师的代码进行安卓打包,为什么出错?

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


正在回答 回答被采纳积分+3

2回答

黄瓜sunny 2019-11-13 11:46:19

同问啊老师,一样一样的

0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2019-10-12 09:20:55

是使用https://git.imooc.com/coding-321/flutter_trip
上的最新源码吗?
有没有进行过什么改动呢

0 回复 有任何疑惑可以回复我~
  • 提问者 YeyuJingming #1
    刚克隆下来的,在VS code上运行打包,出问题了
    回复 有任何疑惑可以回复我~ 2019-10-12 13:15:37
  • 提问者 YeyuJingming #2
    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)
    回复 有任何疑惑可以回复我~ 2019-10-12 13:18:56
  • 提问者 YeyuJingming #3
    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 2m 28s
    Running Gradle task 'assembleRelease'...
    Running Gradle task 'assembleRelease'... Done                     149.4s (!)
    *******************************************************************************************
    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
    回复 有任何疑惑可以回复我~ 2019-10-12 13:19:20
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号