Android, IntelliJ Idea, changing module type

I'm getting the following message.

android-validator: Suspicious module dependency com.package.name -> ProjectName: Android application module depends on other application module. Possibly, you should change type of module 'ProjectName' to 'Library' or change the dependency scope to 'Provided'.

How can I change the type of a module??

Answers


Go to File -> Project structure -> Modules, select the desired module, click on the arrow to expand the module, you'll see “Android”. Click on it, you see on the right: “Facet 'Android'” and a checkbox “Library module”


Need Your Help

.NET projects build automation with NAnt/MSBuild + SVN

.net svn msbuild build-automation nant

for quite a while now, I've been trying to figure out how to setup an automated build process at our shop. I've read many posts and guides on this matter and none of them really fits my specifics n...

CakePHP TimeHelper (or similar) in controller

cakephp time formatting

I have a number of records I'm pulling from a database that contain a time stamp, namely Cake's automagic created field. I want to store them AS IS, but in certain controller actions I want them to...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.