androidxmlaide-ide

Can't use the appcompat support library


I want to use the appcompat for my project in AIDE. so I downloaded the jar file, add it into lib folder & coded my project. but when I theming, by putting the code

android:theme="@style/Theme.AppCompat"

into AndroidManifest.xml, it gets an error, showing that no resources found that matches the name. I modified the project.properties file, but still the same thing happens. what shall I do?


Solution

  • AppCompact is a Library project. You must reference it in your Andorid Project instead of adding it as a jar.

    Read

    No resource found that matches the given name '@style/Theme.AppCompat.Light'