Closed Pitoum closed 9 years ago
Hi, did you downloaded google play services from your android package manager (see: https://github.com/SempaiGames/openfl-gpg#how-to-install)
Also, make sure you're using openfl-legacy (since openfl-next does not support android extensions using JNI yet).
I do have google play services downloaded. I'll look into the all legacy/next suggestion monday (it's on my work computer). Thanks!
Hi again,
So far no change. I'll try to give you as much information I can.
These are my libraries installed and there versions: actuate: [1.8.6] extension-nativedialog: [1.2.1] ganalytics: [0.0.3] HaxePunk: 2.5.5 [2.5.6] hxcpp: [3.2.102] lime-samples: 2.3.0 [2.5.1] lime: 2.4.3 2.4.5 [2.5.2] openfl-gpg: [1.3.0] openfl-gps-lib: 1.0.3 [1.0.4] openfl-ouya: [1.0.2] openfl-unityads: [1.0.3] openfl: 3.1.1 [3.2.2]
These are the installed packages:
These are the files in my bin folder for my haxepunk project:
This is my project.xml:
<?xml version="1.0" encoding="utf-8"?>
<project>
<meta title="Hareport - Crazy flights" package="com.teamto.*********" version-code="2" version="0.1.3" company="TeamTO Games" />
<app file="Hareport - Crazy flights" main="Main" path="bin" />
<certificate path="**********" alias="*********" password="*******" if="android" unless="debug"/>
<window fps="60" background="0x333333" />
<window width="960" height="540" resizable="true" unless="mobile" />
<window fullscreen="true" if="mobile" />
<window orientation="landscape" vsync="true" antialiasing="0" if="cpp" />
<source path="src" />
<haxelib name="HaxePunk" />
<haxelib name="Actuate" />
<haxelib name="openfl-unityads" />
<haxelib name="ganalytics" />
<haxelib name="openfl-gps-lib" />
<haxelib name="openfl-gpg" />
<haxelib name="extension-nativedialog" />
<assets path="assets/shaders" rename="shaders" include="*.vert|*.frag" />
<assets path="assets/graphics" rename="graphics" include="*.png|*.jpg" />
<assets path="assets/audio" rename="audio" include="*.mp3" if="flash" />
<assets path="assets/audio" rename="audio" include="*.wav|*.ogg" unless="flash" />
<assets path="assets/font" rename="font" include="*.ttf" />
<setenv name="GOOGLE_PLAY_GAMES_ID" value="************" />
<set name="openfl-legacy" />
<android target-sdk-version="19" />
<icon path="assets/HaxePunk.svg" />
</project>
And I'm not sure what I can add :\
Hi, just in case: Can you check that the SDK you're using to download the Google Play Services Lib is the same that OpenFL is using to build the project?
Another option is to manually add the required files to your project: In your case, you should be able to copy the files in "E:\Development\Android SDK\extras/google/google_play_services/libproject/google-play-services_lib" to your "bin/android/bin/deps/google-play-services_lib".
... I'm so sorry. I want to die -_- Thanks to make me realize I had an old sdk folder. Really sorry again :'(
Never mind :) Glad you fixed it!
Android target : 19 I don't really know which other information could be relevant.
BUILD FAILED
Total time: 0 seconds Build halted with errors.