Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17070

Apk crash on startup with google play services

$
0
0

@japrobles wrote:

Hi, I have been working on my project around 4 months and never had anything problem running the apk in my android, but today I tryed to put the google services in my app, without call anything, only following some tutorials such as this http://blog.rhesoft.com/2015/04/20/tutorial-google-play-game-services-with-cocos2d-js-and-android/ for example.

The apk is compiled but when is running I get that log and crashes:

 Success
running: '"C:\Android\sdk\platform-tools\adb" install "E:\cocos2d-x-3.8.1\projects\Galactica\bin\debug\android\Galactica-debug.apk"'

4600 KB/s (21639552 bytes in 4.593s)
        pkg: /data/local/tmp/Galactica-debug.apk
Success
Running command: run
Starting application.
running: '"C:\Android\sdk\platform-tools\adb" shell am start -n "org.cocos2dx.Galactica/org.cocos2dx.lib.AppActivity"'

Starting: Intent { cmp=org.cocos2dx.Galactica/org.cocos2dx.lib.AppActivity }
E:\cocos2d-x-3.8.1\projects\Galactica>

The game crashes but the google play services works.

Do you know what this might be?

Thank you so much.

edit:

Well... I "fixed" the issue, I was writing .lib. instead of .cpp.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>