New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error #1014: Class com.freshplanet.ane.AirGooglePlayGames::AirGooglePlayGamesEvent could not be found. #3
Comments
Hello !
By the way, thanks for your open source ANEs, that's a great job and already saves me loooot of time ^^ |
Had anyone get to solve the problem and make the extension work? |
Add the following line in the manifest:
Please ensure that the targetVersion of sdk in the manifest is set to 13 like below
Please ensure that your app-id is well formated like below:
Don't forget the space after the ""! Please ensure that the startAtLaunch methode is called on the first frame of your app (in your preloader if you have one) If none of the above works for you, well...you're doomed! |
it doesn't work for me, looks like I'm doomed, lol |
Yeah. It kindy works for me but I run into another bug. So I switched to the lib from milkman. |
how did you get it working? I'd like to get it working as long as the bug isn't too major |
It's not working but there is no crash either. Nothing appends when I call the showStandardAchievements.
|
I have that too, I get it on signIn() , oh well, looks like i'll have to check out milkman's lib. Google should come out with a version for air developers. |
I hope that too but it's not likely to happen. I'm currently learning how to make my own extention. I will inform you if I manage to do it. |
alright good luck. |
I've got a simmilar issue. I managed to find out, that in my case it comes from two different anes conflicting with each other. They are: <extensionID>com.freshplanet.AirGooglePlayGamesService</extensionID> <extensionID>com.milkmangames.extensions.GoViral</extensionID> Anytime I comment out one of them, the compilation succeeds, but never can I use them together. The error I get is: aapt tool failed:C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_dark.xml:3: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_dark_text_pressed'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_dark.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_dark_text_disabled'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_dark.xml:10: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_dark_text_focused'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_dark.xml:13: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_dark_text_disabled'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_dark.xml:16: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_dark_text_default'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_light.xml:3: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_light_text_pressed'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_light.xml:6: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_light_text_disabled'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_light.xml:10: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_light_text_focused'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_light.xml:13: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_light_text_disabled'). C:\Users\karol-stola\AppData\Local\Temp\6467ebfb-c5ff-46f5-9762-f8ca2f07d433\res\color\common_signin_btn_text_light.xml:16: error: Error: No resource found that matches the given name (at 'color' with value '@color/common_signin_btn_light_text_default'). Then I found something like this: It turned out that it appears, when in both anes you have files in res/values, that have the same name. Seems that you have to recompile one of your anes with renamed file in order for it to work.
Then I stumbled upon a problem, that adt found some duplicates: aapt tool failed:C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors_pgs.xml:14: error: Resource entry com_facebook_picker_place_image_size is already defined. C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors.xml:3: Originally defined here. C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors_pgs.xml:15: error: Resource entry com_facebook_picker_search_bar_background is already defined. C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors.xml:4: Originally defined here. C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors_pgs.xml:16: error: Resource entry com_facebook_picker_search_bar_text is already defined. C:\Users\karol-stola\AppData\Local\Temp\0558adf8-95dc-4819-b8f5-67dc379816f0\res\values\colors.xml:5: Originally defined here. Which I mercilessly commented out in my res/values/colors_pgs.xml, recompiled and it worked! I suppose, that the problem appears because of some adt strange behaviour, that it does not use the file, which name was already used (two files with same name). I would graceously accept any thoughts on what can go wrong with this solution. |
Hello,
I have an issue with running your library on Android Device (but not in the emulator).
In the XML (AIR Manifest) I have:
And when I run the app, it crashes soon after with:
[Fault] exception, information=VerifyError: Error #1014: Class com.freshplanet.ane.AirGooglePlayGames::AirGooglePlayGamesEvent could not be found.
The Stacktrace is:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604)
at java.util.ArrayList.get(ArrayList.java:382)
at flash.tools.debugger.concrete.DManager.getFrame(DManager.java:921)
at flash.tools.debugger.concrete.PlayerSession.pullUpActivationObjectVariables(PlayerSession.java:1113)
at flash.tools.debugger.concrete.PlayerSession.requestFrame(PlayerSession.java:1089)
at flash.tools.debugger.concrete.PlayerSession.getValueWorker(PlayerSession.java:1211)
at flash.tools.debugger.concrete.IsolatePlayerSession.getValue(IsolatePlayerSession.java:123)
at flex.tools.debugger.cli.ExpressionContext.memberNamed(ExpressionContext.java:438)
at flex.tools.debugger.cli.ExpressionContext.locateParentForNamed(ExpressionContext.java:540)
at flex.tools.debugger.cli.ExpressionContext.determineContext(ExpressionContext.java:490)
at flex.tools.debugger.cli.ExpressionContext.resolveToVariable(ExpressionContext.java:350)
at flex.tools.debugger.cli.ExpressionContext.lookup(ExpressionContext.java:169)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:161)
at macromedia.asc.parser.ThisExpressionNode.evaluate(ThisExpressionNode.java:34)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1031)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1031)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1065)
at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1306)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
at flash.tools.debugger.expression.DebuggerExpression.evaluate(DebuggerExpression.java:106)
at flex.tools.debugger.cli.ExpressionCache.evaluate(ExpressionCache.java:101)
at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:4023)
at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:4015)
at flex.tools.debugger.cli.DebugCLI.doPrint(DebugCLI.java:3941)
at flex.tools.debugger.cli.DebugCLI.processLine(DebugCLI.java:7032)
at flex.tools.debugger.cli.DebugCLI.process(DebugCLI.java:828)
at flex.tools.debugger.cli.DebugCLI.execute(DebugCLI.java:669)
at flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:461)
I even tried to put:
But it doesn't work either, so I'm assuming I shouldn't do this.
In this case a pop-up window shows with the title "Create Android Package" and this text:
aapt tool failed:C:\Users\Dev-Com2\AppData\Local\Temp\a3b23b12-a89e-4166-bc46-4654bc2e803f\res\layout\com_facebook_placepickerfragment_list_row.xml:33: error: Error: No resource found that matches the given name (at 'layout_width' with value '@dimen/com_facebook_picker_place_image_size').
C:\Users\Dev-Com2\AppData\Local\Temp\a3b23b12-a89e-4166-bc46-4654bc2e803f\res\layout\com_facebook_placepickerfragment_list_row.xml:33: error: Error: No resource found that matches the given name (at 'layout_height' with value '@dimen/com_facebook_picker_place_image_size').
C:\Users\Dev-Com2\AppData\Local\Temp\a3b23b12-a89e-4166-bc46-4654bc2e803f\res\layout\com_facebook_search_bar_layout.xml:3: error: Error: No resource found that matches the given name (at 'background' with value '@color/com_facebook_picker_search_bar_background').
C:\Users\Dev-Com2\AppData\Local\Temp\a3b23b12-a89e-4166-bc46-4654bc2e803f\res\layout\com_facebook_search_bar_layout.xml:15: error: Error: No resource found that matches the given name (at 'textColorHint' with value '@color/com_facebook_picker_search_bar_text').
C:\Users\Dev-Com2\AppData\Local\Temp\a3b23b12-a89e-4166-bc46-4654bc2e803f\res\layout\com_facebook_search_bar_layout.xml:15: error: Error: No resource found that matches the given name (at 'background' with value '@color/com_facebook_picker_search_bar_background').
ADT command line:
c:\program files (x86)\jetbrains\intellij idea 12.1.2\jre\jre\bin\java.exe -Dapplication.home=D:\Air_SDK\AIR_4.0 -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar D:\Air_SDK\AIR_4.0\lib\adt.jar -package -target apk-debug -listen 7936 -storetype PKCS12 -keystore C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.2\plugins\flex\lib\temp_keystore.p12 -storepass keystore_password D:\Projects\WienerGames\LasVegasSlot\production\Mobile\LasVegasMobile.apk D:\Projects\WienerGames\LasVegasSlot\production\Mobile\LasVegasMobile-app.xml -extdir D:\SWC_and_librarys\MmgStoreKitANE_v1_0_9\extension -extdir D:\SWC_and_librarys\MmgRateBoxANE_v1_0_10\extension -extdir D:\SWC_and_librarys\MmgAndroidIABANE_v2_0_0\extension -extdir D:\SWC_and_librarys\MmgGoViral_both_ANE_v3_0_8\extension -extdir D:\SWC_and_librarys\AndroidGooglePlayServices\ANE-Google-Play-Game-Services\bin -C D:\Projects\WienerGames\LasVegasSlot\production\Mobile Mobile.swf -C D:\Projects\WienerGames\LasVegasSlot\Assets\gameassets . -C D:\Projects\WienerGames\LasVegasSlot\Mobile\system\icons .
I use:
- IntelliJ IDEA 12.1.2
- AIR SDK 4.0
- Win 7 x64-bit.
The Library is added as dependency in the project as Global Library (both in the Core and Mobile projects). I added both the AS3 code and the ANE.
Rebuilding the project also doesn't help.
Please, help.
Regards,
Evgeni
The text was updated successfully, but these errors were encountered: