I'm using latest Android Studio version (2.3.1) and I imported a library to my android studio project.
But when I want to import classes :
import com.mehdikarimi.PauseResumeAudioRecorder;
returned error :
Is any suggestion to resolve this error?
Check settings.gradle
file, Is your module included there.
like include 'abc', 'xyz'
If yes try to Invalidate Caches/Restart
and restart Android Studio.
I resolved the problem first Invalidate Caches/Restart and closed Android Studio and deleted *.iml files and .idea folder then I added
compile project(path: ':audiorecordlibrary');
To app dependencies
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.