Hi Davide,

If you are running on Linux you will not be able to do an Android packaging, as 
this works in AIR by Adobe bundling parts of the Google Android SDK in the AIR 
SDK for doing the packaging. As there is no Linux AIR SDK you will not be able 
to do this. I was working on some trick to make it work on Linux because Google 
provides Linux Android SDKs. The Java libs in the AIR SDK should be able to run 
on Linux too if the required Linux versions of some binaries are available in 
the right places, but reverse-engineering the requirements for this was a 
nightmare so I gave up on this (

Chris

 

Am 18.04.17, 10:10 schrieb "[email protected]" <[email protected]>:

    Hi Christofer,
    
    Christofer Dutz ha scritto:
    
    > Unfortunately you didn’t post the most interesting part … could you also 
please post
    > the “Caused by” parts of the stacktrace?
    
    there is not this part immediately following, but there is that at the end 
of the compilation process:
    
    Caused by: org.apache.maven.project.DependencyResolutionException: Could 
not resolve dependencies for project 
org.apache.flex.flexjs.framework:distribution:pom:0.8.0-SNAPSHOT: The following 
artifacts could not be resolved: com.adobe.air.runtime:air-runtime:zip:20.0, 
com.adobe.air.runtime:air:zip:android:20.0, com.adobe.air:templates:jar:20.0, 
com.adobe.air:misc:zip:20.0: Could not find artifact 
com.adobe.air.runtime:air-runtime:zip:20.0 in apache-release 
(https://repository.apache.org/content/repositories/releases)
        at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:212)
        at 
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
        ... 23 more
    Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The 
following artifacts could not be resolved: 
com.adobe.air.runtime:air-runtime:zip:20.0, 
com.adobe.air.runtime:air:zip:android:20.0, com.adobe.air:templates:jar:20.0, 
com.adobe.air:misc:zip:20.0: Could not find artifact 
com.adobe.air.runtime:air-runtime:zip:20.0 in apache-release 
(https://repository.apache.org/content/repositories/releases)
        at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
        at 
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
        ... 24 more
    Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The 
following artifacts could not be resolved: 
com.adobe.air.runtime:air-runtime:zip:20.0, 
com.adobe.air.runtime:air:zip:android:20.0, com.adobe.air:templates:jar:20.0, 
com.adobe.air:misc:zip:20.0: Could not find artifact 
com.adobe.air.runtime:air-runtime:zip:20.0 in apache-release 
(https://repository.apache.org/content/repositories/releases)
        at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
        at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
        at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
        ... 25 more
    Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not 
find artifact com.adobe.air.runtime:air-runtime:zip:20.0 in apache-release 
(https://repository.apache.org/content/repositories/releases)
        at 
org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
        at 
org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
        at 
org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
    [ERROR] 
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
    [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
    [ERROR] 
    [ERROR] After correcting the problems, you can resume the build with the 
command
    [ERROR]   mvn <goals> -rf :distribution
    
    
    Now I try to do what you have write in the second reply.
    
    Thanks
    Davide
    

Reply via email to