在 Android Studio 上将模块或项目作为库导入 [英] Import module or project as Library on Android Studio

查看:25
本文介绍了在 Android Studio 上将模块或项目作为库导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的动态壁纸项目中使用 HoloEverywhere (HE) Preferences AddOn.项目差不多完成了,我只需要它从 android 2.3 到 4.4 看起来都一样,所以我继续按照指南从 GitHub 获取 HE.

I want to use HoloEverywhere (HE) Preferences AddOn with my live wallpaper project. The project is almost done, i just need it to look the same from android 2.3 to 4.4, so i went on and followed the guide to get HE from GitHub.

在Demo"模块的检出和成功测试后,我回到了我的项目,但我只能创建一个新模块,不能导入一个,并且我尝试将新项目设置为模块的文件夹(在我的情况下是库和插件)Android Studio,如果我想重写模块设置,如果我这样做,它会创建文件夹,但它不会编译和import org.holoeverywhere 将不起作用.

After the checkout and the successful test of the "Demo" module, i went back to my project, but i can only create a new module, not import one, and of i try to set the new project to the module's folder (library and addons in my case) Android Studio as me if i want to rewrite the module settings, if i do, it create the folder, but it will not compile and the import org.holoeverywhere will not work.

推荐答案

导入模块在 Android Studio 0.5.5 中正常工作

Importing modules works correctly in Android Studio 0.5.5

这篇关于在 Android Studio 上将模块或项目作为库导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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