Example of AIDL use

AIDL is used for Binder. Binder is a mechanism to do RPC calls on/from an Android Service. When to use AIDL? When you need a Service. When do you need a Service? If you want to share data and control something in another application, you need a service using AIDL as an interface. (A Content … Read more

Execution failed for task ‘:app:compileDebugAidl’: aidl is missing

In my case I downloaded version 22 of Android M and Android 5.1.1 using Android Studio 1.2.1.1 but when I try to do a Hello World this same error showed me So the solution for me was doing right click in app like the image below and choose “Open Module Settings” then there you have … Read more

how can I add the aidl file to Android studio (from the in-app billing example)

Adding this as an answer since it seemed to help quite a few people. Create a new directory named ‘aidl’ under ‘src/main/’. It should look like ‘src/main/aidl‘. Add a new package name ‘com.android.vending.billing‘ to the directory ‘src/main/aidl‘ Locate your sdk location and go to “sdk\extras\google\play_billing”. Default location for the sdk is “C:\Program Files (x86)\Android\android-sdk”. If … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)