I have two packages. The class I want to import from the first package is declared as PUBLIC. Despite, when I test a file from the second package it shows me compilation err
public SmartSaverCals(Context context) { this.context= context; }
add public to Your constructor.in my case problem solved