大佬教程收集整理的这篇文章主要介绍了颤振:我无法构建 android apk,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试创建我的 APK 应用程序,但它失败并在 androID studio 终端中打印此错误:
C:\Flutter\bin\Flutter.bat --no-color build apk
You are building a fat APK that includes binarIEs for androID-arm,androID-arm64,androID-x64.
If you are deploying the app to the Play Store,it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle,run:
Flutter build appbundle --target-platform androID-arm,androID-x64
Learn more on: https://developer.androID.com/guIDe/app-bundle
To split the APKs per ABI,run:
Flutter build apk --target-platform androID-arm,androID-x64 --split-per-abi
Learn more on: https://developer.androID.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
FAILURE: Build Failed with an exception.
* what went wrong:
Execution Failed for task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:deBUGRuntimeClasspath'.
> Failed to transform libs.jar to match attributes {artifactType=processed-jar,org.gradle.libraryelements=jar,org.gradle.usage=java-runtimE}.
> Execution Failed for jetifytransform: E:\Flutter\2021\my_Flutter_app\build\app\intermediates\Flutter\deBUG\libs.jar.
> transform's input file does not exist: E:\Flutter\2021\my_Flutter_app\build\app\intermediates\Flutter\deBUG\libs.jar. (See https://issuetracker.Google.com/issues/158753935)
* 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 9m 19s
Running Gradle task 'assembleRelease'... 562.4s (!)
Gradle task assembleRelease Failed with exit code 1
Process finished with exit code 1
在调试模式下,应用程序运行!! 我希望你能帮助我解决错误
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)
以上是大佬教程为你收集整理的颤振:我无法构建 android apk全部内容,希望文章能够帮你解决颤振:我无法构建 android apk所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。