I am sorry for asking this newbie question.
I am trying to use this library in my project: https://github.com/gfranks/GFMinimalNotifications
I would like to im
there is two way to use this we ll use 2nd method Use binary approach
Copy com.github.gfranks.minimal.notification-1.0.aar into your projects libs/ directory.
Include the following either in your top level build.gradle file or your module specific one:
repositories { flatDir { dirs 'libs' } }
Under your dependencies for your main module's build.gradle file, you can reference that aar file like so: compile 'com.github.gfranks.minimal.notification:com.github.gfranks.minimal.notification-1.0@aar'
after do above step try to sync gradle if there is issue like
Suggestion: use tools:overrideLibrary="com.github.gfranks.minimal.notification" to force usage
then add below code in android manifest file
add below line in side manifest TAG
xmlns:tools="http://schemas.android.com/tools"
add below line above Application TAG
<uses-sdk
tools:overrideLibrary="com.github.gfranks.minimal.notification"/>
finally your manifest look like
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.test" >
<uses-sdk
tools:overrideLibrary="com.github.gfranks.minimal.notification"/>
<application... >your all code </application></manifest>
copy in project full package library
in settings gradle add include ':library',':app'
in build.gradle
dependencies {
...
compile project(':library')
}
Steps to add modules in Android Studio download zip file & follow steps
Simple step