*hint*

> android.gradleDep=;implementation 
> 'com.google.android.gms:play-services-location:10.0.1';


>  
* class nativeInterfaceImpl*

private void showSettingDialog() {

        com.google.android.gms.location.LocationRequest locationRequest = 
> com.google.android.gms.location.LocationRequest.create();

        
> locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);//Setting 
> priotity of Location request to high

        locationRequest.setInterval(30 * 1000);

        locationRequest.setFastestInterval(5 * 1000);//5 sec Time interval 
> for location update

        LocationSettingsRequest.Builder builder = new 
> LocationSettingsRequest.Builder()

                .addLocationRequest(locationRequest);

        builder.setAlwaysShow(true);

//... 
} 


*error msg*

file or directory '/tmp/build4005083318529358370xxx/main/src/release/java', not 
found
> Compiling with JDK Java compiler API.
> /tmp/build4005083318529358370xxx/main/src/main/java/com/yallagym/nativeInterfaceImpl.java:122:
>  error: cannot access zza
>         com.google.android.gms.location.LocationRequest locationRequest = 
> com.google.android.gms.location.LocationRequest.create();
>                                                                               
>                                            ^
>   class file for com.google.android.gms.common.internal.safeparcel.zza not 
> found
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 error
> :compileReleaseJavaWithJavac FAILED
> :compileReleaseJavaWithJavac (Thread[Daemon worker,5,main]) completed. Took 
> 16.386 secs.
>
> FAILURE: Build failed with an exception.
>
>
 are there a solution?

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7ed820cf-3a01-473e-a6f8-7dfc665fa720%40googlegroups.com.

Reply via email to