Java Question Cannot compile using Simple Compiler

marcel

Active Member
Licensed User
Longtime User
Hi,

I am working on my second library. This time depended on other libs. I am try to use the google-play-services.jar to use the location client.

When I compile using SLC i get the following error:

B4X:
Starting step: Compiling Java code.
javac 1.6.0_26
D:\projecten\Android\Eclipse\CycloneLocationAPI\src\com\cyclone\b4a\CycloneLocationClient.java:3: package com.google.android.gms.common does not exist
import com.google.android.gms.common.ConnectionResult;
                                    ^
1 error


Error.

I think I probably missing some reference. But I am not sure where to look:

My .classpath contains this:

B4X:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="lib" path="D:/projecten/Android/Libraries/B4A Core Libraries/B4AShared.jar"/>
    <classpathentry kind="lib" path="D:/projecten/Android/Libraries/B4A Core Libraries/Core.jar"/>
    <classpathentry kind="lib" path="D:/Android/android-sdk/platforms/android-19/android.jar"/>
    <classpathentry kind="lib" path="D:/projecten/Android/Libraries/B4A Core Libraries/GPS.jar"/>
    <classpathentry kind="lib" path="D:/projecten/Android/Libraries/B4A Core Libraries/google-play-services.jar"/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
</classpath>

The files are in the correct directory.

Can someone point me to the right direction?

Thanks
Marcel
 

marcel

Active Member
Licensed User
Longtime User
Aha, Stupid. Thanks! Was this a change because I cannot remember I did this before?
 
Top