I have a library module (AndEngine) inside my libs/AndEngine folder. The code from that compiles fine.
In my root settings.gradle file I have this :
include ':app:libs:AndEngine'
include ':app'
And then in my app's build.gradle file I have this in dependencies:
compile project('libs:AndEngine')
INside my app's code, all of the imports and even autocompletion works without any errors at all. Inside Android Studio, all of the packages are found. But when I go to compile, I get about a hundred of these errors:
error: package org.andengine.entity.primitive does not exist
import org.andengine.entity.primitive.Rectangle;
I am coming from the ADK with eclipse, so I am new to android studio. If anyone has any answers to this problem I would be very appreciative!