Coder Social home page Coder Social logo

aneandroidcommon's Introduction

ANEAndroidCommon

Android Native Extension in 4 steps (including test app)

Requirements:

  1. AIR SDK http://www.adobe.com/devnet/air/air-sdk-download.html
  2. Eclipse IDE with Google plugin

Script goall.bat will do everything including building and running test if some device is connected.


Copyright (c) 2016, Oldes All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

aneandroidcommon's People

Contributors

oldes avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lwmirkk

aneandroidcommon's Issues

compile settings

Hi Oldes, please, need your advice as I need to recompile this new version of your ANE on my own.
Can you please tell me what exactly set up and where If I want to get my versions of "ALL" release file and "ARM64-Support-v27" release file from your "release" directory?
Because I see main setup BAT file and the parameter ARCH_OPTION=armv7 (can be one of: armv7 | x86 | x64) in it, but I cannot see this parameter used anywhere in you scripts except in test directory (04-TestAndroidCommon/go-arm64.bat), so does it need to be set up (and how) for compiling? And also there is a file 03-ANEAndroidCommon-ane/go-Basic.bat do I have to change/comment out something here according to 2 releases which I need? And finaly there is commented out row no. 42 (::xcopy /S /Y src\assets\platform\Android-ARM* src\assets\platform\Android-ARM64) in file 03-ANEAndroidCommon-ane/go-common.bat. Do I have to uncomment it in any case (when I need 64bit for example) or why its there?
Sorry for those lama questions. I was able to recompile this ANE previously, but now after refactoring and adding 64bit support on your side I am lost in all that options.
You also had Bo and Chu files along in directories, so I was able to check them and setup my files accordingly, but now they are hidden so nowhere to check/see for help...Thanks.

Error when try to compile an app for android in Adobe Animate

Amanita/Oldes, please help. When I try to compile my app for android in Adobe Animate with this ANE, it always ends up with message:
"aapt tool failed: invalid resource directory name: C:\Users\myname\AppData\Local\Temp\xxxxxxxx\icon-res README.txt"
where xxxxxx is different per each compile attempt, but it is never created, so im not able to find out what is going on or what is wrong.
Been using succesfully your really great PermisionAndroid ANE in my project so far, so I thought I simply add this ANE to the same project the same way, but no luck till now. Please are you able to tell me, what am I missing here? Should this ANE be used differently? Does it need any special dependencies? I can provide my app descriptor file if needed (its a few lines of code...).
The test app descriptor in "04-TestAndroidCommon" directory looks the same like the one packed in the same directory with PermissionAndroid ANE, but this time it simply does not work for me... :-(
David
P.S.: Miluju Vaše hry!

P.S.2: OK, after further inspection I probably know, what the problem is, but have no idea, how to solve it. I have never been worked with Eclipse (to generate my own version of your ANE) and I even dont know, which Eclipse SDK package download or how to install it. Do you plase have this ANE compiled clean without the Chuchel and Botanicula stuff (strings and icons) and also without placeholder for new adaptive icon assets directory (so compiled the same as AndroidPerissionsANE)? Or is there any simple workaround how to get over it? thanks

PS3: Installed Eclipse 4.6 with google plugin and been trying to recompile your ANE on my own last 24 hours, but compiling always fails with bunch of error on the way. Can you please recompile this ANE without all aditional stuff (with adaptive icons parts in "go.bat" commented)? Or provide (or point me to) any simple steps tutorial, how to compile an ANE(win7 64)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.