Skip to content
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

Not compatible with latest OpenFL version #15

Closed
Reintjuu opened this issue Feb 12, 2016 · 3 comments
Closed

Not compatible with latest OpenFL version #15

Reintjuu opened this issue Feb 12, 2016 · 3 comments

Comments

@Reintjuu
Copy link

When I create an OpenFL project, include the admob extension and build for Android, I get the following error:

[aapt] C:\Development\Projects\AdmobTest\Export\android\bin\deps\google-pla
y-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving pa
rent for item: No resource found that matches the given name '@android:style/The
me.Material.Light.DialogWhenLarge.NoActionBar'.

BUILD FAILED
C:\Development\Android SDK\tools\ant\build.xml:597: The following error occurred
while executing this line:
C:\Development\Android SDK\tools\ant\build.xml:649: The following error occurred
while executing this line:
C:\Development\Android SDK\tools\ant\build.xml:694: null returned: 1

Total time: 3 seconds

Haxelib list contains the following:

extension-admob: [1.4.7]
extension-android-support-v4: [1.0.0]
extension-googleplayservices-lib: [1.1.0]
openfl: [3.6.0]

I have the latest versions installed in the Android SDK manager of Google Play services and the Android Support Library. Am I doing something wrong or do I need another version of OpenFL?

@Reintjuu Reintjuu reopened this Feb 12, 2016
@Reintjuu
Copy link
Author

Apparently when adding <android target-sdk-version="23" if="android" /> to the project.xml it's all magically fixed.

@NemoStein
Copy link

Just stumbled on the same problem... This should be documented.

@fbricker
Copy link
Contributor

fbricker commented Apr 29, 2016

Done, now it's documented (this was something google modified on google-play-services and/or android-support-v4 libraries...). I think they're pushing developers to use the last SDK by all means :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants