Last of Google Services (v. 21) ANE + extension airmobile native could not resolve interface

I try to add the last Google Plus (google-game - services.jar) support of a mobile Air application by creating a native extension.

Code not errors of compilation or warnings, the POT is very well implemented, DONKEY is built and included in the project without problems.

but when I run my apk, it crushes. Device-crush-logs I see following error:

12. 04 23195 23195 11:08:18.602 I dalvikvm: could not resolve mCol/google/example/games/basegameutils/Gamehelper1034743; interface 940 "MBCA/google/android/gms/common/api/GoogleApiClient$ ConnectionCallbacks";
12-04 11:08:18.602 23195 23195 W dalvikvm: link class ' MBCA/google/example/games/basegameutils/Gamehelper1034743'; failed

At first, I tried to build an extension of the empty project, all by myself.

After that, I found an extension to open source on github http://github.com/alextel69/google-play-game-services-ane/

I compile this extension and include in my project of mobile AIR and it works fine, but the google-game - services.jar is too old and does not provide classes, that I need.

so, I tried to replace it is libs/google-game - services.jar and libs/android-support - v4.jar with those more recent that I had in my Android SDK Manager.

And that caused the errors above.

In this way, I did not change a single line of code, or ANT build.xml or anything else, I just changed the old support android - v4.jar + google-game - services.jar (works very well!) with the latest android-support - v4.jar + google-game - services.jar (failure). I mean DONKEY is built very well, even, the extension is created and some of its working methods and return values, but as I referense to the google code service, I get this strange error.

Although the interfaces in new and old jars appear to be equal: https://dl.dropboxusercontent.com/u/13839683/ane/jars_compare.png .

jars_compare.png

Moreover, these errors appear in the mobile AIR only. Pure native application using these android-support-google-game + v4.jar - services.jar have no problem.

Here is a brief outline of my native extension:

https://DL.dropboxusercontent.com/u/13839683/ANE/scheme.PNG

scheme.png

And here is a log of complete the birth of expansion and up to his crushing device: http://pastebin.com/iqvR3niD

----

INB4

----

I discovered this problem very carefully and found several son simular, but none of them solved my problem

(1) the solution of problems-interface http://stackoverflow.com/questions/22956979/google-plus-ane-air-native-extension-failed-re

> jar xf /path-to-play-services-project/libs/google-play-services.jar

> jar uf./my_gplus_extension.jar. / com

does not solve everything.

(2) the manipulations with Eclipse http://stackoverflow.com/questions/23104532/adobe-air-4-0-native-extension-with-google-pla y-services do not help either (after all, I build with ANT JAR).

(3) I change resourses (\google-play-services_lib\res\*.*) during the transition to a new google service library.

(4) I even tried to extend the interfaces to google and changed my Gamehelper1034743 for their implementation, but that did not help either (http://dl.dropboxusercontent.com/u/13839683/ane/extend_interface.jpg).

extend_interface.jpg

Thanks for the response, Alexey! I will definitely read this article.

Also, I have to say, that I managed to partially solve this problem. I asked the same question on the starling forum and he is member of tsangwailam suggested I replace the dx.jar in the AIR SDK to new Android SDK.

replacement of dx.jar has really helped. I took %ANDROID_SKD%\sdk\build-tools\19.1.0\lib\dx.jar and copied to %FLEXSDK%\lib\android\bin\dx.jar

and the expansion began to work properly!

but...

as soon as I run a SingInActivity activity

Intent intent = new Intent(context.getActivity().getApplicationContext(), SingInActivity.class);
context.getActivity().startActivity(intent);

my application becomes idle - fails to manage the keys.

It seems that some invisible modal popup appears and does'n enable my application grab taps.

after reduction and restoration of my application, I see that SingInActivity steps in the process 'protected Sub onStart()' and I know that my CCP "sees", because I connect using FREContext.dispatchStatusEventAsync () in the my Flash textfield, but demand is stil not able to manage the users entered (both native flash and starling/stage3d TouchEvents)

It is interesting to note, that when my AIR application loses the ability to manipulate the keys, Android navigation buttons turn of points hidden in buttons:

https://DL.dropboxusercontent.com/u/13839683/ANE/untouchable.PNG

regarding the unit log, I don't see there any erros or Java ecxeptions or nothing (at least for me) that could explain such behavior.

Tags: Adobe

Similar Questions

  • ORA-12154 TNS: could not resolve service name

    Hi all

    I cloned an Oracle Apps 11.5.10.2 instance on a new server and coompleted it successfully. I could connect to the applications and submit queries with success. But when I try to connect to the database using SQLPLUS or TOAD, I get an "ORA-12154 TNS: could not resolve service name" error. I have the tnsentry for this database in tnsnames.ora on my PC. the entry is as below:

    QA11I. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (Port = 1561))(Host = amcdev0004.xxx.com))
    )
    (CONNECT_DATA = (SID = qa11i) ORACLE_HOME = qa11i/app/qa11iora/9.2) (SERVER = DEDICATED))
    )

    TNSPING does not work. I have tried other servers as well but does not work. Please notify.

    Thank you.

    Hello

    A parenthesis is missing in the tnsnames.ora to your first post (just to the left of the ORACLE_HOME).

    For your listener.ora on the next post I did not notice a missing parenthesis.

    Best regards
    Jean Valentine

  • try to start the bonjour service, but get the error message: windows could not start the Bonjour service on local computer

    error message
    Windows could not start the Bonjour service on local computer
    Error 5 access is denied

    I have Vista Home.

    This prevents me to update I have tunes.

    Completely uninstall iTunes. Download the update manually from Apple or here. Restart the system and then install the software you have downloaded.

  • I get the message "the user profile Service has no logon. User profile could not be found. How?

    Compaq Presario CQ3160D desktop PC

    Windows 7 Home Basic 32

    When I connect to the correct password, the message "the service user profile Service has no logon. Profile of user was not found. "That message was met on the morning of 12/07/2011 from. I remembered that as I logged on the night of 12/06/2011, I had to wait 1 1 update. After this 1 update, things have changed. How to solve this?

    Hello

    You can try the following.

    Shut down the PC.  Tap away at f8 that you start the PC to enter the Windows Recovery Console.  Use the arrow keys to select Safe mode and press ENTER.  If windows will load in this mode, on the Start Menu, click principally made programs, click Accessories, click System Tools and run the system restore.  Choose a restore point at least 24 hours prior to the issue of logon (if ideally 12/05/2011 or before) and then do the restore.  When you are finished, Windows will restart as normal in order to check if you can now connect correctly.

    Another option if the above does not help is as follows.

    Shut down the PC.  Tap away at f8 that you start the PC to enter the Windows Recovery Console.  Use the arrow keys to select "Start using last good known Configuration" and press ENTER.

    Kind regards

    DP - K

  • I can't in my email as soon as I saw maintenance service is either pre-formed. I could not enter and cannot receive hot mail

    I can't get into my hotmail for the past 2 days. The message is maintenance is pefromed

    "Applesnewbe" wrote in the new message: * e-mail address is removed from the privacy... *

    I can't get into my hotmail for the past 2 days. The message is maintenance is pefromed

    It is quite possible that maintenance is really underway.

    You try to access your Hotmail account with a web browser (Internet Explorer) or a program e-mail Client on your computer (such as Outlook Express or Windows Live Mail)?

    If you use a mail Client program, it is configured to download messages from the server pop3.live.com, or is it configured to synchronize with the HTTP server athttp://mail.services.live.com/DeltaSync_v2.0.0/sync.aspx?

  • Can not access my MSN page the last 36 hours. I get the message "your request could not be processed at this time, please refresh this page or try again later." All the suggestions/help appreciated!

    Nothing has changed on my computer that I know. I use my MSN for my homepage & have had no problems with it before.

    I finally found a solution that worked for me.  I whitelisted and had to disable to My.MSN.com & refresh the page a couple of times.  Strange that it wasn't a problem until 3 days ago - hope this helps some of you!

  • After effects CC don't launches and displays the following error "the common suite Extensibility Platform (CEP) could not be loaded." and I have to re - install? What caused that?

    Just tried to open After Effects and got the error above - all my other apps CC seem to well.  Could do without having to re - install and reading a few posts to say that a reinstall didn't work?

    Concerning

    Alan

    Solved by adobe support - I'm on windows and if you "run as Administrator" that solved the problem.  You can make that permanent by right-clicking on the shortcut, select "Properties", select the Properties tab and check "run this program as an administrator". I get a box now when I open AE saying: "do you want to allow this application to make changes to your PC" but can live with.

    Alan

  • Photoshop CC2015 throwing error "the extension of departure could not be loaded because it was not properly signed.

    Screenshot_3.pngI try to open my photoshop cc 2015 and I can't do it, can anyone help?

    Hi spyrosf,

    Go to the Photoshop preferences, then the general tab.

    Uncheck the 'Show to start the space '.

    Restart Photoshop and let me know if it helps.

    Kind regards

    Tanuj

  • SE error message: user account Service failed to connect. Windows could not load user data while trying to connect to windows

    Original title: I can't access my user account

    I went to to connect my user on my laptop and a message popped up saying the service user account Service failed to connect.

    Windows could not load user data.

    Someone please help!

    Hi tozza92,

    1. you remember to make changes to the computer before this problem?

    2. are you able to connect by using a different account?

    You can consult the following Microsoft KB article and check if it helps to solve the problem:

    Error message when you log a computer Windows Vista-based or Windows 7 by using a temporary profile: "the user profile Service has no logon. Unable to load the user profile.

    http://support.Microsoft.com/kb/947215

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Unable to get the administrator account, receive the error such as the user profile service failed logon. User profile could not be loaded. "

    Original title: "the user profile service has no logon. User profile could not be loaded"and admin password will not work

    I had this problem came several times before but it always correct itself without any intervention from myself. Now, even after restarting the computer several times I can not directly connect to my main Administrator profile. I have another profile without administrative privileges already done so I could at least use my computer, but only with limited permissions. When I try to do something to solve the problem, as the registry change, I'm prompted to enter the administrator password. I enter the password and the alert box goes, and nothing happens. Enter the password seems doing nothing, except the aknowledge the password is correct (it warns me when I entered a wrong password so I know it's no doubt receiving data). DOoes anyone know how to fix this? The computer works relatively well recently and have no idea of what decoration could have happened to cause such a mistake that bothers.

    Hello

    This worked for me, try allowing the default Administrator account, the steps are in the following link
    I hope this will help!
  • ServiceAliasException: Could not enum Net service names: TNS-04404: no error what do I do?

    I am a novice so please don't ask me for this help.

    I have listener.ora and tnsnames.ora

    When I tnsping ORADB_18 which is the connection string in tnsnames.ora file, it says:

    C:\users\administrator > tnsping ORADB_18

    AMT Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production May 26, 2015 00:04:22

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\sqlnet.ora

    AMT-03505: failed to resolve the name

    then I tried to create the sqlnet.ora by netca < configuration of local network service name. She translates by follows it:

    C:\users\administrator > netca

    Oracle Net Services Configuration:

    ServiceAliasException: Could not enum Net service names: TNS-04404: no error

    caused by: oracle.net.config.ConfigException: 04414-TNS: file error

    caused by: TNS-04605: invalid syntax error: unexpected or LITERAL char "ORADB" before or at the ORADB =)

    ServiceAliasException: Could not enum Net service names: TNS-04404: no error

    caused by: oracle.net.config.ConfigException: 04414-TNS: file error

    caused by: TNS-04605: invalid syntax error: unexpected or LITERAL char "ORADB" before or at the ORADB =)

    Oracle Net Services configuration that is terminated by the user.  The exit is - 1 code

    Content of the Listener.ora:

    listener.ora # Network Configuration file: F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ORADB)

    (ORACLE_HOME = F:\app\Ashraful\product\11.2.0\dbhome_1)

    (SID_NAME = ORADB)

    )

    (SID_DESC =

    (SID_NAME = CLRExtProc)

    (ORACLE_HOME = F:\app\Ashraful\product\11.2.0\dbhome_1)

    (= Extproc PROGRAM)

    (ENVS = "EXTPROC_DLLS=ONLY:F:\app\Ashraful\product\11.2.0\dbhome_1\bin\oraclr11.dll")

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = *. *. *. *)(PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    ADR_BASE_LISTENER = F:\app\Ashraful

    Table of contents of tnsnames.ora:

    tnsnames.ora # Network Configuration file: F:\app\Ashraful\product\11.2.0\dbhome_1\network\admin\tnsnames.ora

    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    (CONNECT_DATA =

    (SID = CLRExtProc)

    (PRESENTATION = RO)

    )

    )

    ORADB_18 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.11.201.18)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = dedicated)

    (SERVICE_NAME = ORADB)

    )

    )

    I also put my TNS_ADMIN variable in the system. TNS_ADMIN = F:\app\Ashraful\product\11.2.0\dbhome_1\NETWORK\ADMIN

    Listener is towards the top and ok.

    I can connect successfully:

    SQL > conn hr / *.

    Connected.

    but this is impossible:

    SQL > conn hr/***@ORADB_18

    ERROR:

    ORA-12154: TNS: could not resolve the connect identifier specified

    remove the left front spaces of ORADB_18 =

    as I know that this is not allowed

    concerning

    ANR

  • Could not contact Service Manager FNDSM_NALINOES01_ABDVLP.

    Could not contact Service Manager FNDSM_NALINOES01_ABDVLP. The TNS alias could not be located, the listening on NALINOES01 process could not be contacted or the listener cannot generate the process from the Service Manager.

    What is happening all of a sudden. Let me tell you what I've done so now.

    Stop all services ran autoconfig, ran some more cmclean problem

    The fnd_nodes has eigenvalues

    the file/etc/hosts is NOT changed

    The status of the trigger in user_triggers is correct.

    The listener runs correctly on node 1 layer application, but entry in tnsnames.ora FNDSM up the error for the 1st node only, 2nd application node works correctly.

    [appdvlp@nalinoes01 ABDVLP_nalinoes01] $ tnsping FNDSM_NALINOES01_ABDVLP

    AMT Ping utility for Linux: Version 8.0.6.3.0 - Production on 18 January 2013 07:08:29

    (c) Copyright 1997 Oracle Corporation. All rights reserved.

    Try to contact (ADDRESS = (PROTOCOL = tcp)(HOST=NALINOES01.abd.ad.acco.com) (PORT = 1630))
    AMT-12541: TNS:no listener
    [appdvlp@nalinoes01 ABDVLP_nalinoes01] $ tnsping FNDSM_NALINOES02_ABDVLP

    AMT Ping utility for Linux: Version 8.0.6.3.0 - Production on 18 January 2013 07:08:33

    (c) Copyright 1997 Oracle Corporation. All rights reserved.

    Try to contact (ADDRESS = (PROTOCOL = tcp)(HOST=NALINOES02.abd.ad.acco.com) (PORT = 1630))
    OK (0 msec)


    [appdvlp@nalinoes01 ABDVLP_nalinoes01] $ adalnctl.sh State APPS_ABDVLP

    adalnctl.sh version 115.17

    Check the status of the process of listening APPS_ABDVLP.

    LSNRCTL for Linux: Version 8.0.6.3.0 - Production on 18 January 2013 07:10:02

    (c) Copyright 1999 Oracle Corporation. All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = TCP (Port = 1629))(Host=nalinoes01))
    STATUS of the LISTENER
    ------------------------
    Alias APPS_ABDVLP
    Version TNSLSNR for Linux: Version 8.0.6.3.0 - Production
    Start date January 18, 2013 06:45:03
    Uptime 0 days 0 h 24 min 58 sec
    Draw level off
    Security OFF
    SNMP OFF
    The listener log file /Abdvlp/comn/conf_nalinoes01/8.0.6/network/admin/apps_abdvlp.log
    Summary of services...
    FNDFS has 1 service operation
    FNDSM has 1 service operation
    The command completed successfully

    adalnctl.sh: exit with status 0

    The connection to the base everything is perfect.

    So, what is the error... Please help. !!!

    [appdvlp@nalinoes01 ABDVLP_nalinoes01] $ cat listener.ora
    # $Header: admk80ln_ux.sql 115.28 ship pvaddepa 21/05/2007-06:20:50 $
    # LISTENING PORT. ORA for Oracle Applications
    # This file is automatically generated

    APPS_ABDVLP =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (Port = 1629))(Host= nalinoes01))
    )

    SID_LIST_APPS_ABDVLP =
    (SID_LIST =
    (SID_DESC = (SID_NAME = FNDSM)
    (ORACLE_HOME = abdvlp/ora/8.0.6)
    (PROGRAM = abdvlp/appl/fnd/11.5.0/bin/FNDSM)
    (envs='MYAPPSORA=/abdvlp/appl/APPSABDVLP_nalinoes01.env,PATH=/usr/bin:/usr/ccs/bin:/bin,FNDSM_SCRIPT=/abdvlp/comn/admin/scripts/ABDVLP_nalinoes01/gsmstart.sh ')
    )
    (SID_DESC = (SID_NAME = FNDFS)
    (ORACLE_HOME = abdvlp/ora/8.0.6)
    (PROGRAM = abdvlp/appl/fnd/11.5.0/bin/FNDFS)
    ( envs='EPC_DISABLED=TRUE,NLS_LANG=American_America.WE8ISO8859P1,LD_LIBRARY_PATH=/usr/dt/lib:/usr/openwin/lib:/abdvlp/ora/8.0.6/lib,SHLIB_PATH=/usr/lib:/usr/dt/lib:/usr/openwin/lib:/abdvlp/ora/8.0.6/lib,LIBPATH=/usr/dt/lib:/usr/openwin/lib:/abdvlp/ora/8.0.6/lib,APPLFSTT=ABDVLP; ABDVLP1_FO; ABDVLP_BALANCE; ABDVLP3; ABDVLP2; ABDVLP_806_BALANCE; ABDVLP1; ABDVLP3_FO; ABDVLP2_FO; ABDVLP_FO, APPLFSWD = / abdvlp/appl/admin; / abdvlp/comn/temp; (/ abdvlp/comn/html/oam/nonUix/launchMode/restricted ')
    )
    )

    Is the listener on the NALINOES01.abd.ad.acco.com running?

    The file listener.ora watch port 1629, so that the entry in the file tnsnames.ora watch port 1630, so any what reason you use two different ports?

    Thank you
    Hussein

  • Google services drain my battery.

    Google services and Google Photos have been draining my battery and causing it to heat again. This has been a persistent problem that happens from time to time. I'm looking for solutions and advice here, so it would be great if someone help me with this.

    If all else fails, I could do a software repair or factory reset, but I try to book as a last resort because I know that all data will be erased.

    I have some screenshots of battery management and will be prepared to if necessary poster.

    Settings--> Apps--> Services Google Play-> Storage-> manage space-> erase all data

    Restart the phone (judgment, market).

    NB! You need to connect to Google again.

  • Issue of drain battery Google services

    I have been using Moto X game for over 3 weeks now. The main problem is that the Google Services is a major slice of the life of the battery for some odd reason. I read in another forum where people talk about uninstall Google update n re service - install but I don't really know how easy n security is.

    Can someone please.

    Thank you

    PRV

    If you have restarted? Sometimes, that's all it takes. It just depends on how many times this happens.

    I have never had to re - install the Google services, but I got it suck a lot of battery. You can certainly try. It's risk free - uninstall updates for Google services, (I would reboot) and then update the application. Perhaps even reboot again for good measure.

  • White screen XT 1039, reset, google services

    Hello everyone.

    I'm here because of my XT 1039 (G 4 G LTE 1st gen) who becomes a real pain.

    Tuesday no reason, my stop phone itself and restarted automatically on a black screen.

    I got the logo of animation but then black screen boot. I tried several thing I've seen on the forums (it seems to be a problem of backlight) but without success. Now I knew that there was a restart v_v safe mode'...

    So I ended in reseting my phone to factory settings using the recovery mode.

    The phone works now again.

    But now that my battery drains like never before. and I don't know why. The phone is, in my view, in the same configuration as before the factory reset.

    I noticed that now the "google services" "app" is using a lot of my battery. In 4 hours, he uses 13% of my battery. And before the reset, it never happened.

    Ialso have an app 'gsm' also using 12%, but I don't know what it is. I do not use my phone during the day, and I can't understand this :/

    I missed something in my configuration?

    Any help will be really appreciated, because I still don't know everything about android ^^'. and I don't want to do something bad.

    If you do a reset and auto restore it sometimes causes problems.

    I would first try to restart the phone. See if that helps.

    If not, perhaps another reset, but instead of letting google restore anything. That jump. Skip setting up the google account too. Let the phone reset it completely and use it without additional software or play the interference of store. After you know that the phone is working correctly, connect to the game shop and manually install and configure apps.

Maybe you are looking for