GithubHelp home page GithubHelp logo

abs-aar's People

Contributors

mente avatar skyisle avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

dahlgren mente

abs-aar's Issues

Android Studio not detecting resources from aar

I added the dependency to the build.gradle as specified in the readme, and when I try to compile my project this is what I get:

/Users/ankush/Development/androidstudiotest/res/values/styles.xml
    Error:Error:line (16)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:16: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.Sherlock.Light.DarkActionBar'.
    Error:Error:line (19)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:19: error: Error: No resource found that matches the given name: attr 'actionBarItemBackground'.
    Error:Error:line (24)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:24: error: Error: No resource found that matches the given name: attr 'actionBarStyle'.
    Error:Error:line (22)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:22: error: Error: No resource found that matches the given name: attr 'actionBarTabStyle'.
    Error:Error:line (34)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:34: error: Error: No resource found that matches the given name: attr 'actionBarWidgetTheme'.
    Error:Error:line (23)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:23: error: Error: No resource found that matches the given name: attr 'actionDropDownStyle'.
    Error:Error:line (21)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:21: error: Error: No resource found that matches the given name: attr 'dropDownListViewStyle'.
    Error:Error:line (20)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:20: error: Error: No resource found that matches the given name: attr 'popupMenuStyle'.
    Error:Error:line (43)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:43: error: Error: No resource found that matches the given name: attr 'vpiTabPageIndicatorStyle'.
    Error:Error:line (48)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.TabPageIndicator'.
    Error:Error:line (49)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:49: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (53)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:53: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.Light.ActionBar.Solid.Inverse'.
    Error:Error:line (54)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:54: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (56)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:56: error: Error: No resource found that matches the given name: attr 'backgroundSplit'.
    Error:Error:line (55)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:55: error: Error: No resource found that matches the given name: attr 'backgroundStacked'.
    Error:Error:line (57)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:57: error: Error: No resource found that matches the given name: attr 'progressBarStyle'.
    Error:Error:line (64)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:64: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar'.
    Error:Error:line (65)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:65: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (70)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:70: error: Error: No resource found that matches the given name: attr 'displayOptions'.
    Error:Error:line (74)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:74: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar'.
    Error:Error:line (75)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:75: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (76)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:76: error: Error: No resource found that matches the given name: attr 'progressBarStyle'.
    Error:Error:line (81)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:81: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar'.
    Error:Error:line (83)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:83: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (84)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:84: error: Error: No resource found that matches the given name: attr 'windowActionBarOverlay'.
    Error:Error:line (88)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:88: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ListPopupWindow'.
    Error:Error:line (92)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:92: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ListView.DropDown'.
    Error:Error:line (96)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:96: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ActionBar.TabView'.
    Error:Error:line (97)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:97: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (101)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:101: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.Spinner.DropDown.ActionBar'.
    Error:Error:line (102)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:102: error: Error: No resource found that matches the given name: attr 'background'.
    Error:Error:line (108)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:108: error: Error retrieving parent for item: No resource found that matches the given name '@style/Widget.Sherlock.ProgressBar.Horizontal'.
    Error:Error:line (113)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:113: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.Sherlock'.
    Error:Error:line (115)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:115: error: Error: No resource found that matches the given name: attr 'dropDownListViewStyle'.
    Error:Error:line (114)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:114: error: Error: No resource found that matches the given name: attr 'popupMenuStyle'.
    Error:Error:line (187)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:187: error: Error: No resource found that matches the given name: attr 'actionBarStyle'.
    Error:Error:line (192)[androidstudiotest] /Users/ankush/Development/androidstudiotest/res/values/styles.xml:192: error: Error: No resource found that matches the given name: attr 'actionBarStyle'.

It seems that the Java classes are being read from the aar just fine, but the resource files are not. Are they even being packaged with the aar from this repo?

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.