czwartek, 19 lutego 2015

> Ambiguous method overloading for method java.io.File#.
  Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
   [class java.lang.String]
   [class java.net.URI]

This error happend when you not set AIR_HOME and FLEX_HOME properly.
https://helpx.adobe.com/air/kb/archived-air-sdk-version.html
http://labs.adobe.com/downloads/air.html
$FLEX_HOME/bin/adt -certificate -validityPeriod 25 -cn SelfSigned 1024-RSA sampleCert.pfx

    .starling.samples.android.DemoWeb
    0.0.1
    HelloWorld
    
        demo_web.swf
    
    mobileDevice
  
  
          <!--[CDATA[
              
                  
                  
                  
                  
                  
                  
                  
                      
                          
                        
                        
                          
                      
                  
              
          ]]>
      
    

/opt/adobe-air-sdk/bin/adt -package -target apk -storetype pkcs12 -keystore sampleCert.pfx DemoWeb.apk DemoWeb.xml demo_web.swf

Brak komentarzy:

Prześlij komentarz