Closed philvessey closed 9 years ago
Can you let me know which version of Android / AIR etc you're using?
Android 4.4.4 with latest stable AIR from Adobe 15.0.0.302. Im also running Google Play Services version 6.1.83 on the phone. The issue is resulting in no ads being displayed.
Okay, this is an issue with the AIR SDK. I've put up a modified version with the corrections. You'll need to use this to create any applications with ANE's that use the newer Google Play services.
I'm going to try and contact Adobe and let them know but in the meantime you can you download this modified version and use it. It's the latest SDK but with the Android lib updates:
Let me know how it goes
OK I will give it a go. Suggest you open up a bug report for Adobe and let Chris know about it over twitter. Include in the bug report your modifications.
Bearing in mind these new google play services roll out to everyone automatically this will quickly become a bigger issue.
I get build errors with the modified SDK:
Error: File error processing catalog.xml in C:\Users\Phil\AppData\Local\FlashDevelop\Apps\ascsdk\15.0.0\frameworks\libs._asc-support.swc(error in opening zip file). Error: File error processing catalog.xml in C:\Users\Phil\AppData\Local\FlashDevelop\Apps\ascsdk\15.0.0\frameworks\libs._core.swc(error in opening zip file). Build halted with errors (fcsh).
Okay, Can you try this version:
I don't have a windows box easily accessible at the moment so I've just done the same modification I did to the OSX SDK and I'm hoping that it's the same on windows.
Let me know how it goes.
(Actually it's still uploading so give it half before downloading it sorry!)
Will do - what is the modification should I need to attempt it myself?
Basically it's updating the Android libs (lib/android/
). I'm still working on exactly which ones you need to update but I've been taking the ones from the Kitkat SDK and updating in the AIR SDK. I think it's just the jar lib but I'll get the details together and log a bug with Adobe.
Ok excellent - thanks for all the work you put into the extensions. If you put in the bug report what action needs to be taken at least we can attempt it ourselves if Adobe are slow in updating it.
Get a different error now in the log
11-02 10:51:12.772: E/com.distriqt.Adverts::AdvertsShowAdvertFunction(31429): java.lang.IllegalStateException: A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the application element: meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"
Ah sorry im missing this bit in the xml - will try again :)
Posted the bug report to here: https://bugbase.adobe.com/index.cfm?event=bug&id=3846188
Looking at my log from the device I can see this:
11-01 12:59:32.406: I/dalvikvm(7795): Could not find method com.google.android.gms.common.GooglePlayServicesUtil.isGooglePlayServicesAvailable, referenced from method com.distriqt.extension.adverts.platforms.AdvertsManager.isPlatformSupported
Which looks like its causing the issue.