0、开发环境配置问题

1、Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

  [解决]:文件路径如下,E:\AndroidStudioProjects\oschina-android-app-master\android-app\app

      需要打开android-app,若打开的目录为oschina-android-app-master,就会出现问题

 

2、 Error:Access to the dex task is now impossible, starting with 1.4.0

  1.4.0 introduces a new Transform API allowing manipulation of the .class files.

  See more information: http://tools.android.com/tech-docs/new-build-system/transform-api

  [解决]:classpath 'com.android.tools.build:gradle:1.5.0' ,将"1.5.0"改为"1.3.0" (降低 gradle插件 版本)

 

posted @   chenyizh  阅读(241)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示