Comments (9)
Looks like your JVM is running out of memory. Nothing to do with ANEs as far as I can see.
Is this in intellij? Have a look here: airsdk/Adobe-Runtime-Support#1426 (reply in thread)
from ane-androidsupport.
I'm getting the same fault - on a new Mac with 64GB RAM so no chance of running out of resources :)
It's the API version being out of date with the latest Android build tools? ANE has 1.4 but tools are looking for 1.5?
Any ideas?
from ane-androidsupport.
Here's my output:
java.io.IOException: Unable to run java: com.adobe.air.ADTException: gradle tool failed: w: Runtime JAR files in the classpath have the version 1.4, which is older than the API version 1.5. Consider using the runtime of version 1.5, or pass '-api-version 1.4' explicitly to restrict the available APIs to the runtime of version 1.4. You can also pass '-language-version 1.4' instead, which will restrict not only the APIs to the specified version, but also the language features
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-jdk7-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-common-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
w: Runtime JAR files in the classpath have the version 1.4, which is older than the API version 1.5. Consider using the runtime of version 1.5, or pass '-api-version 1.4' explicitly to restrict the available APIs to the runtime of version 1.4. You can also pass '-language-version 1.4' instead, which will restrict not only the APIs to the specified version, but also the language features
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-jdk7-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-common-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
w: /private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/libs/kotlin-stdlib-1.4.10.jar: Runtime JAR file has version 1.4 which is older than required for API version 1.5
/private/var/folders/5z/p1tz8lvd09nb0ywgkwy7y1w80000gn/T/d74129ea-dc6d-4199-9a27-3696dafc6d15/app/src/main/AndroidManifest.xml:139: Error: HmsMessageServiceOneSignal must extend android.app.Service [Instantiatable]
android:name="com.onesignal.HmsMessageServiceOneSignal"
from ane-androidsupport.
I'm getting the same fault - on a new Mac with 64GB RAM so no chance of running out of resources :)
It's the API version being out of date with the latest Android build tools? ANE has 1.4 but tools are looking for 1.5?
Any ideas?
try increasing compiler heap size
Error: HmsMessageServiceOneSignal must extend android.app.Service [Instantiatable] android:name="com.onesignal.HmsMessageServiceOneSignal"
remove the below block from manifest xml :
<service
android:name="com.onesignal.HmsMessageServiceOneSignal"
android:exported="false" >
<intent-filter>
<action android:name="com.huawei.push.action.MESSAGING_EVENT" />
</intent-filter>
</service>
<activity
android:name="com.onesignal.NotificationOpenedActivityHMS"
android:noHistory="true"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
from ane-androidsupport.
For more information please follow this link airsdk/Adobe-Runtime-Support#1426 (reply in thread)
Duplicate of #1426
from ane-androidsupport.
This doesn't fix the issue for me.
from ane-androidsupport.
@davecates Did you remove the Huawei service? HmsMessageServiceOneSignal
That looks like the error you are seeing in that log.
from ane-androidsupport.
Yes, sure did. Still getting the 1.4 vs 1.5 error though...will investigate further but thought I'd let you know.
from ane-androidsupport.
That one isn't an error, just a warning and is safe to ignore. There will be an error after the warnings.
from ane-androidsupport.
Related Issues (20)
- Error when publishing to device HOT 2
- Title window share HOT 1
- After latest update now seeing errors on iOS HOT 5
- Install Referrer not working HOT 3
- Java11 Requires Kotlin Update HOT 6
- AAB - Failed to parse XML resource file \androidx.appcompat\build\intermediates\packaged_res\release\values\values.xml HOT 2
- Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable HOT 1
- Compile error when using androidx.core-1.6.0 (1.3.2 works) HOT 6
- Error creating files: aapt tool HOT 1
- Latest androidx.core throwing build errors in value.xml HOT 1
- Crash and not start after update uo last release of Androix.core HOT 5
- Error Building With AndroidX Core Extension HOT 1
- Error building with new AndroidX core AND old version of Java HOT 1
- Error: 'io.reactivex' required by the application was not found for the target platform. HOT 11
- Execution failed for task ':app:bundleReleaseResources' HOT 28
- Error when apk/ipa Build & SWF Launch on VScode HOT 2
- Build/Run/Debug Error HOT 1
- com.google.code.gson.ane [META-INF/ANE/extension.xml]: error 102: Invalid namespace http://ns.adobe.com/air/extension/50.2 HOT 26
- ANE dependencies HOT 1
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 ane-androidsupport.