OsmAndAidlHelper: Unable to resolve net.osmand.aidlapi.* package

36 views
Skip to first unread message

Abhijat Sinha

unread,
Feb 25, 2020, 5:08:45 PM2/25/20
to OsmAnd
Hi,

I am trying to use OSMAND AIDL API to integrate into my application and disable certain navigation draweer menu items as described using the below link through setCustomization()):

I am using the OsmAndAidlHelper.java class (obtained from: https://github.com/osmandapp/osmand-api-demo/blob/master/app/src/main/java/net/osmand/osmandapidemo/OsmAndAidlHelper.java) as it has setCustomization() method to customize the navigation drawer menu items.

However when using the above file I am unable to resolve packages under net.osmand.aidlapi.*

In my gradle file I am referencing the OSMAND Core AAR as shown below:
 
 repositories {
    maven { url "https://jitpack.io" }
    maven { url "https://maven.google.com" }
    //mavenCentral()
    maven {
        name 'OSS-Sonatype'
    }
    ivy {
        name = "OsmAndBinariesIvy"
        url = "http://builder.osmand.net"
        layout "pattern" , {
            artifact "ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
        }
    }
}

implementation "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"


Could you please let me know how I can import the AIDL API (the namespace net.osmand.aidlapi.*) into my project.

Many Thanks

Regards,
Rahul

Reply all
Reply to author
Forward
0 new messages