Another suggestion in the referenced article was to build with android 
gradle=false but that generated a build error.

I built with android.grade=false and android.includeGPlayServices=false

-compile:
    [javac] Compiling 536 source files to 
/tmp/build7034578418479870721xxx/AWMain/bin/classes
    [javac] 
/tmp/build7034578418479870721xxx/AWMain/src/com/codename1/location/CodenameOneBackgroundLocationActivity.java:41:
 error: cannot find symbol
    [javac]                 
l.locationUpdated(AndroidLocationPlayServiceManager.convert(location));
    [javac]                                   ^
    [javac]   symbol:   variable AndroidLocationPlayServiceManager
    [javac]   location: class CodenameOneBackgroundLocationActivity
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:716: The following error 
occurred while executing this line:
/home/ec2-user/android-sdk/tools/ant/build.xml:730: Compile failed; see the 
compiler error output for details.



On Sunday, June 19, 2016 at 8:40:32 PM UTC-7, Shai Almog wrote:
>
> Google effectively dropped support for these phones with Google play and 
> gradle. There are workarounds I highlighted here: 
> http://stackoverflow.com/a/34281264/756809
>

-- 
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].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/07161e2e-277b-4497-b286-2db20db3e454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to