Code Monkey home page Code Monkey logo

Comments (12)

idanasher avatar idanasher commented on July 18, 2024 1

@marchbold thanks Michael, it is now working and compiling with no errors

thank you both so much

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

Adding more information: when compiling is completed i am getting this message:

image

from adobe-runtime-support.

ajwfrost avatar ajwfrost commented on July 18, 2024

The warning there implies that there are two ANEs that have a "core-1.10.1.jar" file referenced. We are making the assumption that these are the same libraries, but maybe they're not, if one of them doesn't have androidx.core.app.CoreComponentFactory and one of them does ...

@marchbold are you able to check which ANEs have that 'core' dependency and see whether there's a possibility of some mis-match?

@idanasher the other thing to check would be in your ADT configuration (or set it via AIR SDK Manager) there's a "Keep Android Studio output" option, if you use that then you can open up the folder "AndroidStudioProject" within Android Studio and then check the dependencies there.. you should find core-1.10.1.jar within the "app\libs" folder, it would be good to just open it in a zip manager to see whether that class is in there...

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

@ajwfrost I have followed your guidlines and I have installed the airsdk manager (for the first time)

now when compiling I get this:
image

this is my adt.cfg :
image

what just happened ?

from adobe-runtime-support.

ajwfrost avatar ajwfrost commented on July 18, 2024

The error is showing that it's getting an invalid value for the platform sdk. That config file isn't setting a platform sdk (although it's got an Android SDK in the "JAVA_HOME" line?)

But also, please note that the config file should be in c:\users\edan.airsdk\adt.cfg now, so you can either edit that directly, or in the SDK Manager:

Actually .. have just checked this and we appear to have a bug in the AIR SDK Manager, if you're setting the path via that using the "Browse" option, then the config file is showing with backslashes (on Windows). Which would then explain what you're seeing in the Animate output..

Can you please manually edit
c:\users\edan.airsdk\adt.cfg
and change the backslashes to forwardslashes in those paths?

I'll raise an issue on the AIR SDK Manager project to get that corrected..
thanks

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

@ajwfrost I have managed (after removing airsdk manager and manually settings 'KeepAndroidStudioOutput=true' on the adt.cfg) to do it.

Now I have 'AndroidStudioProject' folder on my build location.
I have located the core-1.10.1.jar and (after extracting it in another folder) it seems that it contains the class:

image

from adobe-runtime-support.

ajwfrost avatar ajwfrost commented on July 18, 2024

You're looking for a class "CoreComponentFactory.class" under there in a folder:
androidx/core/app

But maybe that's the wrong library, I had just spotted that one because it had "core" in the name ..

In terms of ANEs, do you have this one?

androidx.core.ane

from the "ANE-AndroidSupport" collection from Distriqt..

Also there was a suggestion here, which would involve a change to the manifest file via the App Descriptor xml:
https://stackoverflow.com/a/65980047

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

@ajwfrost
I couldn't find 'CoreComponentFactory' or folder 'androidx/core/app'

Yes, I'm using androidx.core.ane from Distriqt ANE-AndroidSupport

I have tried the manifest App Descriptor xml change suggetsed on stackoverflow.
I have changed the <application row to this:
<application android:appComponentFactory="androidx" tools:replace="android:appComponentFactory" android:supportsRtl="true">

But I got an error parsing the xml at compilation time

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

If it helps, here is the 'AndroidStudioProject' folder itself:
Uploading AndroidStudioProject.zip…

from adobe-runtime-support.

ajwfrost avatar ajwfrost commented on July 18, 2024

Thanks, that would help, but I think you posted the message before the upload had completed...? it just links back to the main issue ID..

from adobe-runtime-support.

idanasher avatar idanasher commented on July 18, 2024

You're right. I am uploading it again:

AndroidStudioProject.zip

from adobe-runtime-support.

marchbold avatar marchbold commented on July 18, 2024

Looks like you have an old version of the com.google.android.play extension which is conflicting with the latest androidx.core

Try updating that one to the latest v1.10.304

https://github.com/distriqt/ANE-GooglePlayServices/raw/master/lib/com.google.android.play.ane

from adobe-runtime-support.

Related Issues (20)

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.