Comments (12)
@marchbold thanks Michael, it is now working and compiling with no errors
thank you both so much
from adobe-runtime-support.
Adding more information: when compiling is completed i am getting this message:
from adobe-runtime-support.
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.
@ajwfrost I have followed your guidlines and I have installed the airsdk manager (for the first time)
now when compiling I get this:
what just happened ?
from adobe-runtime-support.
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.
@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:
from adobe-runtime-support.
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.
@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.
If it helps, here is the 'AndroidStudioProject' folder itself:
Uploading AndroidStudioProject.zip…
from adobe-runtime-support.
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.
You're right. I am uploading it again:
from adobe-runtime-support.
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)
- Crash rates spike from <0.5% to ~8% on GooglePlay after updating to Air SDK 50.2.4.1 HOT 5
- flash.text.engine.TextLine rawTextLength and "plus" sign HOT 10
- adobe air 2.6 (AIRInstaller.bin) for linux HOT 2
- App loading is delayed when multiple swf files added in the app bundle HOT 3
- The splash screen of the developer's own logo does not work properly on ANDROID 12 and above HOT 12
- AIR SDK 50.2.4.3 - APK not valid with hardware certificat HOT 7
- Compiling (Animate23) results in Error - gradle tool field HOT 2
- Line Art add-on to Adobe Express Error HOT 1
- [Feature Request] `Screen::orientation`
- Cannot set permission android HOT 6
- [AIR 50.2.4.3+] App crash when create dinamically a Bitmap with a background worker HOT 3
- How to load swf files from the sever in order to reduce app size HOT 5
- [ANE] `ApiException SIGN_IN_CANCELLED` after sign-in dialog in Google Play Games extension code HOT 2
- LoaderInfo::containsDebugInfo
- [AIR SDK 51.0.0.2] Animate trying to use 50.2 namespace HOT 2
- [AIR SDK 51.0.0.2] airsdk.xml not updated HOT 1
- [Android][ANE] Warning: exception thrown from ANE function: returning a null value to ActionScript HOT 5
- [AIR SDK 51.0.0.2] ReferenceError: Error #1069: Property declaration not found on builtin.as$0.MethodClosure and there is no default value. HOT 5
- [AIR 50.2.4.4+] `NetStream` fails to play local files which name starting from number HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adobe-runtime-support.