报错:* Error running Gradle:

ProcessException: Process "E:\flutter_app\android\gradlew.bat" exited abnormally:

 

> Configure project :app

WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.

It will be removed at the end of 2019.

For more information, see https://d.android.com/r/tools/task-configuration-avoidance.

To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.

It will be removed at the end of 2019.

For more information, see https://d.android.com/r/tools/task-configuration-avoidance.

To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.

Command: E:\flutter_app\android\gradlew.bat app:properties

 

 

解决方法:删除android app build.gradle 中 Variant 的引用

更多相关文章

  1. 代码中设置drawableleft
  2. android 3.0 隐藏 系统标题栏
  3. Android开发中activity切换动画的实现
  4. Android(安卓)学习 笔记_05. 文件下载
  5. Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
  6. 技术博客汇总
  7. android 2.3 wifi (一)
  8. AndRoid Notification的清空和修改
  9. Android中的Chronometer

随机推荐

  1. PHP扩展安装方法步骤解析
  2. 用PDO连接mysql,用预处理语句实现用户登录
  3. PHP执行linux命令6个函数代码实例
  4. PHP替换Word中变量并导出PDF图片的实现方
  5. 右侧布局案例
  6. PHP的runkit扩展如何使用
  7. 在生活中间要注意哪些重要问题
  8. 淘宝移动端首页商品列表
  9. android 获取手机系统信息
  10. Android判断网络是否断开(WIFI 状态)--Conn