[Galaxy Grand Duos i9082 Android Development] OpenSourceCS:
I get compilation errors when compiling aosp6.0.1_r43 from source. I initialized repos using repo init -u https://android.googlesource.com/platform/manifest -g all,-notdefault,-device,-mips,-x86,-darwin -b android-6.0.1_r43

Then repo synced using repo sync -c --force-sync . I compiled using the instructions using your guide at https://github.com/pawitp/android_device_samsung_i9082/wiki/How-to-compile-aosp-6.0

The compilation stops saying

--------------------------------------------------------------------------------------------------------------------------------------------------------

Building with Jack: /home/vignesh/Videos/aosp6_0/out/target/common/obj/APPS/DocumentsUI_intermediates/with-local/classes.dex

ERROR: /home/vignesh/Videos/aosp6_0/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/HeadsetService.java:120: The type HeadsetService.BluetoothHeadsetBinder must implement the inherited abstract method IBluetoothHeadset.getAudioRouteAllowed()

ERROR: /home/vignesh/Videos/aosp6_0/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/HeadsetService.java:120: The type HeadsetService.BluetoothHeadsetBinder must implement the inherited abstract method IBluetoothHeadset.setAudioRouteAllowed(boolean)

ERROR: /home/vignesh/Videos/aosp6_0/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/HeadsetClientService.java:121: The type HeadsetClientService.BluetoothHeadsetClientBinder must implement the inherited abstract method IBluetoothHeadsetClient.getAudioRouteAllowed()

ERROR: /home/vignesh/Videos/aosp6_0/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/HeadsetClientService.java:121: The type HeadsetClientService.BluetoothHeadsetClientBinder must implement the inherited abstract method IBluetoothHeadsetClient.setAudioRouteAllowed(boole an)

ERROR: /home/vignesh/Videos/aosp6_0/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/AdapterService.java:394: BLUETOOTH_INTEROPERABILITY_LIST cannot be resolved or is not a field

build/core/java.mk:643: recipe for target '/home/vignesh/Videos/aosp6_0/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex' failed

make: *** [/home/vignesh/Videos/aosp6_0/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex] Error 41

make: *** Waiting for unfinished jobs....

#### make failed to build some targets (01:49:04 (hh:mm:ss)) ####

-------------------------------------------------------------------------------------------------------------------------------------------------------

I tried to make a clean build every time by deleting sources and repo syncing and compiling. But i get the same error three times.

I replaced the sources with those in https://android.googlesource.com/platform/packages/apps/Bluetooth/

I git-cloned the bluetooth sources and tried to copy those to the aosp sources. I then ran the build but it gave me more errors.

I even tried to replace the contents of the error-files manually but it didn't help.

I tried to clone and build three different branches in the bluetooth source code but failed in every attempt.

Here are the screenshots

[url=http://postimg.org/image/x35u5tq69/] [/URL]