android - Adding library project and using it in main project -
I am trying to include and use the project in my app. So I removed it and added it as the After it launches, it crashes: Do I need to define something else? Thank you for helping First of all, Bar as a module in your project (if the library provides a jar file, you can also add it to your Library What to do to add: And now you should be able to use that library in your project without any error. Android project module for my main project. Then I added some XML of this category in my project.
& lt; Com.edmodo.rangebar.RangeBar xmlns: custom = "http://schemas.android.com/apk/res-auto" Android: id = "@ + id / rangebar" Android: layout_width = "match_parent" Android: layout_height = "Wrap_content" />
Reason by: java.lang.ClassNotFoundException: Class not found "com.edmodo. Rangebar.RangeBar "on the path: DexPathList [[ZIP file" /data/app/com.app-1.apk" ],nativeLibraryDirectories=[/data/app-lib/com.app-1, / vendor / lib, / system / lib]]
libs folder.)
+ and select Module dependency , compared to that you will show a pop-up with your built-in module Click and select
OK Again from
Apply and
OK .
Comments
Post a Comment