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

Spring-ws and Spring security

spring web-services spring-security spring-ws

I've an application with no spring security in it, we have a new requirement to add webservices, so we opted for spring-ws, i'm trying to add simple authentication using header values for each serv...

How to keep from duplicating path variable in csh

path environment-variables csh path-variables

It is typical to have something like this in your cshrc file for setting the path: