Dave's Brain

Browse - Programming Tips - Why isn't my project finding the classes that are supposed to be in my local .aar

Date: 2017apr16
OS: Android
Keywords: Android Studio

Q.  Why isn't my project finding the classes that are supposed to be in my local .aar

A.  When this happened to me once the problem was that there was no "classes.jar" in the root folder of the .aar.
To check you can rename the mylib.aar to mylib.aar.zip and look inside.
If there classes.jar is missing is this a big help to narrowing 
down the problem.  Because you know the .aar is to blame, not your
using project's gradle scripts.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.