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

compiling ANE #91

Open
cybomon opened this issue Feb 26, 2016 · 0 comments
Open

compiling ANE #91

cybomon opened this issue Feb 26, 2016 · 0 comments

Comments

@cybomon
Copy link

cybomon commented Feb 26, 2016

Hello and thank you for sharing this useful ANE.

I'm actually trying to use this ANE only for the local notifications functionality. I've had no luck implementing other similar ANEs.

The problem I'm having is compiling the ANE. I believe it has something to do with not having the proper android SDK source code as the errors look like they can't find those classes.

Here is the output of the last error:
[javac] C:\Users\me\Desktop\d\my app\ANE-Push-Notification-mast
er\ANE-Push-Notification-master\android\src\com\freshplanet\nativeExtensions\Mul
tiMsgNotification.java:21: error: package android.graphics does not exist
[javac] import android.graphics.BitmapFactory;
[javac] ^
[javac] 100 errors
[javac] 1 warning

I've had so much trouble getting the android SDK manager working, so I resorted to downloading it by extracting the URL from the XML repository link. I know I have the sdk installed but I don't think I have the right source. Is there a particular build of android source this ANE requires to compile?

In the build.xml I see a srcdir attribute on line 53 <javac srcdir="../android/src" source="1.7" . Is this looking for the android SDK source code in the SDK directory subdir "src".

Thanks for any help. I've spent a while trying to get this working. I wish I could type this in AS3:
NativeProcess.pushNotification("this is the next", 3000);
Perhaps in a perfect world, I suppose Adobe could do this.

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

1 participant