I have successfully compiled the c++ sources with ndk-build.
I am still having problems with compilation with ant. Now I am having this error:

Code:
  [javac] import com.android.vending.billing.IMarketBillingService;
    [javac]                                   ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/BillingService.java:57: cannot find symbol
    [javac] symbol  : class IMarketBillingService
    [javac] location: class com.rtsoft.rtsimpleapp.BillingService
    [javac]     private static IMarketBillingService mService;
    [javac]                    ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:52: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.AESObfuscator;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:53: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.LicenseChecker;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:54: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.LicenseCheckerCallback;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:55: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.ServerManagedPolicy;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:56: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.StrictPolicy;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:267: cannot find symbol
    [javac] symbol  : class LicenseCheckerCallback
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac]         private LicenseCheckerCallback mLicenseCheckerCallback;
    [javac]                 ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:268: cannot find symbol
    [javac] symbol  : class LicenseChecker
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac]         private LicenseChecker mChecker;
    [javac]                 ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:270: cannot find symbol
    [javac] symbol  : class LicenseCheckerCallback
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac]         private class MyLicenseCheckerCallback implements LicenseCheckerCallback
    [javac]                                                           ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:306: cannot find symbol
    [javac] symbol  : class ApplicationErrorCode
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity.MyLicenseCheckerCallback
    [javac]             public void applicationError(ApplicationErrorCode errorCode)
    [javac]                                          ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedMultiTouchInput.java:41: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.AESObfuscator;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedMultiTouchInput.java:42: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.LicenseChecker;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedMultiTouchInput.java:43: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.LicenseCheckerCallback;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedMultiTouchInput.java:44: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.ServerManagedPolicy;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedMultiTouchInput.java:45: package com.android.vending.licensing does not exist
    [javac] import com.android.vending.licensing.StrictPolicy;
    [javac]                                     ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/BillingService.java:702: package IMarketBillingService does not exist
    [javac]         mService = IMarketBillingService.Stub.asInterface(service);
    [javac]                                         ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:379: cannot find symbol
    [javac] symbol  : class LicenseChecker
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac]             mChecker = new LicenseChecker(
    [javac]                            ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:381: cannot find symbol
    [javac] symbol  : class ServerManagedPolicy
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
    [javac] 									    ^
    [javac] /home/swelker/proton/RTSimpleApp/android/temp_final_src/com/rtsoft/rtsimpleapp/SharedActivity.java:381: cannot find symbol
    [javac] symbol  : class AESObfuscator
    [javac] location: class com.rtsoft.rtsimpleapp.SharedActivity
    [javac] 									new ServerManagedPolicy(this,new AESObfuscator(SALT, getPackageName(), deviceId)),
    [javac] 									                                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 20 errors
I have read that this somehow needs a aidl file to generate ?
do I need another linux sdk or what is the problem?
do I need another platform tools set ? Imarketbillingservice must be part of the SDK, is it not ?

sad thing all the c++ stuff works so smoothly and the only thing causing problems is the Android configuation hell.

Stefan