Android Studio中0.3.5无法导入模块 [英] Cannot import module in Android Studio 0.3.5

查看:183
本文介绍了Android Studio中0.3.5无法导入模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近各方对0.3.5 updgraded,我无法看到导入模块选项。当我打开

I recently updgraded by AS to 0.3.5 and I can't see import module option. When I open

ProjectStructure - Modules - Click the + sign 

我不能看到导入模块选项。同时,我只看到在项目设置模块。

I cant see 'Import Module' option. And also I only see "Modules" in Project Settings.

有没有其他办法?

推荐答案

这是不为Android工作室尚未实现; //$c$c.google:它在 HTTPS被跟踪.COM / p /安卓/问题/细节?ID = 62122 。你需要移动包含你希望你的项目根下导入该模块的目录下,创建一个文件的build.gradle建造它,一个条目添加到您的settings.gradle文件指向它,并重新同步你的Andr​​oid Studio项目与摇篮。

This isn't implemented yet for Android Studio; it's being tracked in https://code.google.com/p/android/issues/detail?id=62122 . You'll need to move the directory containing the module you want to import under your project root, create a build.gradle file to build it, add an entry to your settings.gradle file to point to it, and re-sync your Android Studio project with Gradle.

这篇关于Android Studio中0.3.5无法导入模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆