Jump to content
bcvs

Unable to Compile App using Android Service

Recommended Posts

Hi,

I try to compile the embarcadero sample app AndroidNotificationServiceDemo.

 

Theese errors occur, an a lot more:

Quote

[PAClient Fehler] Fehler: E7432 Error in C:\Users\Public\Documents\Embarcadero\Studio\23.0\ Samples\Object Pascal\Multi-Device Samples\Device Sensors and Services\AndroidNotificationServiceDemo\NotificationService\Android64\Debug\NotificationService.jar: com/embarcadero/services/NotificationService$LocalBinder.class:
[PAClient Fehler] Fehler: E7432 java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null
[PAClient Fehler] Fehler: E7432 Compilation failed with an internal error.
[PAClient Fehler] Fehler: E7432 Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Users\Public\Documents\Embarcadero\Studio\23.0\ Samples\Object Pascal\Multi-Device Samples\Device Sensors and Services\AndroidNotificationServiceDemo\Notificati onService\Android64\Debug\NotificationService.jar: com/embarcadero/services/NotificationService$LocalBinder.class

I get the same errors when I create a new project with an Android Service using this tutorial:

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Creating_Android_Services

 

Any ideas what is wrong?

 

I'm using D12

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×