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

Android ANE doesn't work #7

Open
eliatlas opened this issue Feb 2, 2015 · 12 comments
Open

Android ANE doesn't work #7

eliatlas opened this issue Feb 2, 2015 · 12 comments

Comments

@eliatlas
Copy link

eliatlas commented Feb 2, 2015

Hi guys

When I try to use the ANE, following trace occurs:
[Rating] NOTICE: Rating Extension is not support in this system.

Is it possible you compiled the ANE with Java 1.7?
iOS works fine.

@tsangwailam
Copy link
Contributor

Which system are you using?

@eliatlas
Copy link
Author

eliatlas commented Feb 3, 2015

I am using Mac and Intellij to compile.
Adobe Air 16

@tsangwailam
Copy link
Contributor

Are you testing in emulator? It don't support emulator.

@eliatlas
Copy link
Author

eliatlas commented Feb 3, 2015

Nope. On Samsung Galaxy S4 mini.

@tsangwailam
Copy link
Contributor

What is the OS version running in the S4?

@eliatlas
Copy link
Author

eliatlas commented Feb 3, 2015

4.2.2

@tsangwailam
Copy link
Contributor

Could you post the logcat when the ANE start? Since i don't have the specify device and difficult to address the problem.

@eliatlas
Copy link
Author

eliatlas commented Feb 4, 2015

The logcat doesn't show too much.
I will try to build the ANE myself, and will let you know what happens

@eliatlas
Copy link
Author

eliatlas commented Feb 5, 2015

Ok, I compiled Android ANE locally and it worked on 2 of my devices.
My configuration

  • Java 1.6
  • Flex 4.13
  • Air 16
  • Ant 1.9.4
    I also added target="1.6" to javac target

During the comipilation I had bunch of warnings like this:
upgraded.
[javac] warning: android/widget/Button.class(android/widget:Button.class): major version 51 is newer than 50, the highest major version supported by this compiler.

1 similar comment
@eliatlas
Copy link
Author

eliatlas commented Feb 5, 2015

Ok, I compiled Android ANE locally and it worked on 2 of my devices.
My configuration

  • Java 1.6
  • Flex 4.13
  • Air 16
  • Ant 1.9.4
    I also added target="1.6" to javac target

During the comipilation I had bunch of warnings like this:
upgraded.
[javac] warning: android/widget/Button.class(android/widget:Button.class): major version 51 is newer than 50, the highest major version supported by this compiler.

@tsangwailam
Copy link
Contributor

which android sdks version are you using?

@eliatlas
Copy link
Author

eliatlas commented Feb 8, 2015

21

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

2 participants